Title: Previous Posts Problems
Last modified: August 18, 2016

---

# Previous Posts Problems

 *  [graphicary](https://wordpress.org/support/users/graphicary/)
 * (@graphicary)
 * [18 years, 12 months ago](https://wordpress.org/support/topic/previous-posts-problems/)
 * I’m having some problems with my “previous posts” link at the bottom of my blog.
   I’ve used the search function but didn’t find exactly what I was looking for.
 * Anyway, the problem is that when I click on the “previous posts” link it wants
   to take me to [http://www.mydomain.com/blog/blog/page2](http://www.mydomain.com/blog/blog/page2),
   rather than the correct page which is [http://www.mydomain.com/blog/page/2](http://www.mydomain.com/blog/page/2).
   I can’t for the life of me figure out how to get it to not double the “/blog”
   part of the url. If I manually type in [http://www.mydomain.com/blog/page/2](http://www.mydomain.com/blog/page/2)
   it works fine and the page displays as it should. Even the “next post” link works
   correctly and takes me to [http://www.mydomain.com/blog](http://www.mydomain.com/blog).
 * The php for the link looks like this:
 * <p><span class=”next”><?php previous_posts_link(‘Next Posts’) ?></span>
    <span
   class=”previous”><?php next_posts_link(‘Previous Entries’) ?></span></p>
 * And the .htaccess file looks like:
 * <IfModule mod_rewrite.c>
    RewriteEngine On RewriteBase /wordpress/ RewriteCond%{
   REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wordpress/
   index.php [L] </IfModule>
 * No idea if it has anything to do with either of those, as I’m not a coder, but
   from what I saw in my search of the forum those two pieces of code came up often
   so I thought I’d post them.
 * Any help? There’s got to be some way to fix this but I can’t see how. I’m no 
   coder so it’s possible that it’s something simple and I just don’t see it.

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 12 months ago](https://wordpress.org/support/topic/previous-posts-problems/#post-577393)
 * That’s an old tag – use the latest one:
    [http://codex.wordpress.org/Template_Tags/posts_nav_link](http://codex.wordpress.org/Template_Tags/posts_nav_link)
 *  Thread Starter [graphicary](https://wordpress.org/support/users/graphicary/)
 * (@graphicary)
 * [18 years, 12 months ago](https://wordpress.org/support/topic/previous-posts-problems/#post-577402)
 * Thanks moshu. I thought I’d read somewhere that the tag was outdated. Glad you
   pointed me to the right one. Unfortunately, other than making the code a little
   easier to read, it didn’t do anything to fix the problem. The link still wants
   to take me to /blog/blog/page/2 rather than /blog/page/2.
 * This is driving me nuts!
 *  Thread Starter [graphicary](https://wordpress.org/support/users/graphicary/)
 * (@graphicary)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/previous-posts-problems/#post-577488)
 * Just a quick bump since I posted it at a rather odd hour and likely not a lot
   of people saw it.
 * Anyone have any ideas or suggestions? They’d be greatly appreciated.
 *  [toddorado](https://wordpress.org/support/users/toddorado/)
 * (@toddorado)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/previous-posts-problems/#post-577713)
 * I am having the same problem when, after transferring all of my WP 2.3 files 
   over and going to the upgrade page, the end result is a blog/blog scenario in
   the URL. I’ve never had this problem in previous upgrades. Thought it might be
   in one of the index.php files, but that seemed to be a dead end. Help? Thanks!
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/previous-posts-problems/#post-577714)
 * I can’t help: the site in your profile is going nowhere.
 *  [toddorado](https://wordpress.org/support/users/toddorado/)
 * (@toddorado)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/previous-posts-problems/#post-577715)
 * Sorry – this it is now updated. Even when I enter [http://www.ronkainen.org/blog](http://www.ronkainen.org/blog),
   the extra ‘blog’ is added to the URL.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/previous-posts-problems/#post-577716)
 * And what is in your admin > Options > General for the two URI values?
 *  [toddorado](https://wordpress.org/support/users/toddorado/)
 * (@toddorado)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/previous-posts-problems/#post-577717)
 * I’m not sure I understand. Where specifically will I find these values?
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/previous-posts-problems/#post-577718)
 * Can you read?
    **your admin > Options > General **
 *  [toddorado](https://wordpress.org/support/users/toddorado/)
 * (@toddorado)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/previous-posts-problems/#post-577719)
 * If you mean from my admin screen, can you read that I cannot get there? [http://www.ronkainen.org/blog](http://www.ronkainen.org/blog)
   takes me to a 404 automatically: [http://www.ronkainen.org/blog/blog](http://www.ronkainen.org/blog/blog).
   I do not know why it is appending the final ‘blog’ to the end. Thanks anyway.
   No need to be rude.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Previous Posts Problems’ is closed to new replies.

## Tags

 * [navigation](https://wordpress.org/support/topic-tag/navigation/)
 * [next_posts_link](https://wordpress.org/support/topic-tag/next_posts_link/)
 * [pagination](https://wordpress.org/support/topic-tag/pagination/)
 * [previous](https://wordpress.org/support/topic-tag/previous/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 3 participants
 * Last reply from: [toddorado](https://wordpress.org/support/users/toddorado/)
 * Last activity: [18 years, 7 months ago](https://wordpress.org/support/topic/previous-posts-problems/#post-577719)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
