Title: mod rewrite problem
Last modified: August 19, 2016

---

# mod rewrite problem

 *  [Miguelmateos](https://wordpress.org/support/users/miguelmateos/)
 * (@miguelmateos)
 * [18 years ago](https://wordpress.org/support/topic/mod-rewrite-problem/)
 * infectedbybugs.com is the site I have had this problem on another site before
   just can’t remember how I fixed it this is not my site but I am trying to help
   the guy fix it for him anyways here is the problem
 * when you navigate to the bottom of the page and click on page 2 page 3 page 4
   ect… ect… it goes to these pages but only shows post from the first page so basically
   it is just repeating the index page on every page I know this is just a simple
   php code that needs to be added just can’t remeber what the code is and exactly
   where it needs to be added any help would be appreciated

Viewing 1 replies (of 1 total)

 *  [ivovic](https://wordpress.org/support/users/ivovic/)
 * (@ivovic)
 * [18 years ago](https://wordpress.org/support/topic/mod-rewrite-problem/#post-767718)
 * you using query_posts in your index page?
 * if so make sure you’re doing something like:
 * query_posts($query_string.’&cat=-1,-2′);
 * the query string is important

Viewing 1 replies (of 1 total)

The topic ‘mod rewrite problem’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 2 participants
 * Last reply from: [ivovic](https://wordpress.org/support/users/ivovic/)
 * Last activity: [18 years ago](https://wordpress.org/support/topic/mod-rewrite-problem/#post-767718)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
