Page 1 of 1
		
			
				Get site to go to forum automatically [SOLVED]
				
Posted: 
Thu May 04, 2006 11:17 amAuthor: macarlisle
				I currently have my site to redirect from the main index page. I do see the forums like this one that automatically goes to the forum instead of possing.  What do I need to do?
			 
			
		
			
				Re: Get site to go to forum automatically
				
Posted: 
Thu May 04, 2006 11:24 amAuthor: Dragonsys
				I'm not sure what you are meaning... you want the main page to load the forums instead of the portal?
			 
			
		
			
				
				
Posted: 
Thu May 04, 2006 11:28 amAuthor: macarlisle
				
			 
			
		
			
				
				
Posted: 
Thu May 04, 2006 12:01 pmAuthor: Master Dwarf
				macarlisle-are you familiar with .htaccess files?
You may have to create one.  
Here, I'll try to get you going with a simple redirect.
open notepad and paste the following:
then save the document as .htaccess    notice the inconventional file name.  Then upload/ftp this file to your root directory of your site.
Basically the above file is saying, anything that looks for index.htm forward to yourdomain.com/portal/portal.php  It also allows anyone that types just your domain name to rewrite it as www. yourdomainname.com.   I hope this helps.
 
			
		
			
				
				
Posted: 
Thu May 04, 2006 1:13 pmAuthor: macarlisle
				is still isnt redirecting.  had to go back in and change the index file. to redirect.
			 
			
		
			
				
				
Posted: 
Thu May 04, 2006 1:28 pmAuthor: Master Dwarf
				macarlisle-webhosting companies sometimes have different default files set for when someone visits your domain.  Some are index.htm, sometimes its index.html,  and so on.
Does your webhosting company have a FAQ that may clarify this info?  It may be a matter of just putting an 'L' on the end of htm in the .htaccess file I mentioned earlier.
So instead of index.htm it reads index.html
			 
			
		
			
				Re: Get site to go to forum automatically
				
Posted: 
Thu May 04, 2006 2:24 pmAuthor: macarlisle
				This is what I get
[flash=,:32rqilu3]http://www.westtexaschitchat.com/Untitled-1.jpg[/flash:32rqilu3]
			 
			
		
			
				Re: Get site to go to forum automatically
				
Posted: 
Thu May 04, 2006 3:51 pmAuthor: Nata
				hello there is another way easy simple and without use htaccess !
i found this solution in IM.com !
well all u have is to paste this code ina virgin file called index.htm and it will work !
this code is espcially for macarlisle but everybody can do it with changing the url of the index that we want to redirect for !
[code]<html>    <head>    <title>THE PAGE TITLE HERE</title> <META HTTP-EQUIV="Refresh"          CONTENT="0; URL=http]
			 
			
		
			
				Re: Get site to go to forum automatically
				
Posted: 
Thu May 04, 2006 4:11 pmAuthor: Helter
				"ilia";p="4607" wrote:hello there is another way easy simple and without use htaccess !
i found this solution in IM.com !
well all u have is to paste this code ina virgin file called index.htm and it will work !
this code is espcially for macarlisle but everybody can do it with changing the url of the index that we want to redirect for !
[code]<html>    <head>    <title>THE PAGE TITLE HERE</title> <META HTTP-EQUIV="Refresh"          CONTENT="0; URL=http]
That looks familiar <img>
 
			
		
			
				
				
Posted: 
Thu May 04, 2006 4:30 pmAuthor: Nata
				it was you who posted that ??
			 
			
		
			
				Re: Get site to go to forum automatically
				
Posted: 
Thu May 04, 2006 4:40 pmAuthor: Helter
				yes. I have a global overide on my servers that do not allow .htaccess. I have found through alot of research that .htaccess files have a huge impact on server speed if you have a large forum, many forums/sites, or use shared hosting that allows .htaccess.
If you add just 1 .htaccess file, your server will search every folder for additional .htaccess files on every page load.
			 
			
		
			
				
				
Posted: 
Thu May 04, 2006 4:43 pmAuthor: macarlisle
				I will probably just stick with the code in the index file.
			 
			
		
			
				Re: Get site to go to forum automatically
				
