Specifying anything for RewriteRule does nothing. I understand mod_rewrite is supposed to be installed automatically (I'm using the latest version of cPanel). But nothing works. Creating a redirect 301 line in my .htaccess file is good, so I know it's processing the file, but if I put in the following:
RewriteRule ^/articles/([^/]+)/([^/]+)\.htm$ http://www.mydomain.com/articles/$1/ [NC,R=301,L]
...it seems as though it's ignored. Even the following is ignored:
RewriteRule ^/articles/gooseliver/page1\.htm$ http://www.mydomain.com/articles/gooseliver/ [NC,R=301,L]
No matter what I try, I get the "Page Not Found" error. (but, redirect 301 /articles/gooseliver/page1.htm http://www.mydomain.com/articles/gooseliver/ works).
Another post had mentioned checking the error log, but I don't know where that is.
RewriteRule ^/articles/([^/]+)/([^/]+)\.htm$ http://www.mydomain.com/articles/$1/ [NC,R=301,L]
...it seems as though it's ignored. Even the following is ignored:
RewriteRule ^/articles/gooseliver/page1\.htm$ http://www.mydomain.com/articles/gooseliver/ [NC,R=301,L]
No matter what I try, I get the "Page Not Found" error. (but, redirect 301 /articles/gooseliver/page1.htm http://www.mydomain.com/articles/gooseliver/ works).
Another post had mentioned checking the error log, but I don't know where that is.