<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Symfony por David Vega &#187; .htaccess</title>
	<atom:link href="http://symfony.davidvega.net/category/htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>http://symfony.davidvega.net</link>
	<description>Tips para desarrolladores</description>
	<lastBuildDate>Tue, 08 Jun 2010 17:11:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Redireccionar con .htaccess</title>
		<link>http://symfony.davidvega.net/2009/09/redireccionar-con-htaccess/</link>
		<comments>http://symfony.davidvega.net/2009/09/redireccionar-con-htaccess/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 15:05:19 +0000</pubDate>
		<dc:creator>David Vega</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[redireccion]]></category>

		<guid isPermaLink="false">http://symfony.davidvega.net/?p=32</guid>
		<description><![CDATA[Algo que a veces es muy necesario, pero a la vez muy sencillo de hacer es redireccionar algún directorio web a otro, o a otra dirección externa. Esto es muy útil cuando los sitios cambian de dirección y no queremos tener problemas con los buscadores. Para redireccionar simplemente se debe agregar la siguiente linea al [...]]]></description>
			<content:encoded><![CDATA[<p>Algo que a veces es muy necesario, pero a la vez muy sencillo de hacer es redireccionar algún directorio web a otro, o a otra dirección externa.</p>
<p>Esto es muy útil cuando los sitios cambian de dirección y no queremos tener problemas con los buscadores.</p>
<p>Para redireccionar simplemente se debe agregar la siguiente linea al principio del <a href="http://httpd.apache.org/docs/1.3/howto/htaccess.html">.htaccess</a>:</p>
<pre>Redirect /directorio-local/ http://www.nueva-web.com/nuevo-directorio/</pre>
<p>Así de fácil, así de bonito.</p>
<p>[Vía <a href="http://www.vidablog.com/redireccionar-con-htaccess/">VidaBlog</a>]</p>
<h4>Actualización</h4>
<p>Gracias a <a href="http://rnt.cl">RNT</a> por aclararnos que RedirectMatch puede ser más efectivo debido a que  también redirecciona el contenido dentro del directorio, cosa que no hacía el Redirect. Por lo tanto, el código para el .htaccess quedaría asi:</p>
<pre>RedirectMatch /directorio-local/(.*) http://www.nueva-web.com/nuevo-directorio/$1</pre>
]]></content:encoded>
			<wfw:commentRss>http://symfony.davidvega.net/2009/09/redireccionar-con-htaccess/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->