cancel
Showing results for 
Search instead for 
Did you mean: 

Seo URL with slashes in magento

Seo URL with slashes in magento

Hi all,

I want format all magento url with slashes.

for example:

domain.com/products?p=1&attributes=value

must became like this:

domain.com/products/p/1/attributes/value

 

How can I do this?

 

Thank you

6 REPLIES

Re: Seo URL with slashes in magento

I'm using nginx also

Re: Seo URL with slashes in magento

up

Re: Seo URL with slashes in magento

Hi

Can you give a real URL ? 

 

Your example url doesn't make sense.

 

Products have this URL structure: catalog/product/view/id/243

And can be rewritten to be seo-friendly (url key).

 

 

Maxime Coudreuse, developer of Product Manager for Magento: User-friendly product editor with customizable grid interface and category tree for Magento 1 and 2

Re: Seo URL with slashes in magento

The problem is write url (all types of url) without '?' to delimit parameters.

 

For example, actually if I open a category product view page (category: products) at second page the url is like:

 

domain.com/products?p=2

 

but I want open the same second page with an url formatted in this way:

 

domain.com/products/p/2

 

This url format (with only slashes) have to be used in all type of pages not only in category view pages like the example below, and in generic way with all types of parameters I could pass to the controller, for example filter attributes and so on.

 

Now is more clear?

Thank you

Re: Seo URL with slashes in magento

Here is a detailed instruction of how to format SEO URLs with slashes in Magento:

[Tutorial] Add slashes to SEO URLs in Magento

[ Tigren - Elite Magento E-commerce Solutions Provider - www.tigren.com ]
Tags (2)

Re: Seo URL with slashes in magento

Many thanks, I will check if this example works.