Elxis CMS Forum

Support => General => Topic started by: xmanhattan on January 08, 2010, 11:28:09

Title: rewrite moving Elxis from subdirectory to parent directory
Post by: xmanhattan on January 08, 2010, 11:28:09
Hello all,

I will be upgrading a site from 2008.0 to the latest Elxis and will be moving it to the parent directory soon.

To make the move search engine friendlier, I assume that the following rewrite will help.

Code: [Select]
RewriteRule ^mysite/(.*)$ /$1 [R=301,NC,L]

If anyone sees a problem or conflict with this code, please advise.

Title: Re: rewrite moving Elxis from subdirectory to parent directory
Post by: datahell on January 08, 2010, 18:07:04
I think it is OK. Make this line your first rule in htaccess file.