Viewing 13 replies - 1 through 13 (of 13 total)
  • I think having the page number affixed to the primary URI (ie: https://www.example.com/article/2) is the standard, as the paginated portion is controlled internally from WordPress and simply “kicks-in” after the permalink portion of the URI.

    Thread Starter WoodiE

    (@woodie)

    So how do I fix this?

    WordPress IS installed in the root dir of my website, everything displays and looks fine up until I try to goto Page 2 and so on.

    If I manually enter https://www.mywebsite.com/page2 then it works just fine, however if I click on the link created by WP then it takes me to https://www.mywebsite.com/page/2 which then generates an error stating the article is not found.

    -Michael

    Thread Starter WoodiE

    (@woodie)

    Anyone?

    -Michael

    I think you’d have to either tinker with some of the WP code or write some code that hooks into the rewrite functions – either of which I’d have no idea how to do. Sorry.

    Good luck,
    Michael.

    I’m not seeing how this is done. There’s nothing in the permalink rewrite rules that’d change page URL’s like that. I guess it’s done from somewhere else.

    When it SHOULD be this:
    https://www.mywebsite.com/page2/

    Who told you it should be like that? Normally WP generates page/2/ when using the Next/Prev links on the index.

    Thread Starter WoodiE

    (@woodie)

    moshu,

    Ok let me rephrase this as I’ve said above… https://www.mywebsite.com/page/2 does NOT work – instead WP generates an “article not found error”.

    https://www.mywebsite.com/page2 DOES work if manually typed in the URL.

    So if WP IS supposed to work as above, then why isn’t?

    -Michael

    Thread Starter WoodiE

    (@woodie)

    bump.

    Thread Starter WoodiE

    (@woodie)

    anyone?

    Have you gone through the troubleshooting section at Using_Permalinks?

    Thread Starter WoodiE

    (@woodie)

    I have however I now went all the way through my .htaccess file and noticed what the new version of WP was doing. It was adding it’s rewrite code to the bottom of the file, leaving the old WP code at the top.

    Once I completely removed all the old WP code and left the new WP2.0 htaccess code it works like a charm now.

    Thanks for all your help guys!

    -Michael

    WoodiE,

    I’m thinking of using the same permalink structure as you… how is that working for you? Have you come across any other problems?

    Thread Starter WoodiE

    (@woodie)

    webtodd,

    No I haven’t had any problems at all – in fact I really like this setup. Once I got rid of my old htaccess info it’s been working like a charm.

    I’ve even seen an improvement in my search results on Google.

    -Michael

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Why do my links do this?’ is closed to new replies.