Advanced Permalinks

Aug 27, 2007 | Tags: , , , , | Written by Administrator

download

Download: advanced-permalinks.zip
Version: 0.1.13
Updated: June 29, 2008
Size: 89.61 KB

Support This Plugin!

While this software is being provided free to use, it takes considerable time to develop and support. If you do find it particularly useful or want to request a feature then consider donating money as an incentive for me to carry on developing it.

Thanks!

I have other plugins too!

Advanced Permalinks is a WordPress plugin that extends the default permalink functionality and allows you to create different permalink structures for each post on your site. This is particularly useful when migrating an old permalink structure to a new one.

For example, your site currently displays posts like

/2007/05/06/this-is-my-post

But you'd like to make it:

/reviews/this-is-my-post

Your only choice here is to create 301 redirections for each existing post and change the permalinks for everything. With Advanced Permalinks you can configure your site to keep all its existing permalinks, but to use a different permalink structure for new posts.

/2007/05/06/this-is-my-old-post
/reviews/this-is-my-post

No 301 redirections are needed and all incoming links remain exactly the same. Perfect!

Features of Advanced Permalinks:

  • Create multiple permalink structures for posts
  • 301 redirect old permalinks
  • Create category-specific permalink structures, whereby posts in a certain category will have a different permalink structure
  • Remove the requirement to have a category base
  • Change author permalinks
  • Allow periods in permalinks - ideal for website migration

Installation

The plugin is simple to install:

  1. Download advanced-permalinks.zip
  2. Unzip
  3. Upload advanced-permalinks directory to your /wp-content/plugins directory
  4. Go to the plugin management page and enable the plugin
  5. Configure the options from the Options/Permalinks page

You can find full details of installing a plugin on the plugin installation page.

Configuring the plugin

All configuration is made through the standard WordPress permalinks page. When the plugin is enabled you will see some new sub-menu options:

Admin Menu

Advanced post permalinks

To assign a different permalink structure to posts you need to have a start and end ID. These IDs reflects that first and last post that you want the structure to apply to.

Advanced Post Permalinks

If you want the structure to apply to all existing posts then enter 0 for the start ID, and -1 for the end ID.

If you want to migrate your permalink structure then you would copy the existing permalink structure and apply this to all existing posts. You would then change the default permalink structure.

Category-specific permalinks

Category-specific permalinks allow a permalink structure to be defined for categories. Any post that belongs to that category will appear on the custom permalink. This is useful for separating different areas of your site.

Category Specific

Other permalinks

You can configure author and category permalinks:

Advanced Author Permalinks

Migration

A migration feature exists which allows you to define old permalink structures that will be redirected to the current permalink structure. You would typically use this if you decided to change your permalink structure, but wanted to have all old permalinks redirected.

Support

Please direct all support questions to the Advanced Permalinks support forum. Any support questions left on this page may not be answered.

Bugs & New Features

A full list of all bugs can be found in the Advanced Permalinks issue tracker.

A full list of all requested features can be found in the Advanced Permalinks feature tracker.

Share This

Comments (page 6 of 8)

  1. author
    Kelvin :

    Feb 13, 2008 4:35 pm

    I'm also having trouble getting the plug-in to work... the advanced
    sub-menus don't appear?!

  2. The Editor :

    Feb 4, 2008 4:53 am

    Hi,

    Great plugin! I've just installed and was wondering if the following is possible...

    Current structure: /post/%post_id%/
    Desired structure: /%year%/%monthnum%/%day%/%postname%/

    I'd like to assign the existing posts the desired structure while setting a migration redirect from the current to the desired structure. That way all permalinks across the site will be the desired structure while external links will still find the right posts. I've tried setting up the plugin as described but no success. Any ideas?

    Cheers

  3. weeend :

    Feb 4, 2008 2:04 am

    Is this plugin still needed with the newest version of WP?

  4. SavWare :

    Feb 2, 2008 11:01 am

    I uploaded as instructed, enabled plugin, but when I go to OPTIONS >> PERMALINKS , I don't see the SubMenu for Advanced Permalinks (Defaults, Advanced, Posts)

    I am using the newest WP release, not sure if that is the problem.

  5. John (author) :

    Jan 31, 2008 8:45 pm

    Tudor, it's a lot more trickier than it sounds and the best thing I can suggest is to give both the parent and child a specific custom base

    Sylv3rblade, why can't you migrate? I'll need more information!

  6. Nakoruru :

    Jan 25, 2008 2:53 am

    Hello!

    I'm really grateful to you for your plugin but I wish it worked.

    My goal is to set unique permalinks based on title contents for each post. The titles are in Russian so I can't just use %postname% URLs - they are displayed in some weirdo %#%# hoodoo-woodoo.

    Examples (of what I need):
    http://malecoffee.ru/blog/2008/01/20/02:13:47/Getting-workplace-neat-in-10-steps
    or at least:
    http://malecoffee.ru/blog/Getting-workplace-neat-in-10-steps

    The steps I followed:

    (0. Installing the Advanced Permalinks)

    1. Setting the Default structure for URLs in [Permalinks|Defaults]
    (I figured out that if this setting is not Default then I get 404 on every newly customized link. Otherwise, however, I'm getting back to parent directory clicking the mod_rewritten URLs but it seems more of a right way...)

    2. Skipping [Advanced]

    3. Setting someting like:
    Post 3 » /%year%/%monthnum%/%day%/%hour%:%minute%:%second%/getting-workplace-neat-in-10-steps
    Post 4 » /another-unique-topic
    ..in [Posts]

    4. Skipping [Migration] and [Debug]

    And this would do that, I thought. And I actually saw new links made by my template and your plugin and I was happy until I clicked one.

    If there a .htaccess in my /blog/ directory with standard instructions:

    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]

    ...then when clicking on a customized URL I got back to the index page of my blog.
    If I deleted .htaccess, I got "Cannot open... No such URL" (from browser/server, it wasn't a templated WordPress 404 page).

    I'd be happy if you could help me.

    When the Common Options are Default, the debug window is empty, so I have nothing to attach.

    Did I miss any step? Any advice?

    Thank you.

  7. Tudor :

    Jan 22, 2008 3:27 pm

    hello.

    i want to modify the plugin so that it does not assume that the first category is a post's main category.

    for example, if a category has a custom url base, and one of its child categories has a different url base, the parent's category url base is used. i think it would make more sense if it was the other way around, meaning that the child's url base would be used.

    could you suggest what i would need to change?

    thank you!

  8. sylv3rblade :

    Jan 18, 2008 11:40 pm

    hm.. I can't seem to migrate from /%postname% to /%category$/%postname%

  9. author
    Lucas :

    Jan 17, 2008 5:14 am

    Sent! :) Thank you.

  10. John (author) :

    Jan 16, 2008 11:14 pm

    Lucas, can you send me the HTML (Save as source) from one of the pages that are not displaying correctly?

    Blueverse, still not seeing any problems! The only thing that would help now is if you could give me an admin login on a site where it's happening so that I can experiment.

Home | Software | Terms & Conditions | Sitemap | John Godley © 2008