@pietro
In Joomla, you can use the .htaccess file to force a 301 redirect for non-SEF (search engine friendly) URLs. Here's how you can do it:
1 2 3 |
RewriteEngine On RewriteCond %{QUERY_STRING} !^(.*)$ RewriteRule ^(.*)$ https://www.example.com/$1? [R=301,L] |
Replace https://www.example.com
with your desired URL.
This should redirect all non-SEF URLs to the SEF URL, preserving the page structure and making it easier for search engines to crawl and index your site.