cancel
Showing results for 
Search instead for 
Did you mean: 

Problemas con los sufijos .html

Problemas con los sufijos .html

Hola a todos,

 

Acabo de modificar la configuración en Magento 2.2. para que las urls de los productos y las categorias no terminen en .html.

Tienda/Configuracion/Catalogo/Catalogo/Optimización de los motores de busqueda/

sufijo url articulo /

sufijo url categoria /

 

Ahora las urls de los productos y las categorias no tienen .html y se ve bien, la página funciona pero la home me redirecciona a www.dominio.com// (me ha añadido estos dos slash) y no aparece la home web "ERR_TOO_MANY_REDIRECTS "

 

Alguna idea? Gracias

3 REPLIES 3

Re: Problemas con los sufijos .html

Hi @Mikel_Gonzalez,

You don't need to add "/" in the configurations which you made. Just leave blank both field.

Store / Configuration / Catalog / Catalog / Search Engine Optimization /

Keep the sufix blank.

I hope it will help you!

Re: Problemas con los sufijos .html

Hi Vilmal,

 

Thank you very much for your answer, but if I try to leave blank I get an error

"Unique constraint violation found"

 

Any idea?

thanks

Re: Problemas con los sufijos .html

Hi @Mikel_Gonzalez 

Have you tried re-indexing after change?

php bin/magento indexer:reindex
php bin/magento cache:flush


If still you are facing error, then please share detailed error.