strip /?q= from old links (1 post)

  1. rchrisbishop
    Posted 3 years ago #

    I imported a site from Drupal which did not use clean urls.

    All my old urls have the /?q= prefix to the post name.

    Of course I can change the permalink structure in WordPress to eliminate this for new and old posts.

    But what should I add to htaccess to rewrite /?q=[postname] to just /[postname] if someone finds an old link on another site, a bookmark or a google search?

Topic Closed

This topic has been closed to new replies.

About this Topic