0

I have shifted my magento 1.9 installation from <domain>/shop to <domain>. Front page of my magento loads fine, but none of the link thereafter does not work whatsoever. All of them throws 404 error. All the category pages, products page, admin page, CMS pages throws 404 error.

I followed database approach from link http://www.inmotionhosting.com/support/website/magento/how-to-change-url

Please help.

To add more info, I have updated table core_config_data, rows with path 'web/unsecure/base_url' and 'web/secure/base_url'. After that, I have cleaned cache, but to no avail.

Then, I tried changing admin url by editing app/var/local.xml, but that also didn't work.

4
  • what is the url for your site?
    – Bobadevv
    Commented Jan 9, 2017 at 13:57
  • it's www.manihaar.com
    – Aakash
    Commented Jan 9, 2017 at 13:58
  • Have you removed all folders under /var/cache
    – Bobadevv
    Commented Jan 9, 2017 at 14:07
  • Yes @Bobadevv, I had removed all folders under /var. However, I resolved the problem by some more R&D. Thank you very much for your help though.
    – Aakash
    Commented Jan 9, 2017 at 14:12

1 Answer 1

2

I found the solution. While copying the files from sub-domain to primary domain, I didn't copy .htaccess file. Copying this file solved the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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