Redirect to new domain that serves new and different content
What I want to do:
- Redirect
old domain
tonew domain
- Redirect all urls of
old domain
tonew domain
's home page (Old and New site serves different contents)
What I've done:
- 301 redirect
old domain
tonew domain
by using
RewriteRule ^(.*)$ http://example.com$1 [R=permanent,L]
- changed site url and home address of the
old domain
tonew domain
Problems:
It only redirects the home address (
Old-Example.com
) but not the content of the old website.The 404 pages of
old website
are still reflectingold domain
Topic domain url-rewriting redirect Wordpress
Category Web