H h@ck3r New Member May 8, 2009 #1 Can I add some code to my htaccess file to redirect from- mydomain.com to mydomain.com/forum ? My index.html/ index.php file keeps getting hacked so need to add a redirect into the .htaccess file while I find out why I keep getting hacked Thanks
Can I add some code to my htaccess file to redirect from- mydomain.com to mydomain.com/forum ? My index.html/ index.php file keeps getting hacked so need to add a redirect into the .htaccess file while I find out why I keep getting hacked Thanks
H h@ck3r New Member May 8, 2009 #2 NVM- Found the answer on vbseo website.. add this code to the top of the .htaccess file: Code: RewriteEngine on RewriteRule ^$ http://www.yourwebsitedomain.com/forum/ [L,R=301]
NVM- Found the answer on vbseo website.. add this code to the top of the .htaccess file: Code: RewriteEngine on RewriteRule ^$ http://www.yourwebsitedomain.com/forum/ [L,R=301]