Enable rewrite_module to use .htaccess

Your .htaccess code does not work in PHP server?

Foremost, make sure that there is no white-space before <?php and after ?>.

Still error?

1. Go to:

path\to\apache\conf\httpd.conf

2. Uncomment :

LoadModule rewrite_module modules/mod_rewrite.so

3. Restart Apache Server:

Ctrl+R > Type "services.msc" > Find and restart "Apache"

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s