Guys, I have a problem with pagination.
My site have sessions (index.php?s=NAME)
and I linked the WP in “/blog/home.php” (the URL is index.php?s=blog/home)
but when I click on “next page”, the page doesnt exist.
The URL: “blog/index.php?s=blog%2Fhome&paged=2”
should be “index.php?s=blog/home&paged=2”
If WP is in the ‘blog/’ directory its going to want that ‘blog/’ in the URL.
I think there are some things I don’t understand about your what you are trying to do.
1) Are you linking from the main site to the blog?
2) Are you linking from the blog to the main site?
3) What is generating these links?
Not to be paranoid, but I worry about the way your site includes files. I’ve been able to get some interesting results by playing with the URL, though I haven’t got to anything critical yet I’m pretty sure I could. Try this for example: