How To enable mod_rewrite on Xampp

Search For httpd.conf file and uncomment this line

#LoadModule rewrite_module modules/mod_rewrite.so

LoadModule rewrite_module modules/mod_rewrite.so

Restart your Server

create a .htaccess file on your server root

put this code

RewriteEngine On
RewriteBase /
RewriteRule ^contact-us$ index.php

About

me : yeay its me arun

Tagged with: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.