WordPress.org

Ready to get started?Download WordPress

Forums

Root redirect (10 posts)

  1. Ian
    Member
    Posted 1 year ago #

    Rightly or wrongly, I built metalpress.co.uk in a sub folder (/wp/) so that the existing html site could remain live throughout the process. Of course I was then faced with the whole moving the site debacle on completion and effectively had to start again when I got it badly wrong at the first attempt and lost all access and, as it appeared, everything!
    For urgencies sake I have used a simple .htaccess redirect ("DirectoryIndex /wp/index.php") to the sub folder, which works for now but once into the site all the URL address strings display the mis-rooted directory.
    Is there any simple solution to this? Either moving the site out of the sub folder (terrified to try that again!) or affecting the page URLs should I stick with the redirect.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

  3. Ian
    Member
    Posted 1 year ago #

    Thanks esmi. I tried that but the redirect didn't work. The .htaccess file would disappear after a few seconds of upload and not have any effect.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Then contact your hosts. You seem to have a server-related issue.

  5. Ian
    Member
    Posted 1 year ago #

    Just have. They say they have limited htaccess capability as they don't run Apache (?!). Some work, some don't. They couldn't explain why the file disappeared though.

  6. Te Calleja
    Member
    Posted 1 year ago #

    What I did before was move everything to the root (say, from http://www.mydomain.com/wp/ to http://www.mydomain.com). Then I edited the phpmyadmin wp_options table -- I looked for all instances of http://www.mydomain.com/wp and changed it to http://www.mydomain.com.

  7. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    they don't run Apache (?!).

    So what are they running?

  8. Ian
    Member
    Posted 1 year ago #

    Zeus (?!)

  9. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Ugh :-( I hate Zeus with a vengeance! And I certainly wouldn't recommend it for a WP site. As it stands, your only real option will be to try another full site move. Make sure that you follow the instructions in Moving_WordPress and you should be fine.

  10. Ian
    Member
    Posted 1 year ago #

    OK thanks esmi. It's at least reassuring that it's nothing I'm doing wrong.

Topic Closed

This topic has been closed to new replies.

About this Topic