<?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>Server &amp; .htaccess Archives - Belchamber Web Tools, AI Guidance &amp; Code</title>
	<atom:link href="https://tools.belchamber.us/code-snippets/server-htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>https://tools.belchamber.us/code-snippets/server-htaccess/</link>
	<description>Aaron Belchamber: AI-Centric Senior Cloud Software Engineer - Jacksonville FL</description>
	<lastBuildDate>Wed, 21 Feb 2024 19:41:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<site xmlns="com-wordpress:feed-additions:1">99928718</site>	<item>
		<title>.htaccess: Password protecting single files on your website</title>
		<link>https://tools.belchamber.us/htaccess-password-protecting-single-files-on-your-website/</link>
					<comments>https://tools.belchamber.us/htaccess-password-protecting-single-files-on-your-website/#respond</comments>
		
		<dc:creator><![CDATA[Aaron Belchamber]]></dc:creator>
		<pubDate>Mon, 21 Sep 2015 14:27:37 +0000</pubDate>
				<category><![CDATA[Server & .htaccess]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[.htaccess trips]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[web security]]></category>
		<guid isPermaLink="false">http://tools.belchamber.us/?p=934</guid>

					<description><![CDATA[<p>This is very simple.  For any file you want to have its own password protection, create an .htaccess file in the folder the file resides.  Just replace &#8220;pagename.html&#8221; for the file.  Then, just go to our .htpasswd password generator and create the .htpasswd file in the format:  username:password, where username is the name required to [&#8230;]</p>
<p>The post <a href="https://tools.belchamber.us/htaccess-password-protecting-single-files-on-your-website/">.htaccess: Password protecting single files on your website</a> appeared first on <a href="https://tools.belchamber.us">Belchamber Web Tools, AI Guidance &amp; Code</a>.</p>
]]></description>
		
					<wfw:commentRss>https://tools.belchamber.us/htaccess-password-protecting-single-files-on-your-website/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">934</post-id>	</item>
		<item>
		<title>Solving &#8220;Network Error: Connection Refused&#8221; errors when trying to Putty into LAMP stack</title>
		<link>https://tools.belchamber.us/solving-network-error-connection-refused-errors-when-trying-to-putty-into-lamp-stack/</link>
					<comments>https://tools.belchamber.us/solving-network-error-connection-refused-errors-when-trying-to-putty-into-lamp-stack/#respond</comments>
		
		<dc:creator><![CDATA[Aaron Belchamber]]></dc:creator>
		<pubDate>Mon, 22 Jun 2015 14:23:55 +0000</pubDate>
				<category><![CDATA[Server & .htaccess]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[openssh]]></category>
		<guid isPermaLink="false">http://tools.belchamber.us/?p=862</guid>

					<description><![CDATA[<p>Trying to putty into your server, you may get a &#8220;Connection Refused&#8221; error.  That&#8217;s usually because the Open SSH server and client aren&#8217;t installed, just run this at the command line and restart Apache. sudo apt-get install openssh-server openssh-client</p>
<p>The post <a href="https://tools.belchamber.us/solving-network-error-connection-refused-errors-when-trying-to-putty-into-lamp-stack/">Solving &#8220;Network Error: Connection Refused&#8221; errors when trying to Putty into LAMP stack</a> appeared first on <a href="https://tools.belchamber.us">Belchamber Web Tools, AI Guidance &amp; Code</a>.</p>
]]></description>
		
					<wfw:commentRss>https://tools.belchamber.us/solving-network-error-connection-refused-errors-when-trying-to-putty-into-lamp-stack/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">862</post-id>	</item>
		<item>
		<title>Linux command line to delete all files and folders in current directory</title>
		<link>https://tools.belchamber.us/linux-command-line-delete-files-folders-current-directory/</link>
					<comments>https://tools.belchamber.us/linux-command-line-delete-files-folders-current-directory/#respond</comments>
		
		<dc:creator><![CDATA[Aaron Belchamber]]></dc:creator>
		<pubDate>Fri, 02 Jan 2015 08:23:24 +0000</pubDate>
				<category><![CDATA[Server & .htaccess]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux tips]]></category>
		<guid isPermaLink="false">http://tools.belchamber.us/?p=662</guid>

					<description><![CDATA[<p>In Linux, &#8220;cd&#8221; your way to the directory you want to completely clean out, then type: I suggest going into the directory first, then &#8220;ls&#8221; to list the contents so you can see what you&#8217;re deleting before using this command, though! Just a reminder, the prompt symbol is the &#8220;$&#8221; you don&#8217;t type that, on [&#8230;]</p>
<p>The post <a href="https://tools.belchamber.us/linux-command-line-delete-files-folders-current-directory/">Linux command line to delete all files and folders in current directory</a> appeared first on <a href="https://tools.belchamber.us">Belchamber Web Tools, AI Guidance &amp; Code</a>.</p>
]]></description>
		
					<wfw:commentRss>https://tools.belchamber.us/linux-command-line-delete-files-folders-current-directory/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">662</post-id>	</item>
		<item>
		<title>Unzip file to destination folder in LAMP command line</title>
		<link>https://tools.belchamber.us/unzip-file-destination-folder-lamp-command-line/</link>
					<comments>https://tools.belchamber.us/unzip-file-destination-folder-lamp-command-line/#respond</comments>
		
		<dc:creator><![CDATA[Aaron Belchamber]]></dc:creator>
		<pubDate>Mon, 01 Dec 2014 12:03:05 +0000</pubDate>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Server & .htaccess]]></category>
		<guid isPermaLink="false">http://tools.belchamber.us/?p=627</guid>

					<description><![CDATA[<p>The post <a href="https://tools.belchamber.us/unzip-file-destination-folder-lamp-command-line/">Unzip file to destination folder in LAMP command line</a> appeared first on <a href="https://tools.belchamber.us">Belchamber Web Tools, AI Guidance &amp; Code</a>.</p>
]]></description>
		
					<wfw:commentRss>https://tools.belchamber.us/unzip-file-destination-folder-lamp-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">627</post-id>	</item>
		<item>
		<title>Excluding a specific folder from .htaccess rewrites</title>
		<link>https://tools.belchamber.us/excluding-a-specific-folder-from-htaccess-rewrites/</link>
					<comments>https://tools.belchamber.us/excluding-a-specific-folder-from-htaccess-rewrites/#respond</comments>
		
		<dc:creator><![CDATA[Aaron Belchamber]]></dc:creator>
		<pubDate>Wed, 27 Aug 2014 01:16:53 +0000</pubDate>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Server & .htaccess]]></category>
		<guid isPermaLink="false">http://tools.belchamber.us/?p=492</guid>

					<description><![CDATA[<p>Here&#8217;s a useful .htaccess snippet if you need to exclude a folder from your .htaccess rewrite. RewriteEngine On RewriteCond %{REQUEST_URI} !^/exclude-folder/.*$ RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1</p>
<p>The post <a href="https://tools.belchamber.us/excluding-a-specific-folder-from-htaccess-rewrites/">Excluding a specific folder from .htaccess rewrites</a> appeared first on <a href="https://tools.belchamber.us">Belchamber Web Tools, AI Guidance &amp; Code</a>.</p>
]]></description>
		
					<wfw:commentRss>https://tools.belchamber.us/excluding-a-specific-folder-from-htaccess-rewrites/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">492</post-id>	</item>
		<item>
		<title>Force &#8220;www&#8221; in domain and prevent hotlinking and bandwidth stealing from your website</title>
		<link>https://tools.belchamber.us/force-www-in-domain-and-prevent-hotlinking-and-bandwidth-stealing-from-your-website/</link>
					<comments>https://tools.belchamber.us/force-www-in-domain-and-prevent-hotlinking-and-bandwidth-stealing-from-your-website/#respond</comments>
		
		<dc:creator><![CDATA[Aaron Belchamber]]></dc:creator>
		<pubDate>Thu, 15 May 2014 00:36:26 +0000</pubDate>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Server & .htaccess]]></category>
		<guid isPermaLink="false">http://tools.belchamber.us/?p=267</guid>

					<description><![CDATA[<p>In your .htaccess file, replace &#8220;prolificfutility.com&#8221; with your own website. The second set of rewrite conditions will allow search engines to crawl your site but redirect other requests from external sites to a single image or feel free to redirect them to another site! &#60;IfModule mod_rewrite.c&#62; #  Force www in website address RewriteCond %{HTTP_HOST} ^prolificfutility.com [&#8230;]</p>
<p>The post <a href="https://tools.belchamber.us/force-www-in-domain-and-prevent-hotlinking-and-bandwidth-stealing-from-your-website/">Force &#8220;www&#8221; in domain and prevent hotlinking and bandwidth stealing from your website</a> appeared first on <a href="https://tools.belchamber.us">Belchamber Web Tools, AI Guidance &amp; Code</a>.</p>
]]></description>
		
					<wfw:commentRss>https://tools.belchamber.us/force-www-in-domain-and-prevent-hotlinking-and-bandwidth-stealing-from-your-website/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">267</post-id>	</item>
		<item>
		<title>Quick reference to create URL rewrites in .htaccess</title>
		<link>https://tools.belchamber.us/quick-reference-to-create-rewrite-in-htaccess/</link>
					<comments>https://tools.belchamber.us/quick-reference-to-create-rewrite-in-htaccess/#comments</comments>
		
		<dc:creator><![CDATA[Aaron Belchamber]]></dc:creator>
		<pubDate>Sat, 26 Apr 2014 02:36:58 +0000</pubDate>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Server & .htaccess]]></category>
		<guid isPermaLink="false">http://tools.belchamber.us/?p=248</guid>

					<description><![CDATA[<p>If you just want to redirect an individual page, set the rewrite rules below by replacing &#8220;page1&#8221; with the page your want to redirect to, in this case it is &#8220;new-page1&#8221;. The &#8220;page1&#8221; on the left can be COMPLETELY DIFFERENT than the destination file, by the way! Do you see the pattern? Notice the (.*) [&#8230;]</p>
<p>The post <a href="https://tools.belchamber.us/quick-reference-to-create-rewrite-in-htaccess/">Quick reference to create URL rewrites in .htaccess</a> appeared first on <a href="https://tools.belchamber.us">Belchamber Web Tools, AI Guidance &amp; Code</a>.</p>
]]></description>
		
					<wfw:commentRss>https://tools.belchamber.us/quick-reference-to-create-rewrite-in-htaccess/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">248</post-id>	</item>
		<item>
		<title>Common .htaccess settings to optimize your website</title>
		<link>https://tools.belchamber.us/common-htaccess-settings-to-optimize-your-website/</link>
					<comments>https://tools.belchamber.us/common-htaccess-settings-to-optimize-your-website/#respond</comments>
		
		<dc:creator><![CDATA[Aaron Belchamber]]></dc:creator>
		<pubDate>Sat, 26 Apr 2014 02:27:51 +0000</pubDate>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Server & .htaccess]]></category>
		<guid isPermaLink="false">http://tools.belchamber.us/?p=245</guid>

					<description><![CDATA[<p>These are snippets for your .htaccess file, comments are after the # hash tags and explain what each snippet does. Replace &#8220;yoursite.com&#8221; with your actual website, of course! # www on all URLs. RewriteCond %{HTTP_HOST} ^yoursite.com [NC] RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301] # Switch to HTTPS version of the site. RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [&#8230;]</p>
<p>The post <a href="https://tools.belchamber.us/common-htaccess-settings-to-optimize-your-website/">Common .htaccess settings to optimize your website</a> appeared first on <a href="https://tools.belchamber.us">Belchamber Web Tools, AI Guidance &amp; Code</a>.</p>
]]></description>
		
					<wfw:commentRss>https://tools.belchamber.us/common-htaccess-settings-to-optimize-your-website/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">245</post-id>	</item>
		<item>
		<title>Optimize your server with caching and compression.  Ideal settings for websites using WordPress, Joomla or Magento.</title>
		<link>https://tools.belchamber.us/optimize-your-server-with-caching-and-compression-ideal-settings-for-websites-using-wordpress-joomla-or-magento/</link>
					<comments>https://tools.belchamber.us/optimize-your-server-with-caching-and-compression-ideal-settings-for-websites-using-wordpress-joomla-or-magento/#respond</comments>
		
		<dc:creator><![CDATA[Aaron Belchamber]]></dc:creator>
		<pubDate>Tue, 11 Mar 2014 02:14:22 +0000</pubDate>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Server & .htaccess]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">http://tools.belchamber.us/?p=142</guid>

					<description><![CDATA[<p>These are pretty standard settings, simply lines entered in your site&#8217;s root .htaccess file.  Be careful modifying your .htaccess file, if you don&#8217;t know what you&#8217;re doing a rogue semi-colon (;) could easily take your site down and throw that dreaded &#8220;500 Server Error&#8221; &#8212; that&#8217;s not the kind of error you want your website [&#8230;]</p>
<p>The post <a href="https://tools.belchamber.us/optimize-your-server-with-caching-and-compression-ideal-settings-for-websites-using-wordpress-joomla-or-magento/">Optimize your server with caching and compression.  Ideal settings for websites using WordPress, Joomla or Magento.</a> appeared first on <a href="https://tools.belchamber.us">Belchamber Web Tools, AI Guidance &amp; Code</a>.</p>
]]></description>
		
					<wfw:commentRss>https://tools.belchamber.us/optimize-your-server-with-caching-and-compression-ideal-settings-for-websites-using-wordpress-joomla-or-magento/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">142</post-id>	</item>
		<item>
		<title>Migrating Joomla articles to a new website and maintain Joomla&#8217;s legacy links with .htaccess rewrite rules</title>
		<link>https://tools.belchamber.us/migrating-joomla-articles-to-a-new-website-and-maintain-joomlas-legacy-links-with-htaccess-rewrite-rules/</link>
					<comments>https://tools.belchamber.us/migrating-joomla-articles-to-a-new-website-and-maintain-joomlas-legacy-links-with-htaccess-rewrite-rules/#respond</comments>
		
		<dc:creator><![CDATA[Aaron Belchamber]]></dc:creator>
		<pubDate>Sat, 08 Mar 2014 17:35:51 +0000</pubDate>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Server & .htaccess]]></category>
		<guid isPermaLink="false">http://tools.belchamber.us/?p=132</guid>

					<description><![CDATA[<p>Moving from Joomla to WordPress can be easy with a little planning.  One problem is the &#8220;legacy&#8221; links from Joomla that aren&#8217;t so search engine friendly.  When migrating to your new site, there are a lot of old links still out there.  You don&#8217;t want to frustrate your visitors with 404 &#8220;page not found&#8221; errors [&#8230;]</p>
<p>The post <a href="https://tools.belchamber.us/migrating-joomla-articles-to-a-new-website-and-maintain-joomlas-legacy-links-with-htaccess-rewrite-rules/">Migrating Joomla articles to a new website and maintain Joomla&#8217;s legacy links with .htaccess rewrite rules</a> appeared first on <a href="https://tools.belchamber.us">Belchamber Web Tools, AI Guidance &amp; Code</a>.</p>
]]></description>
		
					<wfw:commentRss>https://tools.belchamber.us/migrating-joomla-articles-to-a-new-website-and-maintain-joomlas-legacy-links-with-htaccess-rewrite-rules/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">132</post-id>	</item>
	</channel>
</rss>
