Redirect 301 of the old url

16 years 9 months ago #2122 by zoro
The below simple format (put in .htaccess) works but I do not know if there are any hidden disadvantages:

Redirect permanent /olddirectory www.domain.com/newdirectory

Please Log in or Create an account to join the conversation.

16 years 9 months ago #2123 by Saka

Sorry the last line in each case should have been as follows but still did not work:

RewriteRule ^business/$ www.abc.com/directory/ [R=301,L]

RewriteRule ^business/?(.*)$ www.abc.com/directory/$1 [R=301,L]


Put this code above the SEF Advance block, i.e. right after the lines 'RewriteEngine On' and 'RewriteBase /'.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch