Just realized when I click on Previous entries at the bottom of my index page, it goes to /page/2/ but it's a 404... any ideas?
Just realized when I click on Previous entries at the bottom of my index page, it goes to /page/2/ but it's a 404... any ideas?
I wish I had an answer for you, but I'm experiencing the same thing. :-(
Looked through forum and discovered it was a Permalink Redirect plugin problem. Deactivated and all is working fine now. Could this also be your problem?
Nope, I don't have any extra plug-ins installed.
Bump
and what happens if you switch to the default theme, Benjette? And whats in your .htaccess?
Strangely, WP is puking up a 404 when I try to bring up your .htaccess .. that a very odd behaviour. It should not be doing that.
Benjette, can you see page 2 if you are logged into the admin panel?
I am having the same problem with my links page. Oddly, if I am not logged in, the page redirects as a 404. If I am logged in, the page renders normally. (And, of course, that means no one else anywhere can access it.)
There are no if_user logged in variables anywhere on the page. I have deactivated/removed plugins (no conflicts), reset permalink options (no improvement) and it still redirects to a 404.
This began with the upgrade to 2.3.
are the posts on page 2 published, infinitewarrior?
I happened to notice that publishing seems to be a more than a one click action now, and consequently, ppl think theyre publishing while they're really not.
I've no issues w/page 2 as Benjette does, whooami. Everything works fine for me with the exception of a single Page, which is in 'published' mode. (Good thought, though.)
There aren't enough posts for a page 2 to be active in the default theme, so I'm not sure about that.
I can't see the pages even when I'm logged in.
This is my htaccess:
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName beeteedubs.com
AuthUserFile /home/beeteedu/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/beeteedu/public_html/_vti_pvt/service.grp
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressI'm having the problem that Benjette describes as well. I don't know if it's linked to 2.5, since my blog is pretty new and there wasn't any pagination happening earlier.
Basically, my previous posts links correctly take me to http://joykim.net/blog/page/2/, but that returns a 404.
Inactivating plugins did not have any effect.
I tried the solution here at:
http://codex.wordpress.org/Using_Permalinks#Fixing_Permalink_Problems
but it did not have any effect either.
My .htaccess file contains the following now:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Any idea what's up?
ETA: I tried changing back to the default theme, and that didn't work as well.
Update: I fixed my problem by changing my permalink structure from:
/blog/%postname%/
to:
/posts/%postname%/
Guess the old structure was interfering with the pagination somehow.
Same error for me. All pages and sub-pages will give 404 error.
Changing to default theme will not help.
My current permalink structure is Custom structure /index.php/%postname%/ and it has been working from version 1.56.
Changing permalink structure to default will solve 404-problem but this is not a solution. Same thing happens in multiple blogs I maintain.
If it helps, I used this tutorial to change my permalinks without breaking old links:
http://www.tubetorial.com/change-wordpress-blog-links-without-breaking-them/
It's basically a guide to using Dean’s Permalinks Migration Plugin.
Well, I can't get this to work either.
2.5 powered blog, I've tried the suggestions above. It just doesn't work.
I'm experiencing the same problem. I just upgraded to 2.5 and still my "previous entries" link on the main page doesn't work. All the other permalinks are fine, and pagination of the posts in subpages (e.g. categories, or archives) are ok, as you can see for instance from:
http://www.bivacco.net/marco/categorie/comunicazione/page/2/ (works fine)
while http://www.bivacco.net/marco/page/2/ returns a 404
If I change my permalink structure to PATHINFO the main page pagination works, but I'd really like to keep 'index.php' out of my links :-(
BTW, I just noticed that Benjette apparently solved her problem: http://retardedinlove.com/page/2/ loads fine... Benjette, any magic recipe?
Hi,
while benjette don't post the magic recipe, I kinda solve this problem.
Please check http://wordpress.org/support/topic/167305.
HTH
Hi, just wanted to post that we were having this issue and solved it a little differently. I don't know why one thing works for some and not for others but here was our situation.
our permalink structure is /%category%/%postname%
http://www.oursite.com/news listed all of our news category posts and at the bottom had a link for previous posts that would always give a 404 if you clicked it. That link looked like http://www.oursite.com/news/page/2
Change our navigation to access the news page to be http://www.oursite.com/category/news resolved the issue. It made the link at the bottom of the page be http://www.oursite.com/category/news/page/2 and from that point on all the previous and next links worked just fine.
hope this helps the next person that comes along!
I have tried all of the above and neither one has worked for me. I am having exactly the same problem as described for several people here...
permalink structure: /%category%/%postname%
In this case...
This calls the archive.php
archive.php has an include: if (in_category("news")) INSERT news_arquive.php
In news_archive.php I have the following code:
<?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1;?>
<?php query_posts("cat=7&showposts=5&paged=$page");?>
And then in the bottom I have the previous and next links. They point to:
But that doesn't seem to exist so I get a 404 page.
Question is.. WHY?
everything i described above works just fine on index.php (home page)...
why doesn't it work on the news category?
The index.php is almost identical to the news category page except that it has other images before the posts.
and it also works if I add an category base to the permalink structure... but I really dont want a category base...
I changed my Permalink structure from "default" to "date and name based" and started getting 404 errors when clicking on Previous Entries. Changing it back to "default" fixed the problem. I'm on WordPress version 2.3.3.
You must log in to post.