<?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>Programming Facts &#187; .htaccess tricks</title>
	<atom:link href="http://www.programmingfacts.com/tag/htaccess-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.programmingfacts.com</link>
	<description></description>
	<lastBuildDate>Fri, 27 Aug 2010 10:56:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Redirect one domain to another using .htaccess</title>
		<link>http://www.programmingfacts.com/redirect-domain-htaccess/</link>
		<comments>http://www.programmingfacts.com/redirect-domain-htaccess/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 13:17:33 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[.htaccess for redirect one domain to another]]></category>
		<category><![CDATA[.htaccess tricks]]></category>
		<category><![CDATA[.htaccess url redirection]]></category>
		<category><![CDATA[301 redirect one domain to another]]></category>
		<category><![CDATA[Automatically redirect one web page to another]]></category>
		<category><![CDATA[Domain redirect]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[Moving site from one domain to another]]></category>
		<category><![CDATA[Old domain to new domain permanent redirection]]></category>
		<category><![CDATA[Point one domain to another]]></category>
		<category><![CDATA[Redirect home page to another domain]]></category>
		<category><![CDATA[Redirecting Alternate Domains to Prevent Duplicate Content]]></category>
		<category><![CDATA[Redirecting domain name]]></category>
		<category><![CDATA[Redirecting one domain to another domain]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=424</guid>
		<description><![CDATA[Are you looking for <strong>redirecting </strong>your website from <strong>one domain to another</strong> ? I was working for client who has a domain in .com and now they want to move full website into .ie domain. The problem is that all links has been crawled by major search engine. So if we remove all files from .com domain than it shows <strong>404 not found </strong>(broken links) for .com domain links. Also we have to remove files to avoid duplicate content issues.


<strong>Related Posts:</strong><ol><li><a href='http://www.programmingfacts.com/upload-largebig-files-php-htaccess/' rel='bookmark' title='Permanent Link: Upload large(Big) files in PHP using .htaccess'>Upload large(Big) files in PHP using .htaccess</a></li>
<li><a href='http://www.programmingfacts.com/htaccess-invisible-visible/' rel='bookmark' title='Permanent Link: .htaccess is invisible &#8211; How to make it visible in FTP Program like CuteFTP , Filezilla'>.htaccess is invisible &#8211; How to make it visible in FTP Program like CuteFTP , Filezilla</a></li>
<li><a href='http://www.programmingfacts.com/301-redirect-dynamic-urls-static/' rel='bookmark' title='Permanent Link: 301 Redirect old dynamic URLs to new static URLs using .htaccess'>301 Redirect old dynamic URLs to new static URLs using .htaccess</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/redirect-domain-htaccess/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upload large(Big) files in PHP using .htaccess</title>
		<link>http://www.programmingfacts.com/upload-largebig-files-php-htaccess/</link>
		<comments>http://www.programmingfacts.com/upload-largebig-files-php-htaccess/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 08:05:35 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Common Issues/Bugs]]></category>
		<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[.htaccess for php.ini]]></category>
		<category><![CDATA[.htaccess rules for increase upload limit]]></category>
		<category><![CDATA[.htaccess tricks]]></category>
		<category><![CDATA[Helpful tips]]></category>
		<category><![CDATA[How to upload big files]]></category>
		<category><![CDATA[Increase upload file size limit]]></category>
		<category><![CDATA[PHP configuration]]></category>
		<category><![CDATA[PHP Programming tips]]></category>
		<category><![CDATA[set php configuration values]]></category>
		<category><![CDATA[Upload larger files in PHP]]></category>
		<category><![CDATA[working with larger files upload]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/2010/02/16/upload-largebig-files-php-htaccess/</guid>
		<description><![CDATA[I have seen many developers who find difficulties when working with <strong>larger files upload in php</strong>. When files which are too large in size, needs to be uploaded by php than you have to change the default file size either from <strong>php.ini</strong> OR <strong>httpd.conf</strong> OR using <strong>.htaccess</strong>. <strong>Default </strong>upload file size will be <strong>2MB</strong>. If you are uploading file which is <strong>larger than 2MB</strong> size than here i am showing you the way to <strong>upload larger files using PHP.</strong>


<strong>Related Posts:</strong><ol><li><a href='http://www.programmingfacts.com/browse-server-image-upload-problem-in-ckeditor-solved/' rel='bookmark' title='Permanent Link: Browse Server &#038; Image Upload Problem in CKEditor Solved'>Browse Server &#038; Image Upload Problem in CKEditor Solved</a></li>
<li><a href='http://www.programmingfacts.com/upload-files-wordpress-postpage/' rel='bookmark' title='Permanent Link: How to Upload Files to a WordPress Post/Page'>How to Upload Files to a WordPress Post/Page</a></li>
<li><a href='http://www.programmingfacts.com/set-php-configurationphp-ini/' rel='bookmark' title='Permanent Link: How to set PHP configuration(php.ini) values from .htaccess file'>How to set PHP configuration(php.ini) values from .htaccess file</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/upload-largebig-files-php-htaccess/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How to set PHP configuration(php.ini) values from .htaccess file</title>
		<link>http://www.programmingfacts.com/set-php-configurationphp-ini/</link>
		<comments>http://www.programmingfacts.com/set-php-configurationphp-ini/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 04:08:49 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[.htaccess for php.ini]]></category>
		<category><![CDATA[.htaccess tricks]]></category>
		<category><![CDATA[change php.ini values]]></category>
		<category><![CDATA[change php.ini values from .htaccess]]></category>
		<category><![CDATA[PHP configuration]]></category>
		<category><![CDATA[set php configuration values]]></category>
		<category><![CDATA[set php.ini values using .htaccess]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=369</guid>
		<description><![CDATA[There might be situation where you need to <strong>change php configuration values</strong> when you work on server. In <strong>local apache</strong> server, you can easily change the php configuration values <strong>using php.ini</strong> file from directory. But what will you do as php.ini is not visible on server ? The solution is <strong>.htaccess</strong> which is visible on server(.htaccess invisible ?). Using .htaccess you can change the php configuration values.


<strong>Related Posts:</strong><ol><li><a href='http://www.programmingfacts.com/upload-largebig-files-php-htaccess/' rel='bookmark' title='Permanent Link: Upload large(Big) files in PHP using .htaccess'>Upload large(Big) files in PHP using .htaccess</a></li>
<li><a href='http://www.programmingfacts.com/htaccess-invisible-visible/' rel='bookmark' title='Permanent Link: .htaccess is invisible &#8211; How to make it visible in FTP Program like CuteFTP , Filezilla'>.htaccess is invisible &#8211; How to make it visible in FTP Program like CuteFTP , Filezilla</a></li>
<li><a href='http://www.programmingfacts.com/301-redirect-dynamic-urls-static/' rel='bookmark' title='Permanent Link: 301 Redirect old dynamic URLs to new static URLs using .htaccess'>301 Redirect old dynamic URLs to new static URLs using .htaccess</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/set-php-configurationphp-ini/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>.htaccess is invisible &#8211; How to make it visible in FTP Program like CuteFTP , Filezilla</title>
		<link>http://www.programmingfacts.com/htaccess-invisible-visible/</link>
		<comments>http://www.programmingfacts.com/htaccess-invisible-visible/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 06:38:08 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[.htaccess invisible in Filezilla]]></category>
		<category><![CDATA[.htaccess tricks]]></category>
		<category><![CDATA[.htaccess url redirection]]></category>
		<category><![CDATA[htaccess invisible]]></category>
		<category><![CDATA[make htaccess visible]]></category>
		<category><![CDATA[make htaccess visible in CuteFTP]]></category>
		<category><![CDATA[SEO Friendly URL using .htaccess]]></category>
		<category><![CDATA[show .htaccess files]]></category>
		<category><![CDATA[view htaccess in ftp program]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=355</guid>
		<description><![CDATA[As all we know that <strong>.htaccess</strong> is very popular for <strong>redirecting URLS</strong> and making <strong>SEO Friendly URLS</strong>. Using htaccess , your url looks like <strong>static url</strong> and most search engines can read your url very easily. Dynamic url with query string is difficult to read for search engines as there will be a query string in url.


<strong>Related Posts:</strong><ol><li><a href='http://www.programmingfacts.com/find-last-visible-div-using-jquery/' rel='bookmark' title='Permanent Link: Find last visible div using jQuery'>Find last visible div using jQuery</a></li>
<li><a href='http://www.programmingfacts.com/set-php-configurationphp-ini/' rel='bookmark' title='Permanent Link: How to set PHP configuration(php.ini) values from .htaccess file'>How to set PHP configuration(php.ini) values from .htaccess file</a></li>
<li><a href='http://www.programmingfacts.com/301-redirect-dynamic-urls-static/' rel='bookmark' title='Permanent Link: 301 Redirect old dynamic URLs to new static URLs using .htaccess'>301 Redirect old dynamic URLs to new static URLs using .htaccess</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/htaccess-invisible-visible/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>301 Redirect old dynamic URLs to new static URLs using .htaccess</title>
		<link>http://www.programmingfacts.com/301-redirect-dynamic-urls-static/</link>
		<comments>http://www.programmingfacts.com/301-redirect-dynamic-urls-static/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 13:20:59 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[.htaccess tricks]]></category>
		<category><![CDATA[Dynamic url to static url htaccess]]></category>
		<category><![CDATA[Helpful tips]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[how to redirect dynamic url to static url]]></category>
		<category><![CDATA[htaccess rules for redirect 301]]></category>
		<category><![CDATA[Magic Tricks]]></category>
		<category><![CDATA[Redirect 301]]></category>
		<category><![CDATA[remove query string from url]]></category>
		<category><![CDATA[SEO Friendly URL using .htaccess]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=349</guid>
		<description><![CDATA[Today i faced a situation where i need to <strong>redirect dynamic URL</strong> of my shopping cart to <strong>static url</strong>. I have changed the <strong>Dynamic URL(with query string , ? and &#38;)</strong> to <strong>static one</strong> in my sunshop shopping cart. But still if i will open dynamic url with query string than it shows the content. This is a big <strong>issue with search engine</strong> as they will consider this dynamic page and static page as two different page and <strong>duplicate content</strong> issue araise.


<strong>Related Posts:</strong><ol><li><a href='http://www.programmingfacts.com/solved-error-creating-folder/' rel='bookmark' title='Permanent Link: Solved &#8211; Error creating folder &#8220;redirect:/index.php&#8221; (Can&#8217;t create redirect: directory)'>Solved &#8211; Error creating folder &#8220;redirect:/index.php&#8221; (Can&#8217;t create redirect: directory)</a></li>
<li><a href='http://www.programmingfacts.com/redirect-domain-htaccess/' rel='bookmark' title='Permanent Link: Redirect one domain to another using .htaccess'>Redirect one domain to another using .htaccess</a></li>
<li><a href='http://www.programmingfacts.com/htaccess-invisible-visible/' rel='bookmark' title='Permanent Link: .htaccess is invisible &#8211; How to make it visible in FTP Program like CuteFTP , Filezilla'>.htaccess is invisible &#8211; How to make it visible in FTP Program like CuteFTP , Filezilla</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/301-redirect-dynamic-urls-static/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to restrict users from accessing files &amp; directory level(Protect directory) using .htaccess</title>
		<link>http://www.programmingfacts.com/how-to-restrict-users-from-accessing-files-directory-levelprotect-directory-using-htaccess/</link>
		<comments>http://www.programmingfacts.com/how-to-restrict-users-from-accessing-files-directory-levelprotect-directory-using-htaccess/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 20:49:10 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[.htaccess tricks]]></category>
		<category><![CDATA[Ban IP from access]]></category>
		<category><![CDATA[Ban IP range from access]]></category>
		<category><![CDATA[Deny access from directory]]></category>
		<category><![CDATA[Helpful tips]]></category>
		<category><![CDATA[Magic Tricks]]></category>
		<category><![CDATA[Protect folders and files]]></category>
		<category><![CDATA[Protect using .htaccess]]></category>
		<category><![CDATA[Restrict users folder access]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=312</guid>
		<description><![CDATA[Today i faced a situation where i have to <strong>restrict or deny users</strong> from accessing <strong>files and folders</strong> of my web application directly by entering <strong>URL in browser</strong> which contain very important contents like <strong>images,pdfs,docs,etc.</strong> For this what i need to do is to protect the files and folders(directory) which contains images,pdfs and docs. We can restrict users from accessing files,folders and subfolders by using <strong>.htaccess(Hyper Text Files).</strong>


<strong>Related Posts:</strong><ol><li><a href='http://www.programmingfacts.com/solved-error-creating-folder/' rel='bookmark' title='Permanent Link: Solved &#8211; Error creating folder &#8220;redirect:/index.php&#8221; (Can&#8217;t create redirect: directory)'>Solved &#8211; Error creating folder &#8220;redirect:/index.php&#8221; (Can&#8217;t create redirect: directory)</a></li>
<li><a href='http://www.programmingfacts.com/upload-files-wordpress-postpage/' rel='bookmark' title='Permanent Link: How to Upload Files to a WordPress Post/Page'>How to Upload Files to a WordPress Post/Page</a></li>
<li><a href='http://www.programmingfacts.com/upload-largebig-files-php-htaccess/' rel='bookmark' title='Permanent Link: Upload large(Big) files in PHP using .htaccess'>Upload large(Big) files in PHP using .htaccess</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/how-to-restrict-users-from-accessing-files-directory-levelprotect-directory-using-htaccess/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to remove index.php from url using .htaccess (mod_rewrite)</title>
		<link>http://www.programmingfacts.com/how-to-remove-index-php-from-url-using-htaccess-mod_rewrite/</link>
		<comments>http://www.programmingfacts.com/how-to-remove-index-php-from-url-using-htaccess-mod_rewrite/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 07:45:52 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[.htaccess tricks]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[Redirect 301 using .htaccess]]></category>
		<category><![CDATA[remove index.php]]></category>
		<category><![CDATA[Remove index.php from URL]]></category>
		<category><![CDATA[remove the index.php from web address]]></category>
		<category><![CDATA[RewriteRules]]></category>
		<category><![CDATA[Search Engine Friendly URL]]></category>
		<category><![CDATA[SEO Friendly URL using .htaccess]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=229</guid>
		<description><![CDATA[For better <strong>SEO optimization</strong> and make urls more <strong>search engine friendly</strong> , <strong>remove index.php from URL </strong>and make it easier to read. This can be done by writing only <strong>two lines in your .htaccess</strong>(mod_rewrite in apache) file. <strong>Before writing</strong> this rule in .htaccess , <strong>make sure</strong> that your <strong>mod_rewrite is enabled</strong>(On) in your <strong>apache server</strong>.


<strong>Related Posts:</strong><ol><li><a href='http://www.programmingfacts.com/redirect-domain-htaccess/' rel='bookmark' title='Permanent Link: Redirect one domain to another using .htaccess'>Redirect one domain to another using .htaccess</a></li>
<li><a href='http://www.programmingfacts.com/upload-largebig-files-php-htaccess/' rel='bookmark' title='Permanent Link: Upload large(Big) files in PHP using .htaccess'>Upload large(Big) files in PHP using .htaccess</a></li>
<li><a href='http://www.programmingfacts.com/htaccess-invisible-visible/' rel='bookmark' title='Permanent Link: .htaccess is invisible &#8211; How to make it visible in FTP Program like CuteFTP , Filezilla'>.htaccess is invisible &#8211; How to make it visible in FTP Program like CuteFTP , Filezilla</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/how-to-remove-index-php-from-url-using-htaccess-mod_rewrite/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>How to redirect www to non-www and non-www to www URL using .htaccess redirect(mod_rewrite)</title>
		<link>http://www.programmingfacts.com/how-to-redirect-www-to-non-www-and-non-www-to-www-url-using-htaccess-mod_rewrite/</link>
		<comments>http://www.programmingfacts.com/how-to-redirect-www-to-non-www-and-non-www-to-www-url-using-htaccess-mod_rewrite/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 06:41:48 +0000</pubDate>
		<dc:creator>Rakshit Patel</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Helpful Tips and Tricks]]></category>
		<category><![CDATA[.htaccess tricks]]></category>
		<category><![CDATA[.htaccess url redirection]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[non-www to www redirect]]></category>
		<category><![CDATA[remove non-www from url]]></category>
		<category><![CDATA[remove www from url]]></category>
		<category><![CDATA[RewriteRules]]></category>
		<category><![CDATA[www to non-www redirect]]></category>

		<guid isPermaLink="false">http://www.programmingfacts.com/?p=223</guid>
		<description><![CDATA[<strong>Websites</strong> can be access with <strong>www </strong>and <strong>without www</strong> also. Since Search engines consider <strong>http://www.programmingfacts.com</strong> and <strong>http://programmingfacts.com</strong> different websites. It might be a case of <strong>duplicate content. </strong>So you must <strong>stick your domain</strong> name accessible <strong>either </strong>with <strong>www </strong>or <strong>without www</strong>.


<strong>Related Posts:</strong><ol><li><a href='http://www.programmingfacts.com/solved-error-creating-folder/' rel='bookmark' title='Permanent Link: Solved &#8211; Error creating folder &#8220;redirect:/index.php&#8221; (Can&#8217;t create redirect: directory)'>Solved &#8211; Error creating folder &#8220;redirect:/index.php&#8221; (Can&#8217;t create redirect: directory)</a></li>
<li><a href='http://www.programmingfacts.com/redirect-domain-htaccess/' rel='bookmark' title='Permanent Link: Redirect one domain to another using .htaccess'>Redirect one domain to another using .htaccess</a></li>
<li><a href='http://www.programmingfacts.com/htaccess-invisible-visible/' rel='bookmark' title='Permanent Link: .htaccess is invisible &#8211; How to make it visible in FTP Program like CuteFTP , Filezilla'>.htaccess is invisible &#8211; How to make it visible in FTP Program like CuteFTP , Filezilla</a></li>
</ol>]]></description>
		<wfw:commentRss>http://www.programmingfacts.com/how-to-redirect-www-to-non-www-and-non-www-to-www-url-using-htaccess-mod_rewrite/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 35/168 queries in 1.631 seconds using disk

Served from: www.programmingfacts.com @ 2010-09-08 23:48:33 -->