Posted: 
Thu May 04, 2006 6:37 pmAuthor: Master Dwarf
				macarlisle-the index file is nice to use and I learned something new.  Your .htaccess file does not work because it ends with a .txt file entension.  It simply needs to be named .htaccess 
I think I'll look into the index file way myself.
			 
			
		
			
				
				
Posted: 
Thu May 04, 2006 7:00 pmAuthor: macarlisle
				I think that one of the issues is that I am running frontpage.
			 
			
		
			
				Re: Get site to go to forum automatically
				
Posted: 
Fri May 05, 2006 5:44 amAuthor: Dragonsys
				"ilia";p="4607" wrote:hello there is another way easy simple and without use htaccess !
i found this solution in IM.com !
well all u have is to paste this code ina virgin file called index.htm and it will work !
this code is espcially for macarlisle but everybody can do it with changing the url of the index that we want to redirect for !
[code]<html>    <head>    <title>THE PAGE TITLE HERE</title> <META HTTP-EQUIV="Refresh"          CONTENT="0; URL=http]
This is what he was already doing. But when using the meta refresh, there is a short delay. He was looking to make the redirect faster. Which is why he would need to use .htaccess
 
			
		
			
				
				
Posted: 
Fri May 05, 2006 5:45 amAuthor: Dragonsys
				"macarlisle";p="4655" wrote:I think that one of the issues is that I am running frontpage.
You just need to rename the file you created from .htaccess.txt to just .htaccess and reupload.
 
			
		
			
				
				
Posted: 
Fri May 05, 2006 5:52 amAuthor: macarlisle
				It is saying that i must give it a file type.
			 
			
		
			
				Re: Get site to go to forum automatically
				
Posted: 
Fri May 05, 2006 6:10 amAuthor: Dragonsys
				Yeah, that's a problem with Frontpage.
Can you log into your FTP account (using an FTP client, not Frontpage) and change it there?
			 
			
		
			
				
				
Posted: 
Fri May 05, 2006 6:23 amAuthor: macarlisle
				my service just went down.  <img>
			 
			
		
			
				
				
Posted: 
Fri May 05, 2006 6:31 amAuthor: macarlisle
				that file made my server go to an error page. What the heck.
			 
			
		
			
				
				
Posted: 
Fri May 05, 2006 6:37 amAuthor: macarlisle
				This is what I was usnig.  It wouldnt let me log into my server as well.
 
			
		
			
				
				
Posted: 
Fri May 05, 2006 6:42 amAuthor: Master Dwarf
				macarlisle- what is the name of that file?  It MUST be 
.htaccess
  and nothing else.  I am not sure frontpage will allow you to name it that.  It is best to do it in notepad and then ftp the file up using a ftp client  like SmartFtp.
 
			
		
			
				
				
Posted: 
Fri May 05, 2006 6:44 amAuthor: macarlisle
				yes, that is what I had.  I may try it agian later
			 
			
		
			
				
				
Posted: 
Fri May 05, 2006 6:47 amAuthor: Master Dwarf
				I guess it is possible that your hosting service does not support .htaccess.  Do they have a FAQ section or support forums. Often times people have the same problem as you do and answers can be found there.  Don't mean to brush you off here, but some hosting companies simply do things differently. <img>
			 
			
		
			
				
				
Posted: 
Fri May 05, 2006 6:50 amAuthor: macarlisle
				yeah they do, it stats that if you are not running fp you can.  If you are running frontpage you cant.
			 
			
		
			
				
				
Posted: 
Fri May 05, 2006 7:00 amAuthor: Master Dwarf
				So if you are running FP then you are unable to use .htaccess.  That makes sense.  I don't think FP will allow it due to the unconventional file name.  Still not sure why you are getting an error if you have an index.htm file in the root of your domain directory.  
WAIT!  the path to your website in your file.  Try putting the whole thing in there:
You're missing the http://   not sure if that makes a difference.
 
			
		
			
				
				
Posted: 
Fri May 05, 2006 7:33 amAuthor: macarlisle
				Looks like that did it.  Thanks guys for your help.
			 
			
		
			
				
				
Posted: 
Fri May 05, 2006 7:36 amAuthor: Master Dwarf
				I think a [Solved] in the topic is warranted. <img>