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

  1. Joel Teixeira :

    Nov 1, 2007 2:39 pm

    There is a specific page that I want to turn into permalink, like "http://website.com/?page_id=50" to "http://website.com/anyname" can I do it with this plugin John?

    Thanks

  2. chris :

    Oct 31, 2007 12:11 pm

    Hi John, thanks for anothe great plugin. It's really phat! Here's my question: "Is it possible, that it is not working with the wordpress 2.3 or 2.3.1? Fpr an update I would be very pleased...excuse my (sometimes) bad english.

  3. Alex::Home Life Weekly :

    Oct 26, 2007 1:32 pm

    Worked a dream with renaming links to /site/

    However the categories stopped working with 404 errors

    Any ideas anyone?
    Regards

    Alex

  4. Jazmin :

    Oct 15, 2007 6:51 pm

    Hi John,

    This is a great plugin and it's exactly what I'm looking for...unfortunately, I'm having trouble getting it to work. I'm using v.0.1.8 with WP 2.3.

    I'm trying to preserve my old permalink structure on my existing posts while establishing a new permalink structure for new posts.

    I set up the configuration for my old permalink structure (/%year%/%monthnum%/%postname%.html) on the Advanced Post Permalinks page, but when I change the "default" permalink structure to my new permalink structure (/%category%/%postname%), none of my old permalinks work. I don't get any error messages, just a blank page.

    Is this an issue with setting permissions for my .htaccess file? Am I missing something? Thanks so much for your help!

  5. Syam Kumar :

    Oct 13, 2007 3:53 pm

    With WordPress 2.3, when using a permalink structure like /%category%/%postname%, pagination in /%category%/ doesn't work. Clicking page2 link gives a 404. Category feeds are also broken.

  6. Raoul :

    Sep 24, 2007 2:24 pm

    John, I'm not sure how to use this plugin for what I need to do. I've currently got two problems:
    1. I'd like to switch from date-based permalinks to category-based permalinks -- I think I know how to do this with the plugin.
    2. I've got too many categories, and would like to delete some, combine others, etc. Can I use your plugin to do that? How do I make sure posts classified under a certain category and indexed in search engines that way will get a 301 redirection to the new category?

    Thank you in advance for your assistance with this! Perhaps you could put together a demo video, like you did for the redirection plugin, covering the various uses of this plugin? That would help a lot.

  7. John (author) :

    Sep 17, 2007 12:24 am

    Ajay, that's not a bug, that's just how it works. You created two categories with .html in the name, and therefore the combined URL will be /a.html/b.html

    Nick, fixed.

  8. Ajay Jain :

    Sep 15, 2007 1:16 am

    There seems to be one more bug found while creating sub category with .html extension.Problem is that it show the upper level extension also like catgory.html/subcategory.html

    To resemble the problem for please do the following

    => Activate the "Advanced Permalinks" plugin
    => Create a category "A" under root with slug name "a.html" and save it
    => Create a category "B" under A with slug name "b.html" and save it
    => Write some post under and assign it to "B" category.
    => View the site
    => Now hover the mouse over category B . It will show the path as domainname/category/a.html/b.html .this is the problem as it should should show the hove link path as domainname/category/a/b.html

  9. Ajay Jain :

    Sep 14, 2007 2:11 am

    yes Nick I have experienced the same thing.

  10. Nick :

    Sep 13, 2007 11:58 pm

    I found a bug in 0.1.7 while using WP Beta 3... when you add a custom permalink to a specific category, then go back in and delete the custom permalink, it auto-fills the field with the root directory /.

    Try it.

    Remove a permalink from a category, then it will make that category turn all links into URL's pointing back at your home page.

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