djcaseanova Posted March 24, 2016 Share Posted March 24, 2016 So, when my store was installed some years ago it was a different time.... now I am wondering if I could EASILY move my store from it's /store/ directory to the root directory without issue?? Is there a write up on this somewhere? I couldn't find one if there is. If it requires database changes and all that reconfiguring it is not worth it in my opinion. I will need to just create some sort of redirect to point to the /store/ directory, but I'd really rather avoid that. Any help is appreciated. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted March 24, 2016 Share Posted March 24, 2016 I do this all the time. You can literally just move it. Then; 1. In the SSL tab of store settings make sure the paths are right (even if SSL is off) 2. Edit the .htaccess file to make sure the paths are correct for 404 and RewriteBase 3. Clear the cache 4. Optionally add some rewrite code to get bookmarks updated like below with permanent 301 header. RedirectMatch 301 /store/(.*) /$1 Quote Link to comment Share on other sites More sharing options...
djcaseanova Posted June 22, 2016 Author Share Posted June 22, 2016 It's been a while, but I just moved my store to the root directory finally. I opened up the .htaccess but didn't see any kind of directory structure in there to change?? Is this modification required? Also, where does the permanent 301 header go? Thanks!! Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 22, 2016 Share Posted June 22, 2016 In CubeCart's .htaccess file, you may find a directive named RewriteBase with the name of the subfolder. If that directive is still there, please remove it. Quote Link to comment Share on other sites More sharing options...
djcaseanova Posted June 22, 2016 Author Share Posted June 22, 2016 I do not see the subfolder in the .htaccess file. This is why I was concerned and I am also getting an error now when trying to use the backup utility in the admin. Backup is failing and it's sending me to a 404 page - page not found that is essentially in my store front, it's not bouncing back to the admin page at all. Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 22, 2016 Share Posted June 22, 2016 The 404 page that is essentially your storefront is from the 404 directive in the .htaccess file. We would like to see the entries in the web access log. The web access log should be available in your hosting account control panel. Quote Link to comment Share on other sites More sharing options...
djcaseanova Posted June 22, 2016 Author Share Posted June 22, 2016 it appears I dont have access to the logs. I am using a shared server on dreamhost, my domain's log folder is empty. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.