jkility Posted July 19, 2016 Share Posted July 19, 2016 Hi, So I've moved our Prestashop hosting from https://rebootmewithhsct.co.uk/shop to fab-fudge.co.uk . They are both on the same server so I've not touched the database as it still points to the same place. I've moved files to the new directory and updated prestashop URL's and also cleared the cache. But for some reason it appears that fab-fudge.co.uk redirects to the old website homepage yet I can access the adminCP with no problem. Would there be any reason for this at all? Regards Link to comment Share on other sites More sharing options...
vekia Posted July 19, 2016 Share Posted July 19, 2016 hello try to remove .htaccess file from root dir of your prestashop installation backup it before you will remove it Link to comment Share on other sites More sharing options...
jkility Posted July 19, 2016 Author Share Posted July 19, 2016 hello try to remove .htaccess file from root dir of your prestashop installation backup it before you will remove it Hi, I've done that and also cleared cache again and it directs to https://rebootmewithhsct.co.uk/fab-fudge.co.uk which isnt very useful Link to comment Share on other sites More sharing options...
musicmaster Posted July 19, 2016 Share Posted July 19, 2016 You write that you have "updated prestashop URL's". What do you mean with that? Link to comment Share on other sites More sharing options...
jkility Posted July 19, 2016 Author Share Posted July 19, 2016 You write that you have "updated prestashop URL's". What do you mean with that? Admin CP > Preferences > SEO & URL's. Got the shop domain set to www.fab-fudge.co.uk Link to comment Share on other sites More sharing options...
rocky Posted July 20, 2016 Share Posted July 20, 2016 Check your .htaccess file to make sure the URL has changed there. Also, check the domains in the ps_shop_url table of your database using phpMyAdmin. Link to comment Share on other sites More sharing options...
musicmaster Posted July 20, 2016 Share Posted July 20, 2016 Can you look (with phpmyadmin) in your database table ps_shop_url and report what you see? Link to comment Share on other sites More sharing options...
jkility Posted July 20, 2016 Author Share Posted July 20, 2016 Check your .htaccess file to make sure the URL has changed there. Also, check the domains in the ps_shop_url table of your database using phpMyAdmin. Can you look (with phpmyadmin) in your database table ps_shop_url and report what you see? Hi both, I've checked ps_shop_url and thats coming back as www.fab-fudge.co.uk which is correct. I have a feeling it is down to my .htaccess which I've got my host looking into for me. Link to comment Share on other sites More sharing options...
shiggidydog Posted July 25, 2016 Share Posted July 25, 2016 (edited) Hi, I just had the same problem... not sure which host you're using, I'm currently using godaddy. In my case, I was moving my prestashop 1.5 installation from abc.com/shop to abc.com/oldshop/ keeping the same domain just changing the sub directory. I basically searched through all the forums and changed all the correct settings: 1) I changed the setting under ps_shop_url table 2) I changed the setting in ps_configuration table (had to scroll down quite a bit since it was like #200 something) 3) I changed the setting under settings.inc.php Even after all this, I kept getting an error with: "Warning: require(/home/content/16/9526416/html/shop/config/config.inc.php) [function.require]: failed to open stream: No such file or directory in /home/content/16/9526416/html/shop/index.php on line 58" As you can see it was still pointing at my original directory, even though everything had been changed. The solution for me was to go into my dashboard of godaddy (yours may be different since I'm still using their old version (not cpanel)) but i had to go under "system processes" and "end" the web service to have it restart. I assume it restarted Apache and caused it to reload the settings.inc.php file which then updated the value in memory. In short, if you're having an issue after already changing all the relevant values, don't forget to restart your web server (even if you're using a shared hosting, like I am) you still need to restart it. Hope this helps someone else since I didn't see the answer posted anywhere else. Edited July 25, 2016 by shiggidydog (see edit history) Link to comment Share on other sites More sharing options...
jkility Posted July 25, 2016 Author Share Posted July 25, 2016 (edited) Hi, Link if anyone requires it: http://www.softaculous.com/board/index.php?tid=9369&title=Addon_domain_redirecting_to_main_domain Edited July 25, 2016 by jkility (see edit history) Link to comment Share on other sites More sharing options...
Ain ul Haq Posted April 16 Share Posted April 16 Try installing a redirect module to https://rebootmewithhsct.co.uk/ domain use https://rebootmewithhsct.co.uk/shop in the source URL and fab-fudge.co.uk as a the destination URL. Module link:https://www.fmemodules.com/en/prestashop-modules/82-url-redirects.html You can also use>https://www.fmemodules.com/en/prestashop-modules/49-pretty-seo-friendly-urls.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now