<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум АлаичЪ'а о SEO - Убрать /index.php?do=rules из ссылок]]></title>
		<link>https://talk.alaev.info/topic/1351/</link>
		<atom:link href="https://talk.alaev.info/feed/rss/topic/1351/" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Убрать /index.php?do=rules из ссылок».]]></description>
		<lastBuildDate>Sun, 11 Jan 2015 17:56:50 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Убрать /index.php?do=rules из ссылок]]></title>
			<link>https://talk.alaev.info/post/9139/#p9139</link>
			<description><![CDATA[<p>Приветствую всех!<br />У меня на сайте страницы дат дней рождений заканчивающиеся /index.php?do=rules . Их наплодилось более 150 штук. Естественно отсюда и 404 код ошибки. Меня такая перспектива не устраивает. Подскажите пожалуйста как убрать из ссылок index.php?do=rules или перенаправлять на главную страницу.<br />Ссылки выглядят так: /born/1/3/index.php?do=rules<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /born/5/8/index.php?do=rules<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /born/10/27/index.php?do=rules<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;и т. д.<br />Может кто либо знает причину их возникновения.<br />Спасибо.</p><p>P.S. Тему Redirect 301 – теория и практика редиректа, настройка и правила использования я читал и применял, но ничего не получилось. Решил обратиться к специалистам.<br /></p><p class="lastedit merged"><em>Добавлено: 11.01.2015 20:56</em></p><p>Попробовал сам составить код.</p><p>RewriteCond %{HTTP_HOST} ^born/([0-9]+)/([0-9]+)/index.php?do=rules$<br />RewriteRule ^http://сайт.ru/ [R=301,L]</p><p>Как и следовало ожидать не получилось. Я хоть по правильному пути иду ?</p>]]></description>
			<author><![CDATA[null@example.com (vladimkrav)]]></author>
			<pubDate>Sun, 11 Jan 2015 17:56:50 +0000</pubDate>
			<guid>https://talk.alaev.info/post/9139/#p9139</guid>
		</item>
	</channel>
</rss>
