Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis 5.5 Calypso supports 2 factor authentication login with e-mail or SMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
rewrite moving Elxis from subdirectory to parent directory
« previous
next »
Print
Pages: [
1
]
Author
Topic: rewrite moving Elxis from subdirectory to parent directory (Read 3286 times)
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
rewrite moving Elxis from subdirectory to parent directory
«
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.
Logged
Bournias.net
datahell
Elxis Team
Hero Member
Posts: 10356
Re: rewrite moving Elxis from subdirectory to parent directory
«
Reply #1 on:
January 08, 2010, 18:07:04 »
I think it is OK. Make this line your first rule in htaccess file.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
rewrite moving Elxis from subdirectory to parent directory