joomla - SEO settings and mod_rewrite

Posted by Stefano on Stack Overflow See other posts from Stack Overflow or by Stefano
Published on 2010-03-23T14:38:21Z Indexed on 2010/03/23 15:13 UTC
Read the original article Hit count: 391

Filed under:
|
|

Hi

I'm using Joomla 1.5.14 and I configured SEO as in the following image

alt text

Now I need to map a few old URL to the new site

let's say that I need to map htp://mysite/old.html to the new Joomla page

http://mysite/index.php?option=com_content&view=article&id=32&Itemid=70

I added in my .htaccess file the following

RewriteRule ^old\.html$ index.php?option=com_content&view=article&id=32&Itemid=70  #works!!

this works fine, but if I use the SEF URL in .htaccess (let's say the above page can be reached with htp://mysite/contacts.html), I obtain a 404 error

RewriteRule ^old\.html$ contacts.html   #this does not work

Now the question:

Is it possible use SEF URLs in RewriteRule? where am I wrong?

thank you in advance

stefano

© Stack Overflow or respective owner

Related posts about joomla

Related posts about mod-rewrite