• Resolved techcastoni

    (@techcastoni)


    Hi. I’m going to be running more than one WordPress installation from the same server and DB so I’ve tidied things up by allocating a folder and subdomain per installation.

    Problem is, the site that I’ve been running for a long time now has a lot of links on search engines which are now going to a dead-end page since the link is no longer http://www.mysitename.com but is subdomain.mysitename.com

    I’ve setup a redirect for those hitting the homepage, but this doesn’t appear to work for the rest of my pages.

    Is there an easy solution to this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • while thinking about your questions(s) mine is clarifying your wish to run one or more sites from one db.

    to keep it simple each site has its own database.

    you are saying you have more than one site projected on the dancefloor that will be sharing pretty much the same info?

    Thread Starter techcastoni

    (@techcastoni)

    I have one MySQL DB running three WordPress installations. As always WordPress made this easy. All I had to do was change the prefix in the config file.

    If you don’t change the permalink structure in the new location – then a simple one line rewrite rule in the root htaccess should redirect everything to the right post. I have done it more then once, moving around blogs, and it always worked, although I have to admit: I don’t know anything about the .htaccess rewrite rules but there are always people who can help you with it.

    Thread Starter techcastoni

    (@techcastoni)

    Resolved. Thanks moshu. I did a search around for .htaccess editing and found a redirect rule that you can add to the old directory so that it points everything to the new domain.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Moved WordPress domain – broken search engine links’ is closed to new replies.