- 25 Ιαν 2019, 13:06
#5590
Γεια σας.
Αντιμετωπίζω το εξής πρόβλημα στο Opencart v3.0.2.0 . Τα URLs των προϊόντων μου δεν είναι SEF και τα εμφανίζει στη μορφή:
Οι κατηγορίες των προϊόντων είναι SEF URLs παρεπιπτόντως.
το .htaccess μου είναι αυτό:
Κάθε βοήθεια ευπρόσδεκτη,
Ευχαριστώ
Αντιμετωπίζω το εξής πρόβλημα στο Opencart v3.0.2.0 . Τα URLs των προϊόντων μου δεν είναι SEF και τα εμφανίζει στη μορφή:
Κώδικας: Επιλογή όλων
ενώ εγώ θέλω να μου τα εμφανίζει με τo greeklish url microelectric.gr/product?path=180&product_id=299
Κώδικας: Επιλογή όλων
.hxeia-bluetooth-21
Οι κατηγορίες των προϊόντων είναι SEF URLs παρεπιπτόντως.
το .htaccess μου είναι αυτό:
Κώδικας: Επιλογή όλων
Έχω βάλει σε κάθε προϊόν στο Tab SEO, την ονομασία του προϊόντος σε greeklish και έχω δοκιμάσει extensions free από το marketplace χωρίς επιτυχία.<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
Order deny,allow
Deny from all
</FilesMatch>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^microelectric\.gr [NC]
RewriteRule ^(.*)$ https://www.microelectric.gr/$1 [R,L]
RewriteRule ^([A-Za-z-]+)/([A-Za-z-]+)/([0-9]+)$ index.php?route=$1&path=$2&page=$3 [NC,L]
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) [NC]
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
RewriteRule ^(\w+)/(\w+)/?$ index.php?route=$1/$2 [L]
<FilesMatch "\.(gif|jpg|jpeg|png|GIF|JPG|JPEG|PNG)$">
ExpiresDefault A2592000
Header append Cache-Control "public"
</FilesMatch>
<FilesMatch "\.(less|js|css|gz)$">
ExpiresDefault A2592000
Header append Cache-Control "proxy-revalidate"
</FilesMatch>
<FilesMatch "\.(php)$">
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>
<IfModule mod_headers.c>
<FilesMatch "\.(less|js|css|xml|gz)$">
Header append Vary Accept-Encoding
</FilesMatch>
</IfModule>
# compress text, HTML, JavaScript, CSS, and XML
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE font/woff .woff
AddOutputFilterByType DEFLATE application/x-font-woff
AddOutputFilterByType DEFLATE application/font-woff
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font-otf
# remove browser bugs
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Order allow,deny
Allow from all
Κάθε βοήθεια ευπρόσδεκτη,
Ευχαριστώ