Heelo all,
How do I use .htaccess?
to redirect a user from
/article
/index.php?get_action=article
Redirect /article http://www.spanishpropertymagazine.com/index.php?get_action=article
Heelo all,
How do I use .htaccess?
to redirect a user from
/article
/index.php?get_action=article
Redirect /article http://www.spanishpropertymagazine.com/index.php?get_action=article
I’m assuming you mean within the same domain, use mod_rewrite
Strict (only allow article):
RewriteEngine On
RewriteBase /
RewriteRule ^/?article$ /index.php?get_action=article [L]
Or Lax (allows whatever you put there):
RewriteEngine On
RewriteBase /
RewriteRule ^/?(.*)$ /index.php?get_action=$1 [L]