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