Dark Knight
Power Member
- Nov 15, 2009
- 752
- 1,245
Hey,
How to redirect
mydomain.com/index.php
mydomain.com/#
To
mydomain.com
using .htaccess
I know using like
RewriteEngine on
#Options FollowSymlinks
rewritecond %{http_host} ^mydomin.com [nc]
rewriterule ^(.*)$ http://www.mydomin.com/$1 [r=301,nc]

but i don't know how to add above my problem to htaccess
Thanks
How to redirect
mydomain.com/index.php
mydomain.com/#
To
mydomain.com
using .htaccess
I know using like
RewriteEngine on
#Options FollowSymlinks
rewritecond %{http_host} ^mydomin.com [nc]
rewriterule ^(.*)$ http://www.mydomin.com/$1 [r=301,nc]
but i don't know how to add above my problem to htaccess
Thanks