Forums

WordPress not creating pages (10 posts)

  1. mymairs
    Member
    Posted 11 months ago #

    I have installed WordPress on my computer and am using the WAMP testing server.

    Everything seems to be working fine as I can see my site and have created a couple of posts for the front page.

    I am now learning to create pages however when I created a page it couldn't be found when I tried to view it. It has added the link to the navigation bar OK but when I click on it I get the error 404.

    Any ideas what could be wrong.

    Kind regards
    Margaret

  2. zoonini
    help me help you
    Posted 11 months ago #

    Try regenerating your permalinks.

  3. mymairs
    Member
    Posted 11 months ago #

    Hi,

    Thank you for your reply.

    Unfortunately I don't know how to do that. I am working on a tutorial I purchased, trying to learn to use WordPress with Dreamweaver. As we were setting up WordPress I was asked to change the permalinks to the Day and Name setting and then save it - which I have done.

    Although I have been using Dreamweaver before I am new to WordPress.

    Kind regards
    Margaret

  4. ulthi
    Member
    Posted 11 months ago #

    Im having the same problem and have tried to regenerate the permalinks.
    The pages are showing when I use one of the predefined settings for for permalinks but when I use "Custom Structure" and enter /%postname%/ I get a 404 on all pages

  5. mymairs
    Member
    Posted 11 months ago #

    Hi Ulthi,

    By regenerating permalinks - does this just mean pressing the save changes button at the bottom of the Permalinks setting again?

    If so then I have done this several times but it has made no difference so I haven't a clue what to do now.

    I also read in one post that you can try deleting the .htaccess file in your root folder then when you regenerate permalinks it creates a new one - tried this but although it has created a new .htaccess file the problem still exists.

    Run out of things to try next :-(

    Regards Margaret

  6. ulthi
    Member
    Posted 11 months ago #

    Hi Margaret
    I regenerate the permalinks by choosing another setting e.g. the "Day and Name" and press "save changes" Then the pages are showing, but when i choose the Custom struckture it fails.
    I dont know how to delete the .htaccess file but will try to figure that out

  7. mymairs
    Member
    Posted 11 months ago #

    Hi Ulthi,

    Yes I have changed it to Day and Name as that what it says to do in the tutorial I am using, (it was originally set at default) then I pressed save changes at the bottom but the pages aren't showing.

    The Sample Page does show before I change the permalinks however as soon as I change it it stops showing when I click it.

    I just went into C://wamp/www/wordpress and deleted it from there - hope that helps you (it didn't help me I'm afraid).

    Regards Margaret

  8. zoonini
    help me help you
    Posted 11 months ago #

    Try turning off pretty permalinks - go back to the defaults. If your pages work with the default permalinks but not pretty permalinks, you may have one of these issues:

    • You may not have mod_rewrite installed on your WAMP server, which is needed to create pretty permalinks.
    • Your .htaccess file may not exist or may not be being updated properly when you regenerate permalinks. Open your .htaccess file and double-check that the proper URL-rewriting block is there after turning pretty permalinks on. If it's not, add it manually and save the file. Be sure to edit your .htaccess in a plain-text edtior only and be careful not to add any blank lines by accident.

    More about permalinks: http://codex.wordpress.org/Using_Permalinks

  9. mymairs
    Member
    Posted 11 months ago #

    Hi Zoonini,

    Yes you were right the mod_rewrite was not installed.

    As I didn't know how to do this I Googled it (like I do most things) and found the link http://www.easymodrewrite.com/guide-before. I followed the instructions on there and have successfully enabled the mod-rewrite and it is now working fine.

    Thank you very much.

    Regards Margaret

  10. zoonini
    help me help you
    Posted 11 months ago #

    Excellent! Glad you got the problem sorted.

Reply

You must log in to post.

About this Topic