Jump to content

1.4.0.1 - default language friendly URL


Recommended Posts

Is there no way to avoid the language ISO-code in the URL when you are using friendly url?

If you only have one language, it makes no sense to include the ISO code in the URL.

Eg. you only have english language enabled, therefor you want the following URL:

http://www.domain.com/music-ipods/1-ipod-nano.html

Instead of:

http://www.domain.com/en/music-ipods/1-ipod-nano.html

My suggestion is to leave out the ISO-code from the URL in the shops default language.

Anyone have a solution?

Prestashop v. 1.4.0.1

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

I'm having the same problem. Even If you have the option for multiple languages I don't see the need to have the iso code in the url anyway.

How do you remove the language iso codes using the .htaccess file please?

Rob

Link to comment
Share on other sites

it should work.

- when you click regenerate make sure you tick the friendly url box.

- once the new file is generated, manually check the new htaccess file

- check permissions on the htaccess file

- empty your browser cache, restart your computer

- empty the prestashop cache, i do not know how to do this at the minute (search the forum)

i am sure is is something simple, if none of these work all i can do is suggest report a bug

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...
  • 10 months later...
  • 3 months later...

I've the same problem here. My site's language is English only. But all of a sudden my links have /en/ in them and those lead to 404 error. I've deleted all the other languages, uninstalled the languages block and regenerated the .htaccess file, but it's still the same.

 

Can anyone help please? I read something about friendly URL playing a part, but I don't want to have to turn it off. Is there something I can edit in the .htaccess that'll stop the redirect?

Edited by Pez (see edit history)
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...