1

This question already has an answer here:

we moved the site from one domain to another domain

after moving, admin panel working fine.

but in frontend, except the home page, every page/link is redirecting to the old domain.

means categories and products links are also redirecting to old domain

please help me to find solution

marked as duplicate by Rajeev K Tomy, Fabian Schmengler, James Anelay - TheExtensionLab, 7ochem, liyakat Jul 7 '15 at 8:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Did you check your server configuration? – Tran Dinh Khanh Jul 7 '15 at 7:08
  • we moved site which in is vps to the site in shared hosting – Baby in Magento Jul 7 '15 at 7:13
  • we are using shared hosting. what and things need to look from server side? – Baby in Magento Jul 7 '15 at 7:14
  • @RajeevKTomy thanks for your comment, but there all pages, but here only home page is fine. – Baby in Magento Jul 7 '15 at 7:19
  • 1
    I guess you reindexed everything and cleared cache already? – Yiorgos Moschovitis Jul 7 '15 at 8:09
2

Have you change your domain in your DB?

Check: core_config_data

select * from core_config_data where path like '%base_url%';

This will return two rows at least, one for secure and the other for unsecure base url. You need to update this to your new domain.

Also flush the cache.

  • i changed in core_config_data , but still the same issue. – Baby in Magento Jul 7 '15 at 7:05
  • Did you check DNS? Also check your apache/nginx config, maybe the routing there is not updated – lloiacono Jul 7 '15 at 7:07
  • we moved site which in is vps to the site in shared hosting – Baby in Magento Jul 7 '15 at 7:13
  • 1
    Yes this could be an issue, check the http request for images, css, and so on if they are going to the old domain, if yes then you need to update this – lloiacono Jul 7 '15 at 7:59
  • 1
    thanks for your support. i edited new site name in database file , finally its worked... – Baby in Magento Jul 7 '15 at 12:29
2

Another issue could be simple browser redirections that are also cached.

  • tried in another system, but same problem.... – Baby in Magento Jul 7 '15 at 7:07
  • 1
    But you did the 3 things you should do on every problem? clear cache, reindex , clear cache and after that use a browser in incognito mode? – Nils Preuß Jul 7 '15 at 10:04
  • thanks for your support. i edited new site name in database file , finally its worked... – Baby in Magento Jul 7 '15 at 12:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.