Forum Moderators: coopster

Message Too Old, No Replies

Very basic .htaccess help

         

impact

9:40 am on Aug 28, 2010 (gmt 0)

10+ Year Member



Hello,

Can some one help me to make this .htaccess?

calendar.domain.com/<username>/<event>

Should be redirected to

calendar.domain.com/account/calendar?username=<username>&event=<event>

In addition to this the following <username> must be an exception such as ACCOUNT & CALENDER. So that in my domain, I can have the following as the directory structure.

Any help will be appreciated.
Thank you

Anyango

8:24 pm on Aug 28, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try in Apache forum, will take them only a few minutes to reply on this

g1smd

9:11 pm on Aug 28, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You don't want a redirect, you probably need a rewrite.

There's several thousand posts with example code along those lines, several in the last 24 hours already.