Relative Content

Tag Archive for .htaccesshttp-redirectmod-rewriteurl-rewriting

How to redirect in this specific pattern in .htaccess?

I need to use .htaccess to redirect mydomain.net/g/0/1/ to /glink.html?LinkId=/0/1/ and mydomain.net/a/4/ to /glink.html?LinkId=/g/a/4/… etc. Only when the path starts with /g/? How do I do this in the .htaccess file?