WordPress.org

Ready to get started?Download WordPress

Forums

Hackable Permalinks (5 posts)

  1. Guy
    Member
    Posted 9 years ago #

    WordPress's permalinks aren't "hackable." If you hack your way up the permalink URLs to the "archives" or "categories" subdirectories, you get a 404 error.

    For example, "/archives/categories/2005/05/slug/" shortened to "/archives/categories/" or "/archives/" causes a 404 error.

    You can create an Archives page and a Categories page linked to the archives template, but the rewrite rules for these pages will conflict with the permalink rewrite rules, so you have to edit the htaccess file every time new rewrite rules are generated.

    Is there an easier way to create archive index pages that are part of the permalink structure?

  2. moshu
    Member
    Posted 9 years ago #

    Short answer: no.
    Longer version: if you have the permalinks activated make sure your .htaccess file is writable and WP will take care of it. Every time yoou create a Page the title/slug will be used to write new rewrite rules into the .htaccess file.

  3. jpettit
    Member
    Posted 9 years ago #

    there are plugins such as this one that allow you to create 'indexes' of archives, etc.

  4. Guy
    Member
    Posted 9 years ago #

    Yes, moshu, but if your page title/slug matches part of your permalink structure, the rewrite rules for the page will conflict with rewrite rules for your post permalinks:

    Codex: Creating an Archive Index

  5. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Double post made today removed.

Topic Closed

This topic has been closed to new replies.

About this Topic