Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 112806

rchrisbishop on "strip /?q= from old links"

$
0
0

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?


Viewing all articles
Browse latest Browse all 112806

Trending Articles