Magento is automatically redirecting to localhost on live server

后端 未结 7 2600
一生所求
一生所求 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:44

    I faced this issue and solved it using following steps.

    1. Change base_url

    Navigate to the core_config_data table in your database and add your store url to the value column of following path column.

    web/secure/base_url
    web/secure/base_link_url
    web/unsecure/base_url
    web/unsecure/base_link_url
    

    2. Clear log entries

    Run following SQL query in order to truncate log tables.

    TRUNCATE dataflow_batch_export;
    TRUNCATE dataflow_batch_import;
    TRUNCATE log_customer;
    TRUNCATE log_quote;
    TRUNCATE log_summary;
    TRUNCATE log_summary_type;
    TRUNCATE log_url;
    TRUNCATE log_url_info;
    TRUNCATE log_visitor;
    TRUNCATE log_visitor_info;
    TRUNCATE log_visitor_online;
    TRUNCATE report_viewed_product_index;
    TRUNCATE report_compared_product_index;
    TRUNCATE report_event;
    TRUNCATE index_event;
    

提交回复
热议问题