• I converted an old IIS/ASP based website to WP, but now I need help with redirect coding for htaccess. I’m a little light on htaccess skills.

    What I’ve got so far is this:
    RewriteEngine On
    RewriteCond %{REQUEST_URI} .asp$
    RewriteRule ^(.*).asp$ /$1 [R=301,L]

    But I only want to redirect URLs that end with “.asp” (I don’t want to redirect URLs that contain query parameters). Whats the proper syntax to do this? Thanks

  • The topic ‘htaccess redirect – ASP to WP’ is closed to new replies.