Forum Moderators: phranque
I have changed the names of 10 files and the extensions - html to htm - and wanted to use wildcards in htaccess... Is there a method of 301 redirect wherein a single line using wildcards can be written which while redirecting to the new files, i.e cafe.html to cafe.htm.
Is this the right way?
Redirect 301 /.*.html /.*.htm
Thanks.
One more question, if I may,
Is there a way to exclude a file i.e the index file was index.html now index.htm?
My web address now shows as www.domain.com/index.htm instead of www.domain.com.
Does it matter to search engines/robots if the address defaults to www.domain.com/index.htm instead of www.domain.com?
Thank you.