Move Website from Subfolder to Domain Root
-
Hello,
If wp is installed in a subdirectory, then I’m forced to use the subdirectory in redirection rules, even if on WP options-> general I set website and wordpress urls to be in the subdirectory.If i move the website from subdirectory (development version) to domain root (production version), then I have to remove base subdirectory from all urls.
Would not be easier if the Plugin could guess the base path from wp options instead of relying on domain url?
Example:
website url ->https://www.mydomain.com/wordpress/
page to redirect from ->https://www.mydomain.com/wordpress/mypage/
page to redirect to ->https://www.mydomain.com/wordpress/otherpage/
Redirection paths to make it work:
“from” path ->/wordpress/mypage/
“to” path ->/wordpress/otherpage/
What i would like instead:
“from” path ->/mypage/
“to” path ->/otherpage/
But if i’m wrong for some reasons I do not get, how to replace redirections base before going production?
- The topic ‘Move Website from Subfolder to Domain Root’ is closed to new replies.