WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Permalinks Wrong URL Structure (3 posts)

  1. Binh
    Member
    Posted 5 years ago #

    Please help.

    It's OK when I use:
    Custom Structure: /%category%/%postname%/
    Category base: <empty>
    Category pages: /%category%

    Problem case 1:
    Custom Structure: [ /p/%postname%/ ]
    Category base: [ /c ]
    Category pages: [ /c/%category% ]

    The problem: It won't rewrite the links for categories to
    /c/%category% but instead goes to /p/c/%category% along with a very rude "Not found" message.

    Problem case 2:
    Custom Structure: [ /p/%postname%/ ]
    Category base: [ /c ]
    Category pages: [ <empty> ] default: /c/%category%

    Logically speaking this by default should be /c/%category% but the actual links become /. For example the category is "Cell phones & PDAs" the link should be apmart.com/c/cell-phones-pdas but in fact it becomes apmart.com/ along with "Not found" error message.

    Other problems:
    I tried many combination all failed. Either the posts become "Not found", or the pages become "Not found", and commonly the categories become "Not found".

    This is too annoying. Does anyone have a solution?

  2. Binh
    Member
    Posted 5 years ago #

    Problem 3:
    Custom Structure: /%category%/%postname%/
    Category base: <empty>
    Category pages: /%category%

    Work:
    Category: Car Buying Tips:
    Post URL: http://cars.apmart.com/buying-tips/how-to-buy-new-car/ works
    Category URL: http://cars.apmart.com/buying-tips/ works

    Doesn't work:

    Category: Car Buying Tips (slug: buying)
    Parent category: Tips (slug: tips)

    Post URL: http://cars.apmart.com/tips/buying/how-to-buy-new-car/ works
    Category URL: http://cars.apmart.com/tips/buying/ becomes 404

    Any idea to work around this?

  3. TradingMetro
    Member
    Posted 5 years ago #

    I just made the mistake of installing this plugin on WP 2.7.1.
    It's no longer supported.

    I tried deactivating it, but I still got 404 errors.

    The best thing to do, for now, is to set permalinks to "Default" and not use a "Custom Structure".

    Unless anyone knows of a way to default the WordPress permalinks while removing the Advanced Permalinks plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic