RazorSA
Member
Posted 3 years ago #
Hi, In my new blog, 2.0.1, at http://www.lsc.uct.ac.za, I can't get the "Previous Post" link at the very bottom of the blog to work at all...
I have re-uploaded all of the files, and it still does not work. It does NOT depend on the theme, so it is the core files somewhere...
Any ideas? Anywhere I could look next? Something I could try?
Thanks!!!!!
You're theme should contain both of these:
<?php next_posts_link('« Previous Entries') ?>
<?php previous_posts_link('Next Entries »') ?>
Which looking at the code output, it probably does.
My first thought looking at this is an issue with your permalinks/.htaccess?
Try Rebuilding your .htaccess file (Admin->Options->PermaLinks)
RazorSA
Member
Posted 3 years ago #
I don't actually have any permalinks setup, I have the default 'index.php?paged=2' instead of '/page/2'
Any other ideas ????
Try posting various variables to the index.php file...
Try posting something random: '?dfsfd=2' , then try '?paged=2' ... What is the difference ???
RazorSA
Member
Posted 3 years ago #
^bump^ ... Please help me out guys... This has got me confused !!!!!
Take a look into the file .htaccess. It looks like the permalink-structure is working the other way. You request ?paged=2 and the server complains about not finding /page/2 ...
RazorSA
Member
Posted 3 years ago #
Can't you please just take a look at the website, you will see exactly what I mean.
I don't have htaccess setup at all at the moment !!!
Just try view the previous posts...
I think that there is an "inc" file which is corrupt or something...
RazorSA
Member
Posted 3 years ago #
IIIIIIIV
Member
Posted 3 years ago #
You sure you haven't enabled url rewriting somewhere? The source of that page has ?paged=2 but it's being redirected to /page/2 which doesn't exist. For that to happen, you have a url rewriting scheme somewhere, 99.999% chance that it's in a .htaccess.
See what I'm getting at?
RazorSA
Member
Posted 3 years ago #
I understand exactly what you are getting at. I know that it *must* be in a .htaccess file, except there are NO .htaccess files in my root directory or any other directory...