<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум АлаичЪ'а о SEO - Убрать /index.php?do=rules из ссылок]]></title>
	<link rel="self" href="https://talk.alaev.info/feed/atom/topic/1351/" />
	<updated>2015-01-11T17:56:50Z</updated>
	<generator>PunBB</generator>
	<id>https://talk.alaev.info/topic/1351/</id>
		<entry>
			<title type="html"><![CDATA[Убрать /index.php?do=rules из ссылок]]></title>
			<link rel="alternate" href="https://talk.alaev.info/post/9139/#p9139" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[vladimkrav]]></name>
				<uri>https://talk.alaev.info/user/312/</uri>
			</author>
			<updated>2015-01-11T17:56:50Z</updated>
			<id>https://talk.alaev.info/post/9139/#p9139</id>
		</entry>
</feed>
