Jump to content

Remove /content/ from URL


Recommended Posts

Hello,

 

I want to remove /content/ from my url. I know there's a lot of people who have been looking for a solution for this so I don't think you'd only do me a favour if you know a solution to this, but also others.

 

As mentioned in this topic: http://www.prestasho...ntent-from-url/ I believe /content/ is put there to determine whether it's a CMS-page or a category-page.

 

Even though that said, is it possible to have it removed somehow or replaced with a better solution. An example could be that instead of adding /content/ to the url the URL could look like this if it was a CMS-page:

http://domain.com/about-us-p4.com where the bold text represents it's a CMS-page (p4 = page 4).

 

It could be a similar solution to this but this is to give you an idea of what I mean.

 

Thank you,

Noyes

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

No, you are right.

 

FWIW, from a brief look it is added in Link class, one would need make changes there and also how the .htaccess is generated. Did not look too deep or tested.

 

url the URL could look like this if it was a CMS-page:

http://domain.com/about-us-p4.com

 

No need for that. Those pages already have a unique id before the page name e.g.

 

http://demo-store.prestashop.com/en/content/3-terms-and-conditions-of-use

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...