Redirect Not Working After Giving WordPress Its Own Directory
-
Hello,
I followed the instructions on https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install as to how to use a preexisting subdirectory install of WordPress that will display the pages in the root. It all worked fine except for the fact that the old homepage and the categories will not redirect to the proper page.
The former homepage of my blog was at
https://www.vagabondjourney.com/travelogue/
And it is suppose to redirect to https://www.vagabondjourney.com, but doesn’t.
I tried putting a standard 301 redirect (Redirect 301 /travelogue/ https://www.vagabondjourney.com) for this into the htaccess file, and, while it did redirect the page properly, when I tried to log into my admin panel (which is in the directory — /travelogue/wp-admin) I received a DNS error.
Does anyone know how to fix this?
Also, the categories will not redirect either.
Thanks.
- The topic ‘Redirect Not Working After Giving WordPress Its Own Directory’ is closed to new replies.