[thelist] redirect .htm
Bob Meetin
bobm at dottedi.biz
Sat Jan 7 13:01:00 CST 2012
RewriteRule whatever.htm index.php?option=com_content&view=article&id=120&Itemid=125
RewriteRule sowhat.htm index.php?option=com_content&view=article&id=120&Itemid=125
I added the .html suffix option just to make sure a general redirect works. I deleted the .html line, but either way same problem, it fails. I am not good with regexp.
The failure page error message: 500 - View not found [name, type, prefix]: article,htm,contentView (in red) ...
On 01/07/2012 11:53 AM, Hassan Schroeder wrote:
> On Sat, Jan 7, 2012 at 10:30 AM, Bob Meetin<bobm at dottedi.biz> wrote:
>
>> RewriteRule sowhat.htm index.php?option=com_content&view=article&id=120&Itemid=125
>> RewriteRule sowhat.html index.php?option=com_content&view=article&id=120&Itemid=125
> Don't you need an [L] after that first line to tell it to stop processing if
> a match is found?
>
> Alternatively, wouldn't a regexp cover both cases? :-)
>
--
Bob Meetin
dotted i - http://www.dottedi.biz
LinkedIn: http://www.linkedin.com/in/bobmeetin
303-926-0167 (home/business)
More information about the thelist
mailing list