View Single Post
Old 04-27-2018, 08:25 PM  
Mr Pheer
So Fucking unBanned
 
Mr Pheer's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Las Vegas
Posts: 21,699
Quote:
Originally Posted by Cyber Fucker View Post
Yup, could be, cause the url redirected to also contains the "bozeman" keyword.

So, you can add some condition before to ignore the url you are redirecting to for example:


Code:
<IfModule mod_rewrite.c>
RewriteEngine  on
RewriteCond %{REQUEST_URI} !^.*(\/montana\/bozeman\/index.php)$
RewriteCond %{REQUEST_URI} ^.*(bozeman).*$
RewriteRule ^ /montana/bozeman/index.php [L,R=302,NE]
</IfModule>
Thanks, I will try this out and let you know if it works. Luckily I got distracted earlier and havent deleted it yet
__________________
WebIgniter AI
Multitime 7-figure producer and 29 year Niche Industry Veteran
Mr Pheer is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote