I understand it has been requested a couple of occasions however i can't appear to determine the right syntax for the situation.

I'm attempting to permanently redirect links for example example.com/work.aspx to example.com/work within the .htaccess file.

Essentially transforming an ASP.Internet site to Wordpress.

Any assistance is much appreciated.



RewriteRule ^(.*).aspx$ /$1 [R=301]