Welcome Guest, Not a member yet? Register   Sign In
.htaccess multiple redirects
#2

[eluser]fesweb[/eluser]
You need to put those redirects BEFORE your rewrite stuff.

Something like:
Code:
RedirectMatch ^/articles(.*) http://www.programmersvoice.com/tag/articles$1
RedirectMatch ^/tutorials(.*) http://www.programmersvoice.com/tag/tutorials$1

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>


Messages In This Thread
.htaccess multiple redirects - by El Forum - 02-24-2009, 10:14 AM
.htaccess multiple redirects - by El Forum - 02-24-2009, 11:12 AM
.htaccess multiple redirects - by El Forum - 02-24-2009, 12:37 PM
.htaccess multiple redirects - by El Forum - 02-24-2009, 12:41 PM
.htaccess multiple redirects - by El Forum - 02-24-2009, 12:43 PM
.htaccess multiple redirects - by El Forum - 02-24-2009, 12:44 PM
.htaccess multiple redirects - by El Forum - 02-24-2009, 01:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB