• Resolved Skeskali

    (@skeskali)


    This sounds a little convoluted, but hopefully I can make it make sense.

    Say I have a domain at https://mydomain.com. I have a WordPress 3.0 installation there. I’d like to move my WordPress install from mydomain.com to archives.mydomain.com, but I’d like to keep the mydomain.com root directory available so that I can install a different CMS on it.

    Most of the tutorials that I’ve seen focus on using .htaccess to redirect posts from mydomain.com to the new subdomain, but that’s not exactly what I want to do. If someone searches for a post in a search engine and mydomain.com/year/date/ comes up as the URL, I want them to be redirected to archives.mydomain.com/year/date as soon as they click on the link.

    The other CMS I’m installing probably won’t have the year/date permalink structure that I use in WordPress, but I don’t want to do a simple redirect in the control panel.

    Does this make sense? Is this even possible?

    Thanks!

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    It’s possible. Here’s how I’d do it:

    1. Change the two URLs in Settings/General to the new location.

    2. Move all of the WordPress files to the new directory.

    3. Re-save your permalink structure at Settings/Permalinks in your admin panel. If WordPress cannot automatically edit the .htaccess file, it will provide manual instructions after saving.

    4. Confirm the “Store uploads in this folder” setting at Settings/Media in your admin panel and re-save (even if nothing has changed).

Viewing 1 replies (of 1 total)
  • The topic ‘Moving WordPress from Root to Subdomain While Keeping Root Domain intact’ is closed to new replies.