Help - Search - Members - Calendar
Full Version: Language redirect using htaccess
HTMLHelp Forums > Programming > Web Server Configuration
Hi all,

I've been reading some info about htaccess redirecting and I would like to check if I understand it correct.

I'm building a new site and I want to accomplish the following: -> ->

I have built the following:


Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.+)/(.+)\.(.+) $2\.$3\?Language=$1 [NC]

would this work? I'm not sure about the use of '$' the variables..
Also I've seen one example but that one used a lot of php code and htaccess code.. so that made me doubt if the above is possible.. just that simple, or that I am missing something.

thanks for the responses!

Darin McGrew
That looks right to me, but I haven't actually tried it.
well that is something smile.gif

I can't try it at the moment else I would have done that.. I sent it to main developer who does all the php etc .. he will put it online .. I jsut have to wait for that and see if it works

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2015 Invision Power Services, Inc.