Magento is automatically redirecting to localhost on live server

后端 未结 7 2633
一生所求
一生所求 2021-02-15 18:12

I have uploaded my website on live server from localhost in magento

and when i m writing the url e.g: http://unbeatablewatches.com it is redirecting to localhost/unbeata

7条回答
  •  梦如初夏
    2021-02-15 18:49

    It was the same problem, fixed by changing in the database WHERE path='web/secure/base_url' AND path='web/unsecure/base_url' set scope_id=0 and scope=default

    besides defining the url

    SELECT * FROM magcore_config_data WHERE path='web/secure/base_url'
    SELECT * FROM magcore_config_data WHERE path='web/unsecure/base_url'
    

提交回复
热议问题