Forums

Making pretty permalinks work in WAMP (3 posts)

  1. movingahead
    Member
    Posted 1 year ago #

    I am not able to switch to pretty permalinks in WAMP. Changing to any form other than default gives 404 error.
    I have switched on the rewrite_module in Apache. I googled the problem and found that following changes should be made to httpd.conf file. My httpd.conf file stands as

    <Directory />
        Options Indexes FollowSymLinks
        AllowOverride All
        Order deny,allow
        Deny from all
    </Directory>

    I also checked that the .htaccess file is getting created. It reads as

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /vit%20web/events/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /vit%20web/events/index.php [L]
    </IfModule>
    
    # END WordPress
  2. nabler
    Member
    Posted 1 year ago #

    what the hell is this dude???

  3. elbenja
    Member
    Posted 1 year ago #

    got the same problem, this help me
    http://sparun.in/installing-wordpress-locally-in-windows-using-wamp-server/

    specifically this :

    18. Type “mod_rewrite” in the find what box and click “Find”. It will find the word in that file and highlight it for you.

    19. Just remove the “#” symbol present at the start of that mod_rewrite line. (This is to “switch on” the mod_rewrite rule which will then only allow you to have pretty permalinks in wordpress)

Topic Closed

This topic has been closed to new replies.

About this Topic