Jump to content

Prestashop autoredirect from webserver to localhost


Recommended Posts

Hi,

 

I have tried to move a localhost installation (uniserver 7.5, usb) to a webserver.

I have created a db on the server, renamed the user name, db name, path to the host db, and set the db engine to MyiSAM as it is in the server db. It should be working, but I am redirected to localhost (back to my machine) when typing the URL. I have cleared the broser cahe, history.., Firefox 15)

 

I have created a subdomain, where i placed the installation in the root folder.

define('__PS_BASE_URI__', '/subdomain.domain.com/');

 

I have also tried with blanking it out...define('__PS_BASE_URI__', '//');

 

nothing happens.

 

Does anyone know what might be wrong?

 

Thank you. :rolleyes:

Link to comment
Share on other sites

Problem is that I cannot access the site. I now get a line sayinjg that the "link to database cannot be established". I have rewritten the url in the "PS_SHOP_DOMAIN" and "PS_SHOP_DOMAIN_SSL" rows in the "ps_configuration"

Haven't regenerated the htaccess file.

Can't access admin.

Link to comment
Share on other sites

×
×
  • Create New...