Viewing 5 replies - 1 through 5 (of 5 total)
  • Just trying to understand what are you doing…

    example.com/subfolder – this is where WP lives
    example.com – this is where you display your blog AND you set a static Page as your frontpage
    then you have set anothe Page (titled “Blog”) as your posts page

    Right?

    Question: what is the name of your subfolder where WP is installed?

    Thread Starter kadavy

    (@kadavy)

    Thanks so much for your reply, moshu, sorry for my delay in responding…

    example.com/wp is where WP lives
    example.com is where I display a static page as my front page
    example.com/blog is my blog home
    example.com/blog/page/2/ is where my “older posts” link goes to (which returns a 404)
    example.com/page/2/ displays what I would like for the above link to display (a list of the the 11-20th most recent posts)

    Thanks for your help.

    Thread Starter kadavy

    (@kadavy)

    One more (odd) thing:

    example.com/blog/category/categoryname/page/2/ displays just fine for some reason. [shrug]

    Thread Starter kadavy

    (@kadavy)

    I found that changing the Permalink structure from /blog/%postname%/ to /blog/posts/%postname%/ fixed the problem. I’d rather not set things up this way, but it does fix it. If anyone knows a way to set it up otherwise, please let me know!

    i’ve found a temporary solution

    i was having the very same problem under wordpress 2.5.0.

    Just edit the file /wp-includes/link-template.php
    function get_pagenum_link ….

    (around line number 600)

    After ” $request = remove_query_arg(‘paged’);”
    Add the following lines

    $request=”/”;
    if($pagenum==1)
    $request=”/blog”;

    this will overwrite the /blog of the /blog/page/x of the href of the problematic link to previous and following posts. Although, if the user is returning to the front page of the blog, it restores the “/blog” so the user doesn’t end opening the front page of the whole site (“https://site/”).

    I think this problem is a bug… but i don’t know… with this simple solution we can make a workaround until it is solved.

    hope it helps

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘“Older posts” with static front page and blog in own directory’ is closed to new replies.