Jump to content

Change logo link

Recommended Posts

Hello everybody.

I would like to change the logo link in prestashop

When I click on the logo (in customer mode), I arrive in the directory of the app => very dangerous to have access at all files for customers!

Where is the url of the logo to adapt it?

I found this in themes/classic/templates/_partials/header.tpl (line 64).

<a href="{$urls.base_url}">

Where is this var? I didn't find it in parameters.php

The app is on a local server, not connected to internet

Thanks a lot



I've this issue only when I'm in a category.

If I'm in a product fiche, the link is ok

Edited by Laetitia Bordon (see edit history)

Share this post

Link to post
Share on other sites

I found the solution : I added "index.php" just after {$urls.base_url} in file themes/classic/templates/_partials/header.tpl (line 64).

<a href="{$urls.base_url}index.php">

In advanced options -> performances, I choosed "recompile templates if the files have been updated" for templates compilation and that's ok.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More