Jump to content

Multistore Multiple domain names are bound to the same store


chaoge

Recommended Posts

I have enabled Multistore, where both domain1 and domain2 are bound to the same store. domain1 is the primary URL of the store. When accessing domain2, it automatically redirects to domain1, and all URLs show domain1. It seems that binding domain2 has no effect. How can I make all URLs display domain2 when accessing it?

Link to comment
Share on other sites

Hi,

This is Alvina from AdVision eCommerce.

It looks like your issue is related to caching, database updates, or PHP version conflicts. Even though you’ve cleared the cache, PrestaShop sometimes holds onto old data. Here’s what I’d check:

Force Refresh Cache – Go to Advanced Parameters > Performance, disable and re-enable caching. Also, try switching the cache type (if enabled).

Check Database – Verify if price updates are saved in the database (use phpMyAdmin, check ps_product and ps_product_shop tables).

Rebuild Indexes – In Design > Image Settings, regenerate thumbnails, then go to Shop Parameters > Search and rebuild the index.

Check Overrides & Modules – Disable any third-party pricing modules or overrides in Advanced Parameters > Performance > Disable All Overrides and test.

Verify File & Database Permissions – Ensure proper write permissions on /var/cache/, /img/tmp/, and the database tables.

Confirm PHP Compatibility – PrestaShop 1.7.2.4 is quite old, and PHP 7.4 might cause conflicts. Try switching back to PHP 7.1 (even temporarily) and check.

Debug Mode – Enable debug mode (Advanced Parameters > Performance) to see if any errors pop up when saving.

Let me know if any of these work or if you see any errors!

Link to comment
Share on other sites

  • 1 month later...
On 3/18/2025 at 8:21 PM, AdVision said:

Hi,

This is Alvina from AdVision eCommerce.

It looks like your issue is related to caching, database updates, or PHP version conflicts. Even though you’ve cleared the cache, PrestaShop sometimes holds onto old data. Here’s what I’d check:

Force Refresh Cache – Go to Advanced Parameters > Performance, disable and re-enable caching. Also, try switching the cache type (if enabled).

Check Database – Verify if price updates are saved in the database (use phpMyAdmin, check ps_product and ps_product_shop tables).

Rebuild Indexes – In Design > Image Settings, regenerate thumbnails, then go to Shop Parameters > Search and rebuild the index.

Check Overrides & Modules – Disable any third-party pricing modules or overrides in Advanced Parameters > Performance > Disable All Overrides and test.

Verify File & Database Permissions – Ensure proper write permissions on /var/cache/, /img/tmp/, and the database tables.

Confirm PHP Compatibility – PrestaShop 1.7.2.4 is quite old, and PHP 7.4 might cause conflicts. Try switching back to PHP 7.1 (even temporarily) and check.

Debug Mode – Enable debug mode (Advanced Parameters > Performance) to see if any errors pop up when saving.

Let me know if any of these work or if you see any errors!

PrestaShop version: 8.2.1
PHP version: 8.1.29
Domain binding store as shown in the picture.
Domain1 accesses store1 normally,
Domain2 accesses store1 and directly jumps to domain1, all urls become domain1
Domain3 accesses store2 normally,
I have tested what you said, and none of them work.1.png.6fc098a4d6a5493228f9a348ede69fa2.png

Link to comment
Share on other sites

  • 1 month later...

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