vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Remove a redirect-How to do it (https://vborg.vbsupport.ru/showthread.php?t=214609)

PhilipAlv 05-26-2009 07:17 PM

Remove a redirect-How to do it
 
Hello everyone...

When i type in www .myforum.com ,the page automatically goes to

Code:

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 [DATE]1243384802[/DATE] at [TIME]1243384802[/TIME] ---------------

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 [DATE]1243386168[/DATE] at [TIME]1243386168[/TIME] ---------------

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.


All times are GMT. The time now is 05:01 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01010 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete