This is really starting to look like something that will never get fixed! I've tried EVERYTHING I found on the internet and it doesn't work.
The navigations on the pages (more results, 1,2,3 etc.) all fail after the first page. The first page of search results, blog posts, categories and everything works correctly but after that it all goes to a 404 error. It detects the right number of posts to show per page correctly but then fails to show it in the next page.
I've since tried:
-Disabling all plugins
-Removing htaccess file and letting Wordpress make another one by clicking Save Changes in the Permalink settings
-Trying all kinds of permalink structures, e.g. going back to the default.
-Changing the last blog posts and RSS entries setting in Reading settings page to any number that was suggested on forums and everywhere
-Checking whether it's my hosting that has the problem, which turned out the same theme I'm using now is being used by somebody else on the very same reseller account by my friend and the second pages work on his!
-Making changes to the rewrite.php file
NONE of these worked. I'm running out of ideas, so please if anyone has any idea why this is happening let me know. I've spent countless hours trying to fix this but it just keeps on showing the 404 page.
Current Permalink structure is:
/%postname%/
.htaccess content:
# -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 daycagayrimenkul.com
AuthUserFile /home/daycagay/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/daycagay/public_html/_vti_pvt/service.grp
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Website's address is: http://www.daycagayrimenkul.com/
Example page with the problem:
Notice that the " More Results »" link at the bottom goes to a 404 page, although it does have results to show.
Please, any kind of input or help is appreciated. Thanks
Edit:
I just tested my template files (copied everything and put it on a new installation) and they worked. However, when I imported all my data from my old installation, that's when the second pages started to crash again. So I've isolated the problem to be in the data which Wordpress exports, but sadly when I deleted all my posts one by one after importing, to see which one's the culprit, none of them were! Deleted all categories and posts and still the second pages cease to work after importing the data.
I can't really write everything from scratch (the posts etc.) because there's about 1,500 posts/pages/categories. Is there any way to have a debug mode to find out where the data is failing?