• Resolved astereo

    (@astereo)


    Randomly this morning I noticed that <next and previous> are no longer working on category pages. I had been having no problems. Last night I setup the latest Google Sitemap Generator beta (3.0b1) & Dustans error page. I figured the error was caused by one of those plugins, so I deactivated them and updated permalinks, but to no avail.

    Ex: https://www.devlounge.net/articles

    Any ideas?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter astereo

    (@astereo)

    Anyone?? Please help asap

    Thread Starter astereo

    (@astereo)

    It appears that the problem only occurs on category pages. Previous / Next works fine on search results.

    What about when using the default theme?

    Thread Starter astereo

    (@astereo)

    the wordpress classic theme works, somehow the url’s have changed:

    [Working] WP Classic Theme URL for Pages:
    https://www.devlounge.net/category/news/page/2/

    [Broken] Devlounge Theme URL For Pages:
    https://www.devlounge.net/news/page/2/

    Somehow /category/ got dropped out of the pages, even without me editing anything. Any ideas on how to fix it? I don’t really want to change my permalink structure, because it will screw up all the listings to Devlounge articles on various sites.

    My Permalink Structure is /%category%/%postname%

    Thread Starter astereo

    (@astereo)

    Friendly bump

    Is the code the same in default’s archive.php and your theme’s corresponding file (archive.php or category.php)?

    Thread Starter astereo

    (@astereo)

    Yeah they are.
    Could the htaccess have anything to do with it?

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    I don’t know how it started happening, just popped up without me doing anything.

    Thread Starter astereo

    (@astereo)

    What I noticed so far…

    Going to “url/category” brings you to the category page (ex: https://www.devlounge.net/interviews), but in order for Previous and Next to work on a category archive, it seems the url structure has to be “url/category/catergoryname/page/#”. The word category doesn’t have to be there, right? But my permalinks are set right, I just don’t know how to get around it.

    For a category listing (archives) the word “category’ (or anything else that you set in the Options > Permalinks > Category base) HAS to be there. Otherwise WP “thinks” it is a Page!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Next / Previous no longer working’ is closed to new replies.