Добрый день!
Подскажите как сделать:
- Убрать на конце ссылки слеш https://test.ru/setevoe-oborudovanie/opticheskie-moduli/sfp-2.6gbps/modul-sfp-2.6gbps-multirate-ddm-sm-1310nm-lc-20km/
.htaccess
Summary
# Compress HTML, CSS, JavaScript, Text, XML, fonts AddOutputFilterByType DEFLATE application/javascript application/x-javascript text/javascript application/json AddOutputFilterByType DEFLATE application/x-font application/x-font-opentype application/x-font-otf application/x-font-truetype application/x-font-ttf font/opentype font/otf font/ttf application/x-woff application/x-font-woff AddOutputFilterByType DEFLATE text/css text/html text/plain<IfModule mod_headers.c>
# Remove browser bugs (only needed for really old browsers)
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
</IfModule>
Header set Access-Control-Allow-Origin "*"
Cache all images for 2 weeks
ExpiresActive on ExpiresDefault "access plus 2 weeks" Header set Cache-Control "max-age=1209600" RewriteEngine on # Please note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon. # Some hostings require RewriteBase to be uncommented # Example: # Your store url is http://www.yourcompany.com/store/cart # So "RewriteBase" should be:RewriteBase /
#Options -MultiViews
RewriteCond %{HTTP_HOST} ^www.(.)$ [NC]
RewriteRule . https://%1/$1 [R=301,L]
RewriteRule ^init.php$ - [F,L,NC]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} ^api/(.)$ [or]
RewriteCond %{REQUEST_URI} ./api/(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .api/(.)$ api.php?_d=$1 [L,QSA]
RewriteCond %{REQUEST_URI} .(png|gif|ico|swf|jpe?g|js|css|ttf|svg|eot|woff|yml|xml)$ [NC,or]
RewriteCond %{REQUEST_URI} store_closed.html$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.?)/(.)$ $2 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L,QSA]
RewriteCond %{REQUEST_URI} !?
RewriteCond %{REQUEST_URI} !&
RewriteCond %{REQUEST_URI} !=
RewriteCond %{REQUEST_URI} !.
RewriteCond %{REQUEST_URI} !/$
RewriteRule ^(.*[^/])$ /$1/ [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.html\ HTTP
RewriteRule ^index.html$ https://all4tele.com/ [R=301,L]
This prevents possible problems when downloading files
php_value memory_limit 1024M php_value default_socket_timeout 3600 php_flag zlib.output_compression Off- Подскажите как при выдаче в поиске google… убрать цену в описание
А лучше (убрать слово бесплатно а цену оставить)
http://joxi.ru/BA0nEO9IMpkMLm