Wednesday, April 3, 2013

Checking mod_rewrite
Create a .htaccess file with the following code,

# vi .htaccess

RewriteEngine on
RewriteRule testpage\.html Google [R]

Once the .htaccess file has been updated, enter the following into your browser:

http://www.yoursite.com/testpage.html (replace yoursite.com with your domain name)

No comments:

Post a Comment