SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Member
    Join Date
    Jan 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    localhost WordPress problem

    Can i still react to this topic? I hope so...

    I am a recent user of WAMP and I installed Wordpress 3.5 on the localhost.
    When I visit the home page I created in Wordpress, everything works fine. But when I want to navigate to another page I created (by clicking it in the menu) I get the following message:

    Not Found

    The requested URL /wordpresstest1/even-voorstellen/ was not found on this server.

    Does anyone have a clue what I am doing wrong? Any help is much appreciated.

  2. #2
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    6,000
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)
    Hi pelgrimrat,

    Welcome to the forums.

    Where did you install WordPress on your hard drive?
    For example, I use xampp to test locally and mine is located at C:/xampp/htdocs/wordpress.

    Also, could you post the contents of the .htaccess file located in your WP root folder.

  3. #3
    SitePoint Member
    Join Date
    Jan 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello Pullo,

    Thanks for the quick reply!!

    The Worpress installation is located at
    C:\wamp\www\wordpresstest1

    Content of the .htaccess file:

    -----------------------------------------------------
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpresstest1/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpresstest1/index.php [L]
    </IfModule>

    # END WordPress
    ----------------------------------------------------

    Thanks for your time!

  4. #4
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    6,000
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)
    No problem!

    The .htaccess file seems to be ok.
    Can you access your WP dashboard? (something like http://localhost/wordpresstest1/wp-admin/ for you).
    If so, go to "Settings" -> "General"
    What do you see listed under "WordPress Address (URL)" and "Site Address (URL)"?

  5. #5
    SitePoint Member
    Join Date
    Jan 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, I can access the dashboard. I can also normally view the home page I created. The problem starts when I try to view the other pages.

    WordPress Address (URL): http://localhost/wordpresstest1
    Site Address (URL): http://localhost/wordpresstest1 (the same)

  6. #6
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    6,000
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)
    Weird. That's all as it should be.

    If you go to "Settings" -> "Permalinks" what is your permalink structure?

    Try reverting it to "default" and see if that makes a difference.

    If it doesn't can you please post your new error message.

    It should now be different to

    Code:
    Not Found
    The requested URL /wordpresstest1/even-voorstellen/ was not found on this server.

  7. #7
    SitePoint Member
    Join Date
    Jan 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That did the trick!!!
    I had tried setting the permalinks to 'custom', bit it automatically changed back to 'post name'.
    Now I set it to 'default' and I can view the other pages as well!!

    Thank you so much for helping me so quickly! Now I can continue with the site!

  8. #8
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    6,000
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)
    You're welcome.
    Thanks for taking the time to follow up


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •