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 7 of 8)

  1. Best WordPress Template :

    Apr 6, 2008 4:51 pm

    Hi John, it seems there is an issue with WP 2.3x as well for the author link. Check out these two author link with Advance Permalinks activated:
    http://webdesigndevelopment.org/author/admin/ => WP 2.3.3
    http://marketing-sources.com/author/admin/ => WP 2.5

    *It might be just me?... Or can you access to the profile page? In I.E. the page didn't go anywhere once you click on it, and this is the error I got in Firefox (although I'm pretty sure it's not cookie-related):

    ####
    The page isn't redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    * This problem can sometimes be caused by disabling or refusing to accept cookies.
    ###

  2. John (author) :

    Apr 6, 2008 4:51 am

    I'm not sure what the problem is, Mint Tree? Advanced Permalinks does no redirection for author pages. Following the link provides no information that I can use.

  3. Best WordPress Template :

    Apr 5, 2008 6:30 pm

    Hi John, I'm currently testing WP 2.5 and Advance Permalinks. It seems that the "Author Link" failed to redirect to the author page: http://marketing-sources.com/author/admin/

    Please let me know asap when have visited the above link and when you can get that fix, so I can turn Advance Permalinks off.

    Thank you.

    Best regards,

    ~Mint Tree~
    P.S. I don't know you do it, but this plugin and Headspace2 freaking rock!!! =P

  4. John (author) :

    Mar 23, 2008 9:23 am

    The plugin does not pay any attention to what comes before the site location, so yes it should be able to handle it

  5. Find Hot Markets Blog :

    Mar 19, 2008 5:30 pm

    A wonderful find indeed.

    I'm planning to move one of my blogs from domain.com/blog to domain.com.

    Will AP handle this migration, at the same time as going from numbered posts to using meaningful names?

    Gary Harvey

  6. John (author) :

    Mar 13, 2008 4:07 am

    weeend, WP 2.3 doesn't add any features that Advanced Permalinks provide

    SavWare & Kelvin, it doesn't matter what version of WP you are using. If the menu isn't appearing then it is likely that some other plugin is preventing it

    The Editor, you can add /post/%post_id%/ to the migration page, and then set the permalink structure to your desired structure

    Jay, I don't really understand what you mean there. Could you create a bug report with exact details of what you entered and where, and what the result is?

    Tim, it would be better if your category pages had some base. While Advanced Permalinks does allow you to remove the base you should only do so if you know exactly what effect it might have as it's likely that an 'impossible' set of permalinks will be created where WordPress cannot determine a URL correctly. This may well be the situation you are facing.

  7. author
    Tim Buck Two :

    Mar 3, 2008 11:27 pm

    I'm having an issue I hope someone can help me with:

    My category permalink is setup as "%category%.html"

    Everything works fine, except that I can type anything as a directory in front of the resulting category URL, and still pull up the same page.

    Example:
    http://www.mysite.com/cool-page.html ---- pulls up the original page.
    http://www.mysite.com/fdfdafdafdaghffdafdfdsafdafdaf/cool-page.html ---- will pull up the same page!

    Why is this, and is there a way around it? Thanks!

  8. Peter V Cook :

    Mar 3, 2008 9:19 pm

    Is there any documentation for using the "Migration" tab of this plug-in?

  9. author
    Jay :

    Feb 28, 2008 1:27 pm

    To add to the above comment:
    childcategory/postname would be fine too as long as it'll work. :)

  10. author
    Jay :

    Feb 28, 2008 8:09 am

    I dunno which place you check often so I'll subscribe to comments and wait.

    The problem I'm having is not migrating atm, I've tried it and that works fine. It's just that the plugin breaks child categories. Whenever I click on a child category (i.e. under the post title) I get a 404 even though I have posted something in the category. I've been trying to change the structure but without success.

    I want it to be like this:
    parentcategory/childcategory/postname if my post is in the child category. Is this possible?

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