<?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>PHPJavascript &#187; htaccess</title>
	<atom:link href="http://www.phpjavascript.com/category/htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpjavascript.com</link>
	<description>Web Development Guide - My Personal Library of Tutorials and Scripts</description>
	<lastBuildDate>Sun, 05 Sep 2010 01:56:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Remove php extension</title>
		<link>http://www.phpjavascript.com/remove-php-extension/</link>
		<comments>http://www.phpjavascript.com/remove-php-extension/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 12:07:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://www.phpjavascript.com/?p=472</guid>
		<description><![CDATA[I need to redirect pages with .php extension to without. Like www.magrudy.com/mystore.php to www.magrudy.com/mystore
Use the following
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/\ ]+/)*([^.\ ]+\.)+(php&#124;html?)\ HTTP
RewriteRule ^(([^/]+/)*[^.]+)\.(php&#124;html?)$ http://www.magrudy.com/$1 [R=301,L]
]]></description>
		<wfw:commentRss>http://www.phpjavascript.com/remove-php-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redirect .php pages</title>
		<link>http://www.phpjavascript.com/redirect-php-pages/</link>
		<comments>http://www.phpjavascript.com/redirect-php-pages/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 12:06:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://www.phpjavascript.com/?p=470</guid>
		<description><![CDATA[I need to redirect pages with .php extension to without. Like www.magrudy.com/mystore.php to www.magrudy.com/mystore
Use the following
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/\ ]+/)*([^.\ ]+\.)+(php&#124;html?)\ HTTP
RewriteRule ^(([^/]+/)*[^.]+)\.(php&#124;html?)$ http://www.magrudy.com/$1 [R=301,L]
]]></description>
		<wfw:commentRss>http://www.phpjavascript.com/redirect-php-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
