• A client of mine is having an issue where the_category function is returning links referencing urls missing the category base.

    For example a category with the slug “personal” is coming up as address.com/personal/ instead of address.com/category/personal/

    As such, WordPress trys to look up a page or post with the same slug and fails.

    The permalink strucutre is set to

    /%postname%/

    and I have tried with category base set empty to default and with a given category base, and in both instances the category base is ignored.

    Any help would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • Have you tried:

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Ten theme to rule out any theme-specific problems?

    resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

Viewing 1 replies (of 1 total)

The topic ‘the_category returning invalid links’ is closed to new replies.