@coder_noob1

Что делать с таким редиректом на сайте?

61805eddb39d4290749258.png

Сайт не мой (скачал), а с ним какая-то фигня(
Ошибка возникает здесь "https://www.dminterior24.ru/licensing.html", если нажать на "Акция 555"
+как убрать .html в конце ссылки

Мой файл .htaccess:
Options +FollowSymLinks
RewriteEngine On

<IfModule mod_php5.c>

	# Устанавливаем кодировку UTF-8
	AddDefaultCharset	UTF-8

</IfModule>

<IfModule mod_php7.c>

	# Устанавливаем кодировку UTF-8
	AddDefaultCharset	UTF-8

</IfModule>

<IfModule mod_rewrite.c>

	# Убираем index.php на конце
	RewriteCond %{REQUEST_URI} ^(.*)/index\.php$
	RewriteRule ^(.*)index\.php$ https://%{HTTP_HOST}/$1 [R=301,L]

	# Убираем index.html на конце
	RewriteCond %{REQUEST_URI} ^(.*)/index\.html$
	RewriteRule ^(.*)index\.html$ https://%{HTTP_HOST}/$1 [R=301,L]

	# Страницы пользовательских ошибок
	ErrorDocument 404 /404.html

	# 301 Redirect
	Redirect 301 /akciya-555-m2	/akciya-555-m2.html
	Redirect 301 /work	/work.html
	Redirect 301 /studio	/studio.html
	Redirect 301 /licensing	/licensing.html
	Redirect 301 /index_1	/index_1.html
	Redirect 301 /index	/index.html
	Redirect 301 /contact	/contact.html
	Redirect 301 /confirm	/confirm.html
	Redirect 301 /akciya-555-m2	/akciya-555-m2.html
	Redirect 301 /SaveWeb2zip-order	/SaveWeb2zip-order.php
	Redirect 301 /404	/404.html

</IfModule>
  • Вопрос задан
  • 98 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы