htaccess Elite

.htaccess tutorial


All times are UTC [ DST ]





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Rewrite Based on query string
PostPosted: 31 Jul 2008 20:20 
Offline

Joined: 31 Jul 2008 20:11
Posts: 1
Hi, and thanks for any help in advance.

I'm looking to set up redirection to a subdirectory, but not if there is a certain parameter passed in, resource

What i want is for a url that doesn't contain either ?resource or &resource to redirect to one single file, say index.php and for all others to redirect to the same location but in the resources dir, for example http://example.com/site/styles/screen.css?resource to redirect to http://example.com/site/resources/style ... s?resource

Any help would be greatly appreciated...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB