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
I'm using nginx also
up
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).
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
Here is a detailed instruction of how to format SEO URLs with slashes in Magento:
[Tutorial] Add slashes to SEO URLs in Magento
Many thanks, I will check if this example works.
To add slashes in Magento SEO URLs, check your URL rewrite settings and custom URL structures. I used a free audit SEO tool to catch these details on a client’s site—it makes a big difference for clean URLs!