Hello,
I try to remove the index.php?_route_= from each url but it doesn’t work. Can you help me please?
https://www.sportuvam.bg/index.php?_route_=bg/bicycles
Thank you!
|
|
I have already activated theme SEO pack but it doesn’t remove the string?
Can you help?
|
|
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^system/download/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
RewriteCond %{THE_REQUEST} \ /+index\.php\?_route_=([^\ &]+)
RewriteRule ^ /%1? [L,R]
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.sportuvam.bg/$1 [R,L]
this is the solution
|
|
Hi,
Thanks for sharing your modification!
BR,
ThemeBurn team
|
|