Отредактировать .htaccess
4 USDОтредактировать .htaccess
Чтоб перед вопросом не ставился слэш (http://prntscr.com/mib5hq)
https://site.ru/personal/cancel/137/?CANCEL=Y
Просмотреть ошибки в файле .htaccess
*********************
.htaccess
**********************
Options -Indexes
ErrorDocument 404 /404.php
<IfModule mod_php5.c>
php_flag session.use_trans_sid off
#php_value display_errors 1
#php_value mbstring.internal_encoding UTF-8
</IfModule>
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# с папок без /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !\..{1,10}$
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ https://stylesides.ru/$1/ [L,R=301]
RewriteCond %{REQUEST_URI} ^(.*)/{2,}(.*)$
# Проверяем, повторяется ли слеш (//) более двух раз.
RewriteRule . %1/%2 [R=301,L]
# Исключаем все лишние слеши.
RewriteCond %{HTTPS} !=on
RewriteCond %{REQUEST_URI} !^/robots.txt$
RewriteCond %{HTTP_HOST} ^www\.(.*)$
RewriteRule ^(.*)$ https://%1/$1 [L,R=301]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.(php|html|htm)\ HTTP/
RewriteRule ^(.*)index\.(php|html|htm)$ https://stylesides.ru$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$
RewriteRule ^(.*)$ /bitrix/urlrewrite.php [L]
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType image/jpeg "access plus 3 day"
ExpiresByType image/gif "access plus 3 day"
ExpiresByType image/png "access plus 3 day"
ExpiresByType text/css "access plus 3 day"
ExpiresByType application/javascript "access plus 3 day"
</IfModule>
-
92 2 0 Добрый день. пишите, сделаю всё быстро и качественно, за скромную цену!) Есть большой опыт работы.
-
3703 91 0 3 Добрый день. Пишите в личные сообщения, сделаю все как нужно.
-
994 31 0 Добрый день) Мы занимаемся разработкой и сопровождением сайтов, HTML/CSS версткой, программированием функционала, SEO-оптимизацией сайта, наполнение сайтов и 1с, интеграцией сайта с базой 1с, а также разработкой различных модулей, разработка уникального дизайна.
Здесь вы можете посмотреть информацию о нашей компании:
http://www.1c-bitrix.ua/partners/1472701.php
Мой skype : timoshenko888
Почта [email protected]
-
причем здесь htaccess?
-
Позвольте поинтересоваться, чем не угодил слеш перед знаком вопроса?
-
Current freelance projects in the category Web programming
Development of an online store wholesale trade b2b, turnkey
1529 USD
Looking for a high-level specialist to develop a full-fledged online store. The site should meet all the latest needs of search engines, be optimized, and user-friendly. The store is intended for wholesale trade in the B2B sector. Turnkey work: development and product filling as… Web programming, Online stores and e-commerce ∙ 4 proposals |
Website development on WordPress. Setting up import in ETIM formatDevelopment of a website on WordPress from scratch. Development of templates for importing products from various manufacturers from files in ETIM format. Development of a product card page template. Setting up customer registration. Setting up order processing, chat, and payment… Web programming |
Optimize website loading on Word PressGood day! It is necessary to optimize the speed of the website https://mutemoments.com/ and carry out the necessary plugin updates Site on WP + Woocommerce Web programming ∙ 7 proposals |
Web applicationIt is necessary to expand the functionality of the existing web application (TypeScript, React, and Next.js) by adding a fuzzy search module. The databases are large, Elasticsearch or Manticore Search should be implemented for data indexing. Databases, Web programming ∙ 2 proposals |
Laravel developer with skills working with SphinxHello, I am looking for a Laravel developer who can help improve the current functionality of one of the projects. Skills in working with Sphinx are important, as well as the ability to work with JS at a more or less basic level. Please specify the cost of 1 hour of your work in… PHP, Web programming ∙ 1 proposal |