WordPress.org

Support

Support » How-To and Troubleshooting » Hackable Permalinks

Hackable Permalinks

  • 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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

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

    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

    Mark (podz)

    @podz

    Support Maven

    Double post made today removed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hackable Permalinks’ is closed to new replies.