PDA

View Full Version : How do I make forum page the page that my domain goes to when i type in the url?


DanTHEGREAT
10-11-2009, 12:28 AM
Title says all.

HMBeaty
10-11-2009, 12:36 AM
What directory do you have it installed in? The root or in a /forum/ directory?

DanTHEGREAT
10-11-2009, 12:39 AM
well my forum path is

public_html > forums

HMBeaty
10-11-2009, 12:45 AM
Well, then you would use an htaccess file to redirect your url to your forums directory

See here: http://www.webweaver.nu/html-tips/web-redirection.shtml

DanTHEGREAT
10-11-2009, 12:52 AM
what? I'm confused? What do I have to do?

HMBeaty
10-11-2009, 12:54 AM
Create an .htaccess file to redirect your url from www.yoursite.com to www.yoursite.com/forums/ and place the .htaccess file in your root directory.

DanTHEGREAT
10-11-2009, 12:55 AM
how do i make an htaccess? Can you just tell me instead of giving links to tutorials about dreamweaver o.o

HMBeaty
10-11-2009, 12:59 AM
Create an .htaccess file and add this to it...
Redirect 301 / http://www.yoursite.com/forums

DanTHEGREAT
10-11-2009, 01:00 AM
No but i mean how to create the base file? from what program?

HMBeaty
10-11-2009, 01:01 AM
Notepad, wordpad, whatever you want to use

DanTHEGREAT
10-11-2009, 01:04 AM
But when i press save as and type redirect.htaccess it just saves it as that name under Rich Text Format.

HMBeaty
10-11-2009, 01:08 AM
Ok.... 1.) open notepad or wordpad, or whatever

2.) File > Save As > .htaccess > Save

3.) Add this line in that file: Redirect 301 / http://www.yoursite.com/forums

4.) File > Save

5) Upload to your root directory

DanTHEGREAT
10-11-2009, 01:11 AM
When i do step 2, there is no option for htaccess so if i type it in, it just changes to a txt or rtf...

HMBeaty
10-11-2009, 01:15 AM
When i do step 2, there is no option for htaccess so if i type it in, it just changes to a txt or rtf...

Ok, unzip and edit the htaccess file attached and upload to your root

DanTHEGREAT
10-11-2009, 01:28 AM
wow no none of my site works...

HMBeaty
10-11-2009, 01:59 AM
Ok, not sure why, but you can try this as well, using an index.html in your root to redirect...

Just unzip, edit and upload

DanTHEGREAT
10-11-2009, 10:54 AM
Alright, that worked, THANKS!