<?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>Htaccess Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/category/htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/category/htaccess/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Fri, 06 Aug 2021 13:05:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>How to redirect non-www URLs to www?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-redirect-non-www-urls-to-www/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-redirect-non-www-urls-to-www/#respond</comments>
		
		<dc:creator><![CDATA[Amardeep Dubey]]></dc:creator>
		<pubDate>Fri, 06 Aug 2021 12:54:36 +0000</pubDate>
				<category><![CDATA[Htaccess]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7511</guid>

					<description><![CDATA[<p>To redirect your website from non-www to www, add the following lines in your website’s .htaccess file: Replace yourdomain.com with your actual domain name.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-redirect-non-www-urls-to-www/">How to redirect non-www URLs to www?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">To redirect your website from <strong>non-www </strong>to<strong> www</strong>, add the following lines in your website’s .htaccess file:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain.com &#x5B;NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 &#x5B;L,R=301]
</pre></div>


<p class="wp-block-paragraph">Replace <strong>yourdomain.com</strong> with your actual domain name.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-redirect-non-www-urls-to-www/">How to redirect non-www URLs to www?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-redirect-non-www-urls-to-www/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
