<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" 
  xmlns:content="http://purl.org/rss/1.0/modules/content/" 
  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:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>server on John hashim</title>
    <link>https://johnhashim.com/tags/server/</link>
    <description>Recent content in server on John hashim</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>johnnyhashim [at] gmail.com (john hashim)</managingEditor>
    <webMaster>johnnyhashim [at] gmail.com (john hashim)</webMaster>
    <copyright>&amp;copy;{year}, All Rights Reserved</copyright>
    <lastBuildDate>Thu, 13 Aug 2020 22:41:09 -0400</lastBuildDate>
    
        <atom:link href="https://johnhashim.com/tags/server/index.xml" rel="self" type="application/rss+xml" />
    

      
      <item>
        <title>How to redirect non-www URLs to www?</title>
        <link>https://johnhashim.com/posts/how-to-redirect-non-www-urls-to-www/</link>
        <pubDate>Thu, 13 Aug 2020 22:41:09 -0400</pubDate>
        <author>johnnyhashim [at] gmail.com (john hashim)</author>
        <atom:modified>Thu, 13 Aug 2020 22:41:09 -0400</atom:modified>
        <guid>https://johnhashim.com/posts/how-to-redirect-non-www-urls-to-www/</guid>
        <description>To redirect your website from non-www to www, add the following lines in your website’s .htaccess file:
RewriteEngine On RewriteCond %{HTTP_HOST} ^domain.com [NC] RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301] Replace domain.com with your actual domain name.</description>
        
        <dc:creator>john hashim</dc:creator>
        <media:content url="https://johnhashim.com/images/feature3/code-file.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>server</category>
            
          
        
        
          
            
              <category>programming</category>
            
          
        
        
          
            
              <category>htaccess</category>
            
          
        
      </item>
      
      <item>
        <title>How to redirect www URLs to non-www?</title>
        <link>https://johnhashim.com/posts/how-to-redirect-www-urls-to-nonwww/</link>
        <pubDate>Thu, 13 Aug 2020 22:41:09 -0400</pubDate>
        <author>johnnyhashim [at] gmail.com (john hashim)</author>
        <atom:modified>Thu, 13 Aug 2020 22:41:09 -0400</atom:modified>
        <guid>https://johnhashim.com/posts/how-to-redirect-www-urls-to-nonwww/</guid>
        <description>To redirect all requests to non-www, add the following lines at the beginning of your website’s .htaccess file:
RewriteEngine On RewriteCond %{HTTP_HOST} ^www.domain.com [NC] RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301] Replace domain.com with your actual domain name.</description>
        
        <dc:creator>john hashim</dc:creator>
        <media:content url="https://johnhashim.com/images/feature3/code-file.png" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>server</category>
            
          
        
        
          
            
              <category>programming</category>
            
          
        
        
          
            
              <category>htaccess</category>
            
          
        
      </item>
      

    
  </channel>
</rss>