
Feature request - Investigate possible method to move a site from subfolder to root or other folder
Reported by dleffler | March 10th, 2012 @ 04:27 PM
Though Exp will easily run in any folder and can be moved around with a simple update to the overrides.php file...much of the content will still be looking in the old location.
This may NOT be an easy thing to implement since the links are hard-coded inside the body text and the directory of expFiles.
Comments and changes to this ticket
-
-
-
-
-
dleffler June 15th, 2016 @ 12:46 PM
Easiest solution is to perform the following to your installation
- uncomment/edit the following line in your main .htaccess file
# RewriteBase /subfolder-name
- or you could probably accomplish it using one of these
.htaccess rules, but I'm not an expert on that. Either/all should
work, but may be dependent on your web host provider's specific
server setup. Place it at the top of the existing .htaccess file.
Redirect 301 /testfolder http://yourdomain.org/
RedirectMatch 301 ^/testfolder/$ http://yourdomain.org/
RewriteRule ^testfolder/(.*)$ /$1 [R=301,NC,L]
- uncomment/edit the following line in your main .htaccess file
-
dleffler October 23rd, 2018 @ 12:10 PM
- State changed from open to knownissue
- Assigned user set to expNinja
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS