WordPress.org

Ready to get started?Download WordPress

Forums

where is the permalink on my localhost (9 posts)

  1. blogdropper
    Member
    Posted 2 years ago #

    Hi I'm getting an "Internal Server Error" on my local wordpress site.
    when I try to view any of my posts.
    the Permalink is:
    http://localhost/wordpress/2011/10/test-gallery/

    localhost maps to D:\xampp\htdocs\

    but I can't find the sub directory D:\xampp\htdocs\wordpress\2011

    Is this correct or should there be a 2011\10\test-gallery sub directory.
    Really appreciate any help in restoring my posts

    Thanks

    David

  2. This is correct. There is no "2011/10/etc..." folders. These are virtual.

    Do you get the same error if you turn off pretty permalinks?

    If not, did you make sure to turn on mod_rewrite?

  3. uday8486
    Member
    Posted 2 years ago #

    Check if your .htaccess work on your localhost.

  4. sergeylandar
    Member
    Posted 2 years ago #

    I have the same problem. On localhost when i changing Common settings on Permalink Settings i see:
    Not Found

    The requested URL /wordpresstests/sample-page/ was not found on this server.

    How i can fix it? Or how i can check that .htaccess is working?

    Thank you.

  5. Samuel B
    moderator
    Posted 2 years ago #

    did you make sure to turn on mod_rewrite?

  6. sergeylandar
    Member
    Posted 2 years ago #

    sorry, i don't know what mean mod_rewrite.
    i just start to use wp
    could you explain?

    thank you

  7. Samuel B
    moderator
    Posted 2 years ago #

    open the apache httpd.conf file
    look for #LoadModule rewrite_module modules/mod_rewrite.so
    remove hash tag and save

  8. sergeylandar
    Member
    Posted 2 years ago #

    C:\wamp\bin\apache\Apache2.2.17\conf << there i find httpd.conf
    is this correct way?

    i deleted full line:
    #LoadModule rewrite_module modules/mod_rewrite.so
    also i deleted just #
    but this is not help

  9. sergeylandar
    Member
    Posted 2 years ago #

    i deleted #
    than restart wamp server
    and all working now
    thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.