Support » Fixing WordPress » I moved it. I broke it.

  • crap. I moved a wp site to a new server, followed all the instructions in the codex and after a few attempts, every thing seemed to go fine. Home page comes up, can add posts… But! If you click on any of the posts or the linked pages, you get ‘file not found’.

    like, I clicked on the link to the images page and get this:

    Not Found
    The requested URL /images/ was not found on this server.

    What to do? I’m sure this is in here already but I couldn’t figure out how to search for it.

    Please help!

Viewing 15 replies - 1 through 15 (of 23 total)
  • Did you check to make sure you didn’t have hard-coded links which needed to be changed?

    Thanks vkaryl. I think I’m straight with that. the page links are generated via wp_list_pages and the posts, well, they’re posts I just added as tests so I know they’re dynamic. They do come up on the front page but as soon you click the heading, you get a Not Found. For instance, I have the home page limiting to one post. then on the sidebar is a get_posts to list recent posts. Clicking one of those also leads to a Not Found.

    I feel like I’ve missed a directory structure setting somewhere but I checked through all the options in the admin panel and set everything that seemed relevant. Could it be something on the new server itself I need to set?

    ugh.

    Redone permalinks ?

    Beat me podz!

    Didn’t get a “permission denied” error, but double-check your permissions anyway….

    Thanks podz. I’m not sure what I need to redo. I checked it in the admin panel. I’m using /%year%/%monthnum%/%day%/%postname%/ and in the examples it shows, the url is correct. Is there something else to change somewhere?

    I was just reading http://codex.wordpress.org/Using_Permalinks#Editing_Rewrite_Rules_.28.htaccess.29 at the codex. Should I try deleting my .htaccess file?

    I’m using 1.5 so appearantly wp will just generate a new one for me.

    maybe? please pardon my handholdingish request.

    don’t delete it – rename it to htaccess.txt just in case you need it back

    thanks again but it didn’t work.

    When I click a link and get:
    Not Found
    The requested URL /2005/08/19/saturday-20th-august/ was not found on this server.

    should the entire url(http…) be in there?

    fark, I dunno. sad.

    Yes – link to your site ?

    Your permalink structure – is it just %post% ?

    If so, make it longer ? Copy the default.

    thanks podz. I’m using:
    /%year%/%monthnum%/%day%/%postname%/

    Has this server got mod_rewrite ?
    Wierd ….

    I just browsed my db via phpmyadmin and under wp_posts the GUID is coming up as http://www.purelymancity.com/?page_id=2

    the ‘2’ is obviously just from the page I copied. a different page is coming up as http://www.purelymancity.com/images/historical/ that’s for the ‘historical’ page, created as a child page of the ‘images’ page.

    I dunno if that info is useful at all but it I thought I’d put it up here in case that offers some clue.

    if seeing it actually working will help, here’s the testing server URL I built it on:
    http://purelyfootball.moonbootdesign.com

    thanks.

    It’s got to be rewrite rules…..
    try this:

    Permalinks – empty the structure box, click Update
    Delete the .htaccess
    Open Notepad, press space once, save as htaccess.txt
    Upload
    Change it’s name to .htaccess
    CHMOD (change file permissions) it to 666
    Go back to structure and put back in what you had, click Update
    Go to blog
    Press ctrl+f5
    then click a post title.

    Do this carefully – don’t skip any part – and let us know what happens

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘I moved it. I broke it.’ is closed to new replies.