• Resolved paul448

    (@paul448)


    Hi

    I have recently uploaded a website to the live server from my local machine, however I forgot to change the permalinks structure to postname from the default option.

    When I change the permalinks to ‘postname’ and then visit the website i get a 404 error. If I change the permalinks structure back to the ‘default’ option the pages are displayed OK again.

    Can anybody help me out or point me in the right direction on how to solve the issue im having.

    Thanks for your help!

    Paul

Viewing 4 replies - 1 through 4 (of 4 total)
  • When you update the permalinks do you get the success message?
    Is the .htaccess file writable?

    Thread Starter paul448

    (@paul448)

    Hi Mark,
    Yes when I update the permalinks I get a success message.

    I get the message that my htaccess is not writable, is this the problem? I have tried to find the file but cant seem to find, do you know where it is usually saved?

    I get the message that my htaccess is not writable, is this the problem?

    Yep, that’s it.

    The .htaccess usually lives in the same directory as your wordpress index.php (site root)

    You can create the file with an ftp client.
    On your computer make a blank file using Notepad and call it htaccess.txt
    Upload that
    Using the ftp client rename it to .htaccess
    Right-click in the ftp client and ensure it can be written to
    and then update the permalinks again

    See if that works?

    Thread Starter paul448

    (@paul448)

    Thank you! That seems to have fixed it. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘All pages but the homepage throw 404 errors’ is closed to new replies.