Jump to content
thirty bees forum

Recommended Posts

Posted

Hi!

Sometimes you take out victory a little early

I have cloned our shop, meaning comied all files and dumped the sql into a new created db all on a new domain

I have changed the shop url in the table ps_shop_url, but when I go to the new domain it directly redirect me to the old shop:

What have I missed to change??

Any help apreciated

Anders

Posted
  On 11/17/2020 at 2:54 PM, Havouza said:

.htaccess is gone but which cache should I delete?

Expand  

once you delete .htaccess you should re-create it. Have you done it?

I paste my steps (I toke it from PS forum and change it to use it in TB):

1. Copy all files via FTP
2. Duplicate database to other hoster
3. check the php settings at your new hoster!! (PS <= 1.6.1.3 is not yet PHP7 ready! so you wont see anything in these cases)
3. open Database and edit "tb_shop_url". Set the new path and domain for your new shop  (don't forget the last /)
4. edit config/settings.inc.php and set the new database access
5. delete the .htaccess file in your shops root folder
6. login to the admin backend and go to settings > seo & urls and save the path and domain properties to create a new .htaccess file (after creating the new .htaccess file you will be able to view/use the frontend of the shop, not earlier as it contains all necessary info it needs to translate the friendly urls of the shop frontend)

good luck!

Posted
  On 11/17/2020 at 2:59 PM, Wartin said:

once you delete .htaccess you should re-create it. Have you done it?

I paste my steps (I toke it from PS forum and change it to use it in TB):

1. Copy all files via FTP
2. Duplicate database to other hoster
3. check the php settings at your new hoster!! (PS <= 1.6.1.3 is not yet PHP7 ready! so you wont see anything in these cases)
3. open Database and edit "tb_shop_url". Set the new path and domain for your new shop  (don't forget the last /)
4. edit config/settings.inc.php and set the new database access
5. delete the .htaccess file in your shops root folder
6. login to the admin backend and go to settings > seo & urls and save the path and domain properties to create a new .htaccess file (after creating the new .htaccess file you will be able to view/use the frontend of the shop, not earlier as it contains all necessary info it needs to translate the friendly urls of the shop frontend)

good luck!

Expand  

all done to 5. 6 I cant do because I am directly redirected to the old shop

Posted

well I will start over. I have rolled back the system because for some reason I also got a 500 on the old frontpage so now I will start over

  On 11/17/2020 at 2:19 PM, piet said:

Delete the .htaccess file and cache

Expand  

 

Posted

Hi!
Well I started from beginning but no luck

One thing I wonder is whet owner and group should the files have in the new shop. Its on the same vps, under a new domain

Posted
  On 11/18/2020 at 5:46 PM, Havouza said:

One thing I wonder is whet owner and group should the files have in the new shop. Its on the same vps, under a new domain

Expand  

I should be the same user the web server is running.

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...