Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 97529

URL rewrite rule syntax

$
0
0

This might be an easy one for someone, if not don't worry.

 

I have a URL rewrite that rewrites:

 

www.mysite.com/myfolder/index.php?myfield

 

as

 

www.mysite.com/myfolder/myfield/

 

Which looks like:

 

Options +FollowSymLinks

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^(.*)/ index.php?GSG_URL=$1

 

However, I now need it to rewrite:

 

www.mysite.com/myfolder/index.php?myfield

 

as

 

www.mysite.com/myfield/

 

But can't get anything I've tried to work.


Viewing all articles
Browse latest Browse all 97529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>