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

  1. Nike SB :

    Jan 15, 2008 1:14 pm

    I have tried to install this on my site and no luck. Once I enable to plugin, my static pages no longer work and my categories all link to my main page ... What can be happening here?

  2. author
    Lucas :

    Jan 13, 2008 9:04 pm

    For me, there's something that's not working.
    In the Options -> Permalinks panel, "Default", "Advanced" and so on, appear as a Unordered list, instead of submenus from the WP panel.
    Besides, the Advanced Post Permalink entries, are not showing correctly, either.

    I've just downloaded the plugin, moved it to plugins directory, and nothing more.

    Any suggestion?

    Thank you in advance!

  3. SEO Blogger :

    Jan 11, 2008 7:38 pm

    Please disregard my last comment about the redirection of site.com/permalink/* to site.com/permalink/...
    Well, after hitting the "Save permalinks" and "Update Permalink Structure" a bunch of time, the exception for /email/ and /print/ WORKS!!! Hey, thanks again John (don't know if you're an SEO or not, but your plugins e.g. HeadeSpace2/Redirection and this one sure are SUPERB!!!... Thank you once again =).

  4. SEO Blogger :

    Jan 11, 2008 7:02 pm

    Hi John,

    I think you have already done this in the Advanced Permalinks plugin, but somehow this plugin redirect all instance of "site.com/posttitle-permalink/*" to "site.com/posttitle-permalink/".

    The reason is because I'd really like to use the WP-Print and WP-Email plugin, which produce these permalink structure: "site.com/posttitle-permalink/print[/]" and site.com/posttitle-permalink/email[/]".

    I think you have coded the exception rules for the above 2 instances but the Advanced Permalinks plugin still "smartly" redirect all instance of site.com/posttitle-permalink/* to site.com/posttitle-permalink/... but it doesn't work on my end =P, as you can see here:

    http://bestwordpresstemplate.com/header-and-footer-sidebar-widgets-feature-additions/emailpopup/

    *The better solution I think is to ask Lester Chan to change the email and print URL for each post to site.com/print/posttitle-permalink/... yes/no? (It's probably a yes =)...

    Anyway, thanks for the explanation about the permalink structure John.
    Hope WordPress will be smart enough to check those two instance of same permalink structure soon.

    ~The SEO Blogger~

  5. Blueverse :

    Jan 11, 2008 1:56 pm

    Heres more info

    the page after advanced permalinks is on

    http://imgtrak.com/files/40.jpg

    All in one seo config

    http://imgtrak.com/files/41.jpg

  6. John (author) :

    Jan 10, 2008 9:56 pm

    SEO Blogger, that's a great explanation and you've hit a fundamental problem with WordPress permalinks. Basically, because you have /%category%/ and /%postname%/ as your permalinks, WordPress cannot tell the difference - is /thing/ an attempt to access a category or a post? WordPress doesn't have the fuzzy logic to ask 'let me check the categories first and then check the posts'. I've made a note of this on the page warning that it is possible to create holes in the permalinks. To workaround this you'll need to create a category base or permalink structure that allows WordPress to differentiate between the two.

    Blueverse, thanks. Unfortunately I still can't get this to happen on my test site. Could you either send me a temporary login so I can look at your All-in-one configuration, or send me some screenshots of the configuration pages?

  7. SEO Blogger :

    Jan 10, 2008 2:12 pm

    O.K. Here is how I got the 404 error:

    1. When go to the "Advanced" tab and choose "/%category%/" permalink for the CATEGORY permalink, click "Save permalinks" and, then, go to http://BestWordpressTemplate.com/announcements/, all the CATEGORY pages work.

    However, RIGHT AFTER I hit "Update Permalink Structure" with the /%postname%/ token for the POST permalink, I get a 404 Error when I try to access all the CATEGORY pages! (The SINGLE POST pages show up fine).

    2. This is vice versa: if I hit "Update Permalink Structure" for Single Post FIRST and, then, "Save permalink" for Category LATER, there is a 404 Error when I try to access the SINGLE POST page. (All the CATEGORY pages are fine).

    I hope I had clarify this problem, if not, please shoot me an email =P.

    ~The SEO Blogger~

  8. Blueverse :

    Jan 10, 2008 4:36 am

    Hey John,

    See if i activated Advanced permalinks and i have a category "articles" with "/category/postname" permalink structure.

    And i have all in one seo pack on at the same time

    those permalinks dont quite work when i click them i get the error posted in my previous comment.

    If you have any messenger id i can show it to you while it happens..=/

  9. John (author) :

    Jan 10, 2008 12:06 am

    First, my apologies for taking such a long time to reply to questions and bug reports.

    Blueverse, do you have any more details? I can't reproduce this.

    Moises & Blogger SEO, can you provide more details? Specifically what you are trying to do and what values you have put in what field on what page?

    George, Tudor, LGDA, and Jazmin this situation should be covered. Try the latest version and send me (by email) the output of the new debug page.

    Marc, you don't assign an ID to a post. Yes the general WP permalink needs to be set. If you want posts in certain categories to have different permalinks then you need to edit the category and set the permalink there (see category specific in the page above). As you are starting with a new site then this is more than likely what you want to do.

    Syam, I can't reproduce this effect. /category/ should'nt work anyway as it's not a valid WP page

    Raoul, yep, point one should be easy with this plugin. Point 2 is not something the plugin can do, and you will need something like Redirection.

  10. Blueverse :

    Jan 7, 2008 5:54 pm

    This doesn't seem to work with All in One SEO Pack..

    i tried it and i got this on advance permalink posts..

    Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/wp-content/plugins/all-in-one-seo-pack/all_in_one_seo_pack.php:158) in /home/xxx/public_html/wp-includes/pluggable.php on line 391

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