.htacess Redirect Suggestion

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
icesolid
Forum Regular
Posts: 502
Joined: Mon May 06, 2002 9:36 pm
Location: Buffalo, NY

.htacess Redirect Suggestion

Post by icesolid »

Not sure if this is the right forum, I apologize in advance if it is incorrect.

I would like it if I can provide a link like mysite.com/hey to someone and somehow use .htaccess to redirect that request to mysite.com/hey.php

Is this possible?
capripio
Forum Newbie
Posts: 2
Joined: Tue Feb 21, 2012 2:40 pm

Re: .htacess Redirect Suggestion

Post by capripio »

try this one out "RedirectMatch 301 /hey(.*) /hey.php/$1"
icesolid
Forum Regular
Posts: 502
Joined: Mon May 06, 2002 9:36 pm
Location: Buffalo, NY

Re: .htacess Redirect Suggestion

Post by icesolid »

Tried, does not work?

I am using GoDaddy as my host, not sure if that matters.
Post Reply