Jump to content

Top Horizontal Menu Custom Link problem.


Recommended Posts

My website:  http://talktothepawpetshop.com

 

Using 1.6.14

 

The Top Horizontal menu works fine except for the portion of it that controls CUSTOM LINKS.  Every time I try to add a custom link, Prestashop puts an /en/ into the address. which makes the link render  a 404 Error.

 

Example:

 

BLOG           Should be:   http://talktothepawpetshop.com/blog

 

This is what it look like:     http://talktothepawpetshop.com/en/blog

 

I can't get rid of the /en/

 

r,

 

Bruce

Link to comment
Share on other sites

Do you have more than one language enabled in your store? If so then it is normal situation. Turn off all languages except english and then tell us if it helped? And make sure your default language for shop is english too ;)

Link to comment
Share on other sites

Double checked everything.  The only language I have enabled is English.  Also, English is the default language.

 

IMPORTANT:  Please note that the only place this is happening is on the top menu.  The LINKS MODULE rendered the url correctly.  I have the BLOG in the left column and on the footer.  Both links work correctly.

 

I am stumped.

Link to comment
Share on other sites

  • 4 weeks later...

hi

 

when clicking on the link on the top menu the url it goes to is http://scattypets.com/en/blog.html

 

the link in the link on the menu config is /blog.html  and the link in the blog software is /blog.html  the issue looks to be the /en thats being added

 

3 attachments below but 2 have same colour background  but they are clickable

 

post-380599-0-17020200-1435071837_thumb.jpg

post-380599-0-71474400-1435071837_thumb.jpg

post-380599-0-15971000-1435071838_thumb.jpg

Edited by killeer (see edit history)
Link to comment
Share on other sites

so you've got an answer

you use "relative" path that looks like "/blog.html"

this means that url will be generated based on two things:
1) current page url
2) url that you added "/blog.html"

this means when someone browse:

http://page.com/en/ link will be created with:
1) http://page.com/en/
2) /blog.html

in effect: http://page.com/en/blog.html

instead of relative path "/blog.html" use FULL URL like below:
http://page.com/blog.html

Link to comment
Share on other sites

hi

 

thanks for the rensponse

 

I have edited the link url as shown in the image below and which i click on the link it shows http://scattypets.com/en/http://www.scattypets.com/blog.html

 

the issue is the top menu module is adding the /en into the url, i only have one language installed on the site

 

post-380599-0-26866100-1435072970_thumb.jpg

Edited by killeer (see edit history)
Link to comment
Share on other sites

have uninstalled the smart blog module all together, this issue is a bug with the top horizontal block module adding the country code to the url when adding a link to it. best resolution is to use another module  

Link to comment
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...