cancel
Showing results for 
Search instead for 
Did you mean: 

Urls with .html.html error magento 2.1.6

SOLVED

Urls with .html.html error magento 2.1.6

Hi,

    have problem in mag 2.1.6 with .html.html urls displaying instead of .html

any help appreciatedSmiley Happy

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Urls with .html.html error magento 2.1.6

i have solved my issueSmiley LOL

Empty the product url rewrites from url_rewrite table, saving all products via Magento 2's mass update feature and finally updating the URL's with the mysql command mentioned below

mysql> UPDATE url_rewrite SET request_path = REPLACE(request_path, '.html.html', '.html');

solved the dilemma for us and we managed to get the extra .html away from product URL's.

View solution in original post

1 REPLY 1

Re: Urls with .html.html error magento 2.1.6

i have solved my issueSmiley LOL

Empty the product url rewrites from url_rewrite table, saving all products via Magento 2's mass update feature and finally updating the URL's with the mysql command mentioned below

mysql> UPDATE url_rewrite SET request_path = REPLACE(request_path, '.html.html', '.html');

solved the dilemma for us and we managed to get the extra .html away from product URL's.