Support » Fixing WordPress » Moved blog, broken pages

  • Resolved jonhebert

    (@jonhebert)


    I’m hoping someone can help me out. I moved the blog from a directory called “blog” to the root directory, then changed the path in options, and now my page links are broken. The homepage works fine.

    Right now,to make all of the pages show, I’ve moved it back to how it was, so i don’t have anything to show anyone.

    Is there a setting in the database that I need to adjust? Or is it the permalinks?

    Thanks!
    Jon

Viewing 15 replies - 1 through 15 (of 17 total)
  • Permalinks could be the issue, if you did NOT reset them after the move. That’s, of course, when using permalinks other than the default setting.

    Another possible pronblem is – you did something wrong during the move.
    Moving_WordPress

    To make WordPress available at http://sample.com just change in Settings->General, the Blog address (URL) to http://sample.com and put this index.php file in your web-root folder (it is the same folder that contains the blog folder)

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./blog/wp-blog-header.php');
    ?>

    Then update your permalinks in Settings->Permalinks.

    Thread Starter jonhebert

    (@jonhebert)

    Thanks guys. I did everything as instructed. One issue which I suspect is that it is hosted on Yahoo. I know Yahoo does not allow access (or even have??) .htaccess on it’s servers. I talked to their tech support before the move and they said they had mixed results when trying to do this on their servers.

    Maybe someone with experience on Yahoo can offer some insight?

    I’ll try to do the instructions above again just to double check myself.

    Thanks again

    I’ve used the method described above a number of times at Yahoo.

    While I’m at it I’ll point you to User:MichaelH/Installation_Notes/Yahoo even though it doesn’t related to the current topic.

    Thread Starter jonhebert

    (@jonhebert)

    Ok, I followed the instructions, and this is what I see now:

    http://conservationpros.com/

    The homepage shows up, but with no styling, and the links to the other pages are broken.

    Thanks again for looking, hopefully someone will have some insight. Thanks MichaelH!

    Thread Starter jonhebert

    (@jonhebert)

    what if i just put it all in the root directory? I don’t mind the files cluttering everything up… just want it to work!

    Thread Starter jonhebert

    (@jonhebert)

    Ok, i moved it all to the root. The homepage styles are showing up, but the page links are broken. The link again is at:

    http://conservationpros.com/

    Does anyone have any ideas?

    Thread Starter jonhebert

    (@jonhebert)

    I even made a new page, Test Page in the navigation, and it does not show up either, i get a not found error.

    Is there simply a database setting i should switch? Seems like there should be a super easy fix for this. thanks

    Thread Starter jonhebert

    (@jonhebert)

    Well, I just tried changing my permalinks to default instead of date and number based, thinking that would fix it, and now i have the dreaded white homepage, nothing at all!

    I changed the permalinks back to date and number, clicked update, still a blank page.

    Thread Starter jonhebert

    (@jonhebert)

    The admin area is still fully accessible, fyi.

    Switch to the WordPress Default Theme.

    If that doesn’t solve, if you have a .htaccess file, can you rename your .htaccess to htaccess.hold and see if that solves.

    Thread Starter jonhebert

    (@jonhebert)

    Thanks Michael. I tried switching the theme with no luck. After an internet search, i found that yahoo! web hosting doesn’t support htaccess or mod_rewrite for that matter. This might be a yahoo specific error??

    Oh sorry, forgot that.

    Leave your email and I’ll email you for login information to your yahoo account to see if I can sort it out.

    I’ll delete your email after I see it.

    Thread Starter jonhebert

    (@jonhebert)

    It’s Yahoo as far as i’m concerned. This link explains it clearly, hopefully others with this problem will find comfort knowing Yahoo does not support .htaccess or moving your blog to the root.

    http://ewebscapes.com/wordpress-on-yahoo-my-experiences/

    Case closed as far as i’m concerned, i’m telling my client to switch hosts. Thanks for the help!

    I will state, in fairness, that I’ve installed WordPress (various versions) with the files in a folder such as wordpress, but allowed user to access WordPress with a url such as http://www.sample.com

    Good Luck.

    Marking this resolved.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Moved blog, broken pages’ is closed to new replies.