views:

21

answers:

0

Hi All,

I have been trying to create redirects for /home and /index.php to the site's base url. I have tried following rules in htaccess but without any effect

RewriteRule ^(.*)\index.php$ $1 [R=301,L]
RewriteRule ^home$ / 

Im new to it so kindly bear with me if its a trivial question for the experts

Thanks in advance to the wonderful people here that are kind enough to help.