INI file help

Topics: User Forum
Jul 24, 2008 at 8:35 PM
I am trying to rewrite the following URL, can someone help?

 

Rewrite this:  http://www.coastalgolfaway.com/packages.asp?season=current

To this:   

http://www.coastalgolfaway.com/myrtle-beach-golf-packages/

Thanks in advance

Coordinator
Jul 28, 2008 at 6:25 PM

I think you want the opposite.

I think you want someone to type in (or click on) this link in their browser:  http://www.coastalgolfaway.com/myrtle-beach-golf-packages/

and then you want, on the server side, to execute the page referenced by this URL:    http://www.coastalgolfaway.com/packages.asp?season=current 

Is that right? 

In that case, a rule like this works:

RewriteRule ^/myrtle-beach-golf-packages/$  /packages.asp?season=current   [L]