Answer the question
In order to leave comments, you need to log in
Do Joomla pages have duplicates with multiple html?
Good afternoon!
There is a site on Joomla, where the option "Add suffix to URL" is enabled. To eliminate duplicate pages, I wrote the following code in .htaccess:
RewriteCond %{REQUEST_URI} (.*/[^/.]+)($|\?)
RewriteRule .* %1.html [R=301,L]
RewriteRule ^(.*)/$ /$1.html [R=301,L]
Answer the question
In order to leave comments, you need to log in
Leave the default .htaccess. In the standard form, such problems do not arise.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question