title: Wordpress pagination gives 404 error
body: <p>I have the following situation ,</p>
  
  <p>in wordpress 3.5 installation I have a page called "blog" and I assigned it to be the posts page in the  settings->reading so I can show my posts now in domain.com/blog/</p>
  
  <p>the problem is it gives me 404 error page in the when I try to paginate the posts 
  the url is like this domain.com/blog/page/2 but it gives me 404 error page</p>
  
  <p>I think it is a rewrite problem so I added the following line into my functions.php</p>
  
  <pre><code>add_rewrite_rule('blog/([^/]+)/page/?([0-9]{1,})/?$',  'index.php?name=$matches[1]&amp;paged=$matches[2]', "top");
  </code></pre>
  
  <p>but really nothing happend</p>