Jump to content

Create full path url


danileo

Recommended Posts

Hello,

 

I use the last version of Presta Shop and i'm trying to create a clean url.

I have categories like Phones, Tablets, Laptops, and subcategories like Apple, Samsung, Sony, and sub-sub categories like iphone 5, Galaxy s4

 

I need a url like this:

mysite.com/Phones/Apple/iphone-5/product name-id

 

Can you help me please?

 

Thanks!

Link to comment
Share on other sites

Make sure to turn on the Clean SEO and urls option in Preference:>SEO and URLs

By turning it on, you can get a clean url as you said above, but if you don't want an a prodcut id also, you have to use a PrestaShop Pretty URLs Module for this purpose. 

Link to comment
Share on other sites

Make sure to turn on the Clean SEO and urls option in Preference:>SEO and URLs

By turning it on, you can get a clean url as you said above, but if you don't want an a prodcut id also, you have to use a PrestaShop Pretty URLs Module for this purpose. 

 

Hi John,

 

I have Clean seo turned on but the product link looks like:

mysite.com//iphone-5/id-16GB-white

 

and i want it to show the full path like:

mysite.com/Phones/Apple/iphone-5/16GB-White-id

 

Thanks

Link to comment
Share on other sites

The things which I have noticed here that 

  1. You are missing the categories i.e. Phones/Apple
  2. You need Product ID at the end as you mentioned here 16GB-White-id

You are not seeing any url rewriting option at Preference>Seo and urls page?

Link to comment
Share on other sites

The things which I have noticed here that 

  1. You are missing the categories i.e. Phones/Apple
  2. You need Product ID at the end as you mentioned here 16GB-White-id

You are not seeing any url rewriting option at Preference>Seo and urls page?

 

i've solved one issue...

 

i'm using now {categories}-{rewrite}-{id} in the product route and it looks as i want:

mysite.com/Phones/Apple/iphone-5/16GB-White-7

 

Anyway, i have a new challenge now...

The route to iphone 5 category looks like:

mysite.com/id-iphone-5

 

and i want it to look like;

mysite.com/Phones/Apple/iphone-5

 

Any idea how can i do that?

Link to comment
Share on other sites

  • 4 years later...
On 7/14/2015 at 10:03 AM, danileo said:

 

i've solved one issue...

 

i'm using now {categories}-{rewrite}-{id} in the product route and it looks as i want:

mysite.com/Phones/Apple/iphone-5/16GB-White-7

 

Anyway, i have a new challenge now...

The route to iphone 5 category looks like:

mysite.com/id-iphone-5

 

and i want it to look like;

mysite.com/Phones/Apple/iphone-5

 

Any idea how can i do that?

Hi there,

did you solve it?

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