We've developed a new Joomla site for a client. Their old site had aspx pages with rank which need to be redirected to the new pages. The domain name remained the same.
We have developed a .htaccess file with a subset of code as follows:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{http_host} ^example.com [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,nc]
Redirect 301 /resources/article.aspx http://example.com/resources/newarticle
When entering the URL for the old article we get this message:
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /resources/article.aspx
It appears that the Redirect is never executing. Any help will be much appreciated.
Thank you.
[edited by: incrediBILL at 9:35 am (utc) on Sep 3, 2012]
[edit reason] changed to example.com to unlink sample URLs [/edit]