<?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>Search Engine Optimization Subway - Complete Free SEO Library &#187; Page Id</title>
	<atom:link href="http://www.seosubway.com/tag/page-id/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seosubway.com</link>
	<description>Complete SEO Library</description>
	<lastBuildDate>Tue, 05 Jul 2011 11:37:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Create Search Engine Friendly URLs using .htaccess</title>
		<link>http://www.seosubway.com/2009/07/13/create-search-engine-friendly-urls-using-htaccess/</link>
		<comments>http://www.seosubway.com/2009/07/13/create-search-engine-friendly-urls-using-htaccess/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 04:09:12 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Amp]]></category>
		<category><![CDATA[Category 5]]></category>
		<category><![CDATA[Engine Friendly Urls]]></category>
		<category><![CDATA[Folder Name]]></category>
		<category><![CDATA[Htaccess]]></category>
		<category><![CDATA[Jagadeesh]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[Page Id]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Referral]]></category>
		<category><![CDATA[Rewrite Rule]]></category>
		<category><![CDATA[Search Engine]]></category>
		<category><![CDATA[Search Engines]]></category>
		<category><![CDATA[Spiders]]></category>
		<category><![CDATA[Static Address]]></category>
		<category><![CDATA[Static Version]]></category>
		<category><![CDATA[Url]]></category>
		<category><![CDATA[Virtual Partition]]></category>

		<guid isPermaLink="false">http://www.seosubway.com/?p=106</guid>
		<description><![CDATA[In this post, we will see how to use .htaccess to create search engine friendly URLs. Using .htaccess, mapping dynamic pages to static address is easy and this helps search engines to index the pages fast, effective and strong. Initially, create a file .htaccess in your favorite editor, use the rewrite rule as below to [...]]]></description>
			<content:encoded><![CDATA[<p>In this post, we will see how to use .htaccess to create search engine friendly URLs. Using .htaccess, mapping dynamic pages to static address is easy and this helps search engines to index the pages fast, effective and strong.</p>
<p>Initially, create a file .htaccess in your favorite editor, use the rewrite rule as below to map dynamic id passing url&#8217;s to static version. Use the code and create your dynamic pages for search engines spiders</p>
<p><span id="more-106"></span></p>
<p>**************************************************************<br />
<strong>RewriteEngine on</p>
<p>## Rewrite Rules ##</p>
<p>RewriteRule ^category/([0-9]*)/([0-9]*)/([a-z_]*)$ category.php?id=$1&amp;page_id=$2 [L]<br />
RewriteRule ^category/([^/]*)/([a-z_]*)/([^/]*)$ category.php?r_name=$2&amp;id1=$1</strong></p>
<p>***************************************************************</p>
<p>For eg: Originally the page URL looks like subcategory.php?id=5&amp;page_id=1</p>
<p>Using the above .htaccess code, you can create the URL as</p>
<p>category/5/1/product_name</p>
<p>Here,</p>
<p><em>RewriteRule ^category/([0-9]*)/([0-9]*)/([a-z_]*)$</p>
<p>^ &#8211; Refer to start<br />
Category &#8211; creates a folder as mentioned name<br />
/ &#8211; Used for virtual partition<br />
[0-9] &#8211; Writes single number as folder name<br />
[0-9]* &#8211; Writes n numbers as folder name<br />
[a-z_] &#8211; Writes single letters as folder name<br />
[a-z_]* &#8211; Writes letters as folder name<br />
$ &#8211; Refer to end</em></p>
<p><strong>Additional information:</strong></p>
<p>Your id passing pages might have indexed through some referral and so, you can use the below code to avoid error pages, create a 404pagenotfound.php and add your a message to your visitors to navigate to home page for information’s</p>
<p>*****************************************************************</p>
<p><strong>## Trace Errors<br />
ErrorDocument 404 /404pagenotfound.php</strong></p>
<p>*****************************************************************</p>
<p>Hope you will like the post and its useful <img src='http://www.seosubway.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Orignal Author : Jagadeesh M</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seosubway.com/2009/07/13/create-search-engine-friendly-urls-using-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

