Home Page Display

Pooky

Garfield's Teddy
Joined
Dec 16, 2007
Messages
24,504
Reaction score
21
Location
Neverland
Take MyBroadband as an example, their forum is under /vb/

Is it possible to have a setup like that, but also display what is under /vb/ on the homepage.

So with this example going to mybroadband.co.za/vb/ would take you to the same place as mybroadband.co.za/ but if I wanted to later change the homepage to display pictures then I could also do that without losing the /vb/

Thanks, and hope I made myself clear.
 
Yes it is and depending what you are using to build your site there are various ways to do it. with wordpress for example you simply redirect the page to the other. So the yoursite.com will point to yoursite.com/vb.
 
Yes it is and depending what you are using to build your site there are various ways to do it. with wordpress for example you simply redirect the page to the other. So the yoursite.com will point to yoursite.com/vb.

I put a redirect in the .htaccess file to go to the /forum/ directory.
Is this a decent way?
 
I put a redirect in the .htaccess file to go to the /forum/ directory.
Is this a decent way?

That's fine, because when you want to put things on the front page, you simply remove the auto-redirect. Just remember to include a link on the home page to the forum and from the forum to the home page so Google can pick up the change and index correctly
 
That's fine, because when you want to put things on the front page, you simply remove the auto-redirect. Just remember to include a link on the home page to the forum and from the forum to the home page so Google can pick up the change and index correctly

Must I put the link when there is content on the homepage? At the moment the actual homepage just goes to the folder structure.

I changed the redirect to this:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?enoki.co.za$
RewriteRule ^(/)?$ forum [L]

Is that still okay? The other one was giving me an endless redirect.
 
That's fine. When you have content for the home page, you'll put a link on the forum pointing back to the home page, and one on the home page pointing to the forum. Much like mybroadband.co.za/news has a link "Forums" that goes to mybroadband.co.za/vb and mybroadband.co.za/vb has a link "News" that goes to mybroadband.co.za/news (except you will link to the root and not yoursite.co.za/news)
 
That's fine. When you have content for the home page, you'll put a link on the forum pointing back to the home page, and one on the home page pointing to the forum. Much like mybroadband.co.za/news has a link "Forums" that goes to mybroadband.co.za/vb and mybroadband.co.za/vb has a link "News" that goes to mybroadband.co.za/news (except you will link to the root and not yoursite.co.za/news)

Great, thanks!

See in your heart of hearts you want to be a webdev. Admit it.

Na, I'd rather be Hank Moody :D
 
Top
Sign up to the MyBroadband newsletter
X