Trying to redirect to another site with .htacess – not working
-
The site https://www.dorothyendresinsurance.com has changed to a non-wp site https://www.endresinsuranceagency.com. So I set up an .htaccess file in the root of https://www.dorothyendresinsurance.com to 301 redirect visitors to the associated pages on the new site.
It works fine for all sub-pages, such as https://www.dorothyendresinsurance.com/about/
But for the homepage it does not redirect, even though I have this in my .htaccess file at the end:
redirect 301 /index.php https://www.endresinsuranceagency.com
redirect 301 / https://www.endresinsuranceagency.comNaturally I really fubar’d the site by moving all the non-.htaccess files into a backup folder, leaving only the .htaccess in the root. It did not help, and the hosting for the old site will not let me move it back. So the homepage no longer shows up. I may be able to solve this.
But the main question is, how can I 301 redirect the homepage to the new homepage?
Thanks for the assistance!
The page I need help with: [log in to see the link]
- The topic ‘Trying to redirect to another site with .htacess – not working’ is closed to new replies.