Forum Moderators: phranque
[edited by: g1smd at 4:40 pm (utc) on Sep 28, 2011]
[edited by: g1smd at 5:22 pm (utc) on Sep 28, 2011]
rewrite (that's rewrite not redirect) those requests to a special PHP script
[edited by: g1smd at 5:02 pm (utc) on Sep 28, 2011]
[edited by: g1smd at 5:52 pm (utc) on Sep 28, 2011]
Options +FollowSymlinks
RewriteEngine on
# Sends all traffic that contains < to home page
RewriteRule ^[\<]$ /fmg [L] http://www.website.com/fmg/title-of-a-node_d<<city>>
example.com/< /fmg ? If that is the name of your redirecting script file it should have .php on the end. [edited by: g1smd at 6:06 pm (utc) on Sep 28, 2011]
no, that's the sub directory the site is in for now. When I move it to a live site, it won't be in FMG.
RewriteRule ^(.*)_(.*)$ /fmg/redirect.php [L]
RewriteRule _ /fmg/redirect.php [L]