Open up your .htaccess and put the following code in it:
RewriteCond %{HTTP_HOST} ^enigmachs.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.enigmachs.com$
RewriteRule ^/?$ "http\:\/\/www\.enigmachs\.com\/portal\.php" [R=302,L]
Replacing enigmachs.com with your domain. Do not remove the www unless your forums are located on a subdomain. Do not remove the ^ or the slashes either.
This is much easier and better than the file renaming and another htaccess code which doesn't work very well.
(2011-07-19, 04:06 AM)lucasbytegenius Wrote: [ -> ]Open up your .htaccess and put the following code in it:
RewriteCond %{HTTP_HOST} ^enigmachs.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.enigmachs.com$
RewriteRule ^/?$ "http\:\/\/www\.enigmachs\.com\/portal\.php" [R=302,L]
Replacing enigmachs.com with your domain. Do not remove the www unless your forums are located on a subdomain. Do not remove the ^ or the slashes either.
This is much easier and better than the file renaming and another htaccess code which doesn't work very well.
i tried this and im not sure where i put it at in the .htaccess
is there any other way because i tried that it didnt work
(2011-07-19, 04:21 AM)wolfeee Wrote: [ -> ] (2011-07-19, 04:06 AM)lucasbytegenius Wrote: [ -> ]Open up your .htaccess and put the following code in it:
RewriteCond %{HTTP_HOST} ^enigmachs.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.enigmachs.com$
RewriteRule ^/?$ "http\:\/\/www\.enigmachs\.com\/portal\.php" [R=302,L]
Replacing enigmachs.com with your domain. Do not remove the www unless your forums are located on a subdomain. Do not remove the ^ or the slashes either.
This is much easier and better than the file renaming and another htaccess code which doesn't work very well.
i tried this and im not sure where i put it at in the .htaccess
is there any other way because i tried that it didnt work
Did you change "enigmachs.com" to your domain? Did you put it at the end of your htaccess?