WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multiple Slugs per Post in 3.5 (3 posts)

  1. chris.schmitz
    Member
    Posted 1 year ago #

    Hi, I'm currently in the process of migrating a website from drupal to wordpress.

    In building a sql script that will transfer the information, I noticed that wordpress doesn't seem to have a table that is equivalent to drupal's url_alias table. The url_alias table in drupal controls the assignment of slugs to it's nodes (like wordpress' wp_posts) and allows for multiple slugs to point back to the same node.

    I'm looking to do the same thing in wordpress (multiple slugs pointing back to one post). I've searched around online and found the wordpress forum post:

    http://wordpress.org/support/topic/multiple-slugs-per-post?replies=3

    Which users suggest either rewrite rules in the .htaccess file or using the plugin "redirectify", but this post is pretty old (I think it applies to wordpress 2?).

    Question:
    Is there support in WP 3.5 for multiple slugs per post or would I still need to use some kind of work around?

  2. catacaustic
    Member
    Posted 1 year ago #

    There's nothing like that built in. There are a few 301-redirect plugins available that can do the same thing, or there may be plugins that I haven't seen in a brief search. You can always code your own plugin to do this. The idea behind it isn't that hard, and you'd most likely only need one extra DB table to do it efficiently.

  3. chris.schmitz
    Member
    Posted 1 year ago #

    Gotcha, thanks for the reply.

    Yeah I didn't find any plugins that did exactly what I was looking for either, at least not ones that will work with 3.5.

    I'll look into the 301 redirect plugins.

    Thanks again for the help.

Topic Closed

This topic has been closed to new replies.

About this Topic