View Single Post
  #4 (permalink)  
Old 01-15-2008, 09:56 AM
wige's Avatar
wige wige is offline
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,717
wige RepRank 4wige RepRank 4wige RepRank 4wige RepRank 4
Default Re: .htaccess Help!!

Not explicitly. It would eliminate the redirection to the index.php file (created by the three conditional statement) but not explicitly eliminate access to that URL. The full set of rules with a rule eliminating index.php, sending users to the / of all folders instead would be:

RewriteEngine on
RewriteCond %{HTTP_HOST} !^theticketlodge\.com
RewriteRule (.*) http://theticketlodge.com/$1 [R=301,L]
RewriteRule ^(.*)/index\.php http://theticketlodge.com/$1/ [R=301, L]
__________________
The best way to learn anything, is to question everything.
Interestingly Average Security Blog
Reply With Quote