Prestashop on localhost with friendly URL

Finally got Prestashop to run on localhost for development

Changes in the database:
--
-- Localhost modifications for dev
--
UPDATE `shop_url` SET
`domain` = 'localhost',
`domain_ssl` = 'localhost',
`physical_uri` = '/example.eu/'
WHERE `id_shop_url` = '1';

UPDATE `employee` SET
`lastname` = 'Zuber',
`firstname` = 'Michal',
`email` = 'info@nevilleweb.sk',
`passwd` = '57b43e92dbb27ff1974b85673e1b32f2' -- MD5(CONCAT(_COOKIE_KEY_, MY_PASSWORD))
WHERE `id_employee` = '1';

Password hash is a MD5 of a combination (concatenation) of _COOKIE_KEY_ from config/settings.inc.php and your desired password

For friendly URLs to work the following .htaccess should work (replace yourproject)

Advertisements

Author: Michal Zuber

Full stack developer, biker and rollerblader. Owner and developer at https://nevilleweb.sk/ Co-founded http://neville.sk/ Blog at https://michalzuber.wordpress.com/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s