View Full Version : Remove a redirect-How to do it
PhilipAlv
05-26-2009, 07:17 PM
Hello everyone...
When i type in www .myforum.com ,the page automatically goes to
www.myforum.com/myforum/myforum.html
that html page has bunch of images and a link which points to "forums/index.php"
I would like to go directly to the forums/index.php page when i type in www .myforum.com
How do i make that change ?
i tried removing the "myforum.html" page through file manager in cPanel and got a 404 page not found error.
In my admincp,under vb options >site name/URL details,the "home page URL" option is set as forums/index.php
thanks in advance....:up:
COBRAws
05-26-2009, 09:03 PM
Can you post the content of your .htaccess file located in at the root folder of your domain?
PhilipAlv
05-26-2009, 10:28 PM
i just had a look inside my file manager...i cannot find any htaccess files in my home folder...
in my public_html/forums folder,there is one...but there is no content in that...
--------------- Added 1243384802 at 1243384802 ---------------
ok...i found one....here are the contents....
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.myforum. com
AuthUserFile /home/virtual/site1/fst/var/www/html/_vti_pvt/service.pwd
AuthGroupFile /home/virtual/site1/fst/var/www/html/_vti_pvt/service.grp
ErrorDocument 404 /nofound.html
snakes1100
05-26-2009, 11:55 PM
check in cpanel for a redirect, as well, you dont need the front page vti folders, but keep the .htaccess files intact.
if there is no .htaccess file in public_html folder, then its in cpanel or its in the index.html or index.php file in public_html folder.
PhilipAlv
05-27-2009, 12:01 AM
hello anthony....thanks for the reply....
you have done work for me 2 or 3 times in the past....
here are the contents of the index.html file in the public_html folder.....
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><meta http-equiv="refresh" content="0;url= myforum/myforum.html" /></head><body></body></html>
--------------- Added 1243386168 at 1243386168 ---------------
so i just edit this line myforum/myforum.html to forums/index.php ?
snakes1100
05-27-2009, 07:01 AM
If thats were you want the redirect to take you, yes thats correct.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.