Jump to content
danileo

Create full path url

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!

Share this post


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

Share this post


Link to post
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

Share this post


Link to post
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?

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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