- 08 Jun 2015, 10:17
#59959
Bom dia galera,
seguinte estou tendo um problema ao habilitar o uso de url amigável, a url está ficando assim /index.php?_route_=desktops/relogio-diesel-idz4246z , já alterei as regras no htaccess.
Htaccess:
#Habilitar o PHP 5.3
AddType application/x-httpd-php53 .php
RewriteEngine On
#RewriteCond %{HTTPS} off
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^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 %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Ambiente: Opencart 2 Servidor Apache e PHP 5.3 e MySQL
Grato
seguinte estou tendo um problema ao habilitar o uso de url amigável, a url está ficando assim /index.php?_route_=desktops/relogio-diesel-idz4246z , já alterei as regras no htaccess.
Htaccess:
#Habilitar o PHP 5.3
AddType application/x-httpd-php53 .php
RewriteEngine On
#RewriteCond %{HTTPS} off
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^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 %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Ambiente: Opencart 2 Servidor Apache e PHP 5.3 e MySQL
Grato







