Support » How-To and Troubleshooting » strip /?q= from old links

strip /?q= from old links

  • 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?

  • The topic ‘strip /?q= from old links’ is closed to new replies.