title: wordpress website is showing 404 for non-www queries
body: <p>I am having a django python website in domain.com. I am having a blog in a folder called as fmblog inside my public html. I want to access blog by entering domain.com/blog.</p>
  
  <p>My blog is situated in /home/user/public_html/fmblog</p>
  
  <p>So, I have an alias in my virtualhost configuration like the following.</p>
  
  <pre><code>Alias /blog /home/user/public_html/fmblog/
  </code></pre>
  
  <p>My issue is that, I am getting the blog when I try to access www.domain.com/blog. I am getting a 404 error when I try to access <a href="http://domain.com/blog" rel="nofollow">http://domain.com/blog</a>.</p>
  
  <p>Why is this happening? I know this will be fixed if I redirect every non-www requests to www using a rewrite rule. But I dont want to use that as it have some bad effects in my django website. How can I make my blog live even on non-www queries?</p>