A
A
Andy Vo2015-08-17 16:19:58
PHP
Andy Vo, 2015-08-17 16:19:58

How to make a redirect at 404 with saving the path and parameters?

The bottom line is that using the .htaccess file, you need to redirect to a subdomain while saving the path and parameters.
For example:
site.com/medels?q=2
with 404 should redirect to
dom.site.com/models?q=2
How can this be done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Ken Jee, 2015-08-20
@Machez

1) A 404 redirect is not aesthetically pleasing and search engines don't like it.
2) The answer to your question is here stackoverflow.com/questions/19962787/rewrite-url-a...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question