• Resolved jklyn

    (@jklyn)


    Hello,
    I can’t view my other pages just home page is working. I’ve googled as much as I can but can’t get the solution so I’m describing my problem in details.

    I’ve installed wamp 2.5 on my D: and installed word-press on a folder called sample and my site address is https://localhost/sample
    https://localhost/sample leads to the home page and is working fine. I can view home page.
    https://localhost/sample/readme.html leads to a WordPress static page and shows WP version Version 4.5.3. It’s also fine.
    But When I go to my about us page it shows the correct url address https://localhost/sample/about-us/ but shows an error
    “Not Found
    The requested URL /sample/about-us/ was not found on this server.
    Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80″

    While viewing source code of my about us page, it shows:
    “<!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /sample/about-us/ was not found on this server.</p>
    <hr>
    <address>Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80</address>
    </body></html>”

    My .htaccess file contains:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /sample/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /sample/index.php [L]
    </IfModule>
    # END WordPress

Viewing 4 replies - 1 through 4 (of 4 total)
  • It sounds like you may need to enable mod_rewrite. With Wampserver you can usually just click on the green WampServer icon in the system tray, select Apache > Apache modules > then scroll down the module list until you come to “rewrite_module”, and place a check mark next to it. WampServer should probably restart automatically for you. That might be the first thing to check.

    Thread Starter jklyn

    (@jklyn)

    Thank You very very much Clayton James. I was waiting for this solution for a long time. You made my day…

    You’re welcome!

    nislamnur

    (@nislamnur)

    Thank you so @james. Very helpful for me ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I can't acces to the pages of wordpress localy on firefox’ is closed to new replies.