Problem with rewrite

phpBB3 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting forums and topic titles in their URLs.

Moderator: Moderators

Problem with rewrite

Postby Hexcode » Thu Mar 11, 2010 5:41 pm

Hey,
I have a problem with the rewrite rules, in a subfolder of my domain is an xml document.
Called hexcode_mods.xml, every time when i want to call it, the rss feed appears... is there a way to unset this?
Hexcode
 
Posts: 23
Joined: Sat Mar 06, 2010 11:28 am

Advertisement

Re: Problem with rewrite

Postby SeO » Thu Mar 11, 2010 7:01 pm

Normally, these should prevent such matter :
Code: Select all
# DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]


If for some reason they don't, you can try to add a specific rewriterule (I know it looks dumb, but should work) for this file :
Code: Select all
RewriteRule ^hexcode_mods\.xml$ hexcode_mods.xml [L,NC]

with proper paths and slashes and before the other phpBB rewriterules.
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Re: Problem with rewrite

Postby Hexcode » Thu Mar 11, 2010 8:09 pm

works fine after I added the folder ->
Code: Select all
RewriteRule ^etc/hexcode_mods\.xml$ etc/hexcode_mods.xml [L,NC]

Thanks
Hexcode
 
Posts: 23
Joined: Sat Mar 06, 2010 11:28 am


Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Google [Bot] and 2 guests