Jump to content

Product links are not working while restoring to localhost.


Recommended Posts

Hi,

I am trying to restore my prestashop store to localhost- XAMPP - 3.2.1

 

I have done these steps,

 

-Installed Prestashop to localhost

-Import Database

-And transfer full back up files to htdocs folder

-edited the php config files with new database name

-change the shop url from PS_SHOP_DOMAIN

 

Everything working fine, but images are broken, and all links are broken. 

 

while clicking the links in first page it shows like this,

 

 

Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.

Error 404 localhost

Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3

 

Kindly provide the solution as fast as possible?

Link to comment
Share on other sites

  • 1 month later...

Had the same problem.

First, be sure that you followed this steps (on the bottom of topic). Removing all files from fresh install except admin catalog should grant you access to admin panel. If you already imported database from live shop, use login and passwd same as for live site.

Inside admin panel images could be broken, but you should have access to Seo & Urls tab in Preferences anyways.

 

Settings:

friendly urls: NO
shop domain: localhost

SSL domain: localhost

Base URI: name_of_your_folder_in_htdocs

 

Save.

This way you do not need to change tables content manually.

Let me know if this helped ;)

Link to comment
Share on other sites

×
×
  • Create New...