I have been asked twice now to show my own robot.txt and .htaccess file...
Just be sure to rename the files and the contents, and if it brakes your site bitch to your host and not me, and if I am your host then you did something wrong.
Please not all I do is take the default htaccess.txt and rename it to .htaccess and then take this line
RewriteEngine On
and replace with
RewriteEngine OnMy Robot.txt and .htaccess with Joomla 1.5.4
- Details
- Written by: Matthew Murphy
- Category: Tips and Tricks
- Hits: 43
RewriteBase /
Options +FollowSymLinks
ErrorDocument 404 http://www.joomlamafia.com
RewriteCond %{HTTP_HOST} ^joomlamafia\.com [NC]
RewriteRule ^(.*)$ http://www.joomlamafia.com/$1 [L,R=301]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.shtml\ HTTP/
RewriteRule ^index\.html$ http://www.joomlamafia.com/ [R=301,L]
