WordPress.org

Support

Support » How-To and Troubleshooting » in post links to second “page”

in post links to second “page”

  • I’m new at this but I thought that I would take one of my really long posts and use the NEXT PAGE feature to break it into two pages. I forgot that I had links in the first “page” to stuff in the second. Jump or target links I think they are called. Don’t know.

    So now when someone clicks a link with #stuff that is below the NEXT PAGE taggie thing, it reloads the page but doesn’t link to page 2.

    How do I get these to work? They are in the some post, but WP sees it different when the page is in the screen.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes, because the URI of the second page is something like this (when using permalinks)
    http://www.yoursite.com/blog/2005/05/26/paged/2/
    so the #stuff should come AFTER this. It won’t work directly, but there is a workaround. Make your links like this:
    <a href="./2005/05/26/paged/2/#stuff">link</a>
    Of course, change it according to your permalink structure.

    I’m not using permalinks, so would this be differnt? And what’s the period mean?

    Don’t worry about the period 🙂 That makes the link to start with the URI where your blog is.
    If you don’t use permalinks check what is in the address bar when you click on “2” or “3” when seeing the next “page” of the paged post, and copy the part that comes after yoursite.com or yoursite.com/blog/` – depending on where you blog is (i.e. in the root or in a directory) + add the #stuff part as above.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘in post links to second “page”’ is closed to new replies.
Skip to toolbar