Jump to content

Moving PS from root to subfolder


Recommended Posts

Hello everybody,

until now I've worked with PS installed in the root of mydomain.it

Now I've created a subfolder mydomain.it/shop on which I've pointed the third level domain http://shop.mydomain.it

I've copied PS from root to subfolder "shop", without changing variable PS_BASE_URI in file settings.inc.php ("/") and the shop is ok and clearly visible and usable from the point of view of the FO http://shop.mydomain.it.

When I access the BO (http://shop.mydomain.it/admin/login.php) I successfully enter the BO but, except for the BO tabs, any link is transformed into http://shop.mydomain.it/shop/admin instead of http://shop.mydomain.it/admin with the result that all pages give an error.

Anyone has an idea of where I'm wrong? (no .htaccess file exists)
Thanks a lot in advance!
Paolo

Link to comment
Share on other sites

subdomain is like a new domain, so when when you not change the PS_BASE_URI in the setting.inc.php it will not a big deal.

but your could also access subdomain like a folder. Like in your case.

have you try to change the PS_BASE_URI so it like /shop ??

or try use www redirect in your control panel, and check list the wildcard redirect option.

CMIIW.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...