• I have installed WordPress on my localhost, and after changing the permalinks to post name, all the pages, of post, when tried to be viewed through dashboard, or after viewing and subsequent clicking on the page links, I am getting,

    “Not Found

    The requested URL /websoft/hello-world/ was not found on this server.

    Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80″

    as the error message

Viewing 2 replies - 1 through 2 (of 2 total)
  • InterServer

    (@interservernet-web-hosting)

    Sounds like and issue with your WordPress .htaccess configuration. Please rename current .htaccess to .htaccess.bak and create a new .htaccess file with the following contents.

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

    You can also refer the following WordPress documentation to get more information.

    https://codex.www.ads-software.com/htaccess

    Are you using Wamp server? If yes than you should do following

    Run wamp server > click on green wamp icon near clock > apache > apache modules > scroll to ‘rewrite_mod’ and click it so that it is checked. Restart wamp server and its done.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘404 error’ is closed to new replies.