Change cart url

Open to all! Ask other shopowners for help.
Post Reply
Nigel
Contributor
Posts: 114
Joined: Mon Jan 11, 2021 1:39 am
Phoenix Version:
Has thanked: 29 times
Been thanked: 8 times

Change cart url

Post by Nigel »

Change cart url
If I wanted to change my cart from "https://mydomain/currentshopdir/ to "https://mydomain/differenrtshopdir/", where should I look to change it within the files / db ?

Thanks.


Join The Code Co-op to get access to your library in the Code Co-op Forum
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Change cart url

Post by ecartz »

You either have to move the files themselves or use something like mod_rewrite to make it look like you moved them. And either way, you have to change the configure.php files to reflect the change.
Nigel
Contributor
Posts: 114
Joined: Mon Jan 11, 2021 1:39 am
Phoenix Version:
Has thanked: 29 times
Been thanked: 8 times

Re: Change cart url

Post by Nigel »

ecartz wrote: Sun Aug 08, 2021 10:54 pm You either have to move the files themselves or use something like mod_rewrite to make it look like you moved them. And either way, you have to change the configure.php files to reflect the change.
I can rename the directory and all the files would remain in situ. If changing the two includes/configure.php files is all thats required, it should be fine.

Thanks and thanks for the quick response.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply