Viewing 6 replies - 1 through 6 (of 6 total)
  • Try resetting your Permalinks at Dashboard>Settings>Permalinks

    Thread Starter irrer-drongo

    (@irrer-drongo)

    I tried /%year%/%monthnum%/%day%/%postname%/
    or /%postname%/ or /Archive/%post_id%
    I get an error in the loop – page not found. It shows no posts or pages. But that is a general problem. With these permalinks I have the same error when I open the page at https://141.64.68.151/wordpressgocart/

    Mmm weird.
    For the pagination this theme uses default worpdress function
    previous_posts_link()
    next_posts_link()

    Did you try with a standard wordpress theme, e.g. twentyfifteen ?

    Thread Starter irrer-drongo

    (@irrer-drongo)

    Now I did. Same problem. Meaning: you can’t use self-hosted-wordpress with a rented Domain using URL-hiding. Strange.

    Thread Starter irrer-drongo

    (@irrer-drongo)

    I searched for next_posts_link and found it not only in the themes, but also in the link-template.php:

    return ‘ a href=”‘ . next_posts( $max_page, false ) . “\” &attr >” . preg_replace(‘/&([^#])(?![a-z]{1,8};)/i’, ‘&$1’, $label) . ‘ /a>’

    (removed two brackets to be able to show here)
    I thougt I could remove some parts, but that didn’t work. I removed &attr (no effect), I removed or changed “\” (page went blank), I removed $label or ‘&$1’ (button-text vanished).

    Not that simple :-).

    Thread Starter irrer-drongo

    (@irrer-drongo)

    Okay, I changed the code using substr. Now it deletes the first 43 letters of the URL, just leaving the parameters:

    href=”‘ . substr( next_posts( $max_page, false ), 43) . “\” &attr>”

    But that is quick and dirty. Now I have to change this after each WP-update…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Page Navigation not working with URL-Hiding’ is closed to new replies.