Author Topic: Why localhost redirect me on live project  (Read 38 times)

Offline maulik 1intl

  • Jr. Member
  • **
  • Posts: 74
  • Karma: +6/-0
    • View Profile
Why localhost redirect me on live project
« on: August 14, 2019, 12:31:42 AM »
Hello Sir  :)
            Nice to use abantecart. i am just download my full project using ftp to setup localhost.My home page is run but after i was click any links it's redirect me to my live project.
Also abantecart admin (back-end) login and work complete.
my front-end website link redirect me to live project.
i need any other file to change.  :)


 i was also change system>config.php

define('SERVER_NAME', 'localhost');
// Admin Section Configuration. You can change this value to any name. Will use ?s=name to access the admin
define('ADMIN_PATH', 'admin');

// Database Configuration
define('DB_DRIVER', 'amysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_DATABASE', 'database-name');
define('DB_PREFIX', 'abul_');



Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4270
  • Karma: +202/-0
    • View Profile
Re: Why localhost redirect me on live project
« Reply #1 on: August 14, 2019, 01:35:42 AM »
Check Store url settings in your admin. Also you may have some redirects in .htaccess file
“Chuck Norris is so amazing.”
― Mother Teresa

Offline maulik 1intl

  • Jr. Member
  • **
  • Posts: 74
  • Karma: +6/-0
    • View Profile
Re: Why localhost redirect me on live project
« Reply #2 on: August 14, 2019, 03:10:47 AM »
Thanks

                what kind need to change in .htaccess i see all file there is no hart core write my website "URL".

Offline maulik 1intl

  • Jr. Member
  • **
  • Posts: 74
  • Karma: +6/-0
    • View Profile
Re: Why localhost redirect me on live project
« Reply #3 on: August 16, 2019, 03:14:52 AM »
thanks   :) :) :)

website home page is work properly but when click on link it's get me my www/index.php file

http://localhost/1intlwebsite/ work fine
but click on button url path is http://localhost/1intlwebsite/category
but it's show me the index page of my local host server also done seo url is on in admin site.

i didn't get why my website admin panel work fine but store front not work properly  :) :)
« Last Edit: August 16, 2019, 03:37:09 AM by maulik 1intl »

 

Powered by SMFPacks Social Login Mod