WordPress.org

Ready to get started?Download WordPress

Forums

pages showing 404 error on localhost (8 posts)

  1. schmittyapolis
    Member
    Posted 3 months ago #

    I an running a mac laptop running OS 10.7.5. I have MySQL running on an Apache localhost server. I am adding new pages with content but they result in a 404 error when I click on the link on the local side.

    Thoughts anyone?

  2. Mark (podz)
    Support Maven
    Posted 3 months ago #

    Have you set your permalinks?

  3. schmittyapolis
    Member
    Posted 3 months ago #

    yes, I have them set to "Post-name"

    I should add that I am using the "Catch-Evolution" theme.

  4. Mark (podz)
    Support Maven
    Posted 3 months ago #

    In the blog admin, go to Pages > All Pages
    Hover the 'View' link for a page and note that URL
    Now look at the blog itself and hover a link to the same page, note that URL.
    Are they different?

    Are you able to see Posts on their own permalink?

  5. schmittyapolis
    Member
    Posted 3 months ago #

    The link for pages on the blog itself does not change to the URL that shows up in admim/pages/view

    I am also not able to view the pages using their permalink.

  6. fazzyA
    Member
    Posted 3 months ago #

    I moved my live site to loacalhost on xampp.
    Ive changed url and home link in table wp_options.
    http://localhost/wordpress/coupon/my-coupon-name/
    this is the correct url for coupon page BUT
    the 404 error is shown, object not found.
    Why the page is not shown.

  7. Mark (podz)
    Support Maven
    Posted 3 months ago #

    fazzyA - check your xampp settings - do you need a port number in the url?

    schmittyapolis - if you use a default WP theme (Twenty-*) does that change things? And what is the 404'd link? Are you able to use MAMP? I ask only because I use that and know the settings and there is a possibility something in your setup could be doing something odd.

  8. fazzyA
    Member
    Posted 3 months ago #

    Im using clipper theme wich is coupon theme.
    This is my live site coupon url
    http://xyz.com/coupon/makerbot-industries-coupon/
    and on localhost its shown like this
    http://localhost/wordpress/coupon/makerbot-industries-coupon/
    But error is shown
    The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.ERROR 404

Reply

You must log in to post.

About this Topic