View Single Post
Old 04-27-2018, 08:25 PM  
Mr Pheer
So Fucking Banned
 
Industry Role:
Join Date: Dec 2002
Posts: 21,582
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
Mr Pheer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote