the main page

This is a discussion on "the main page" within the Web Page Design section. This forum, and the thread "the main page are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Nov 30th, 2007, 22:14
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 22
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
the main page

How do I make sure that markverkler.org goes to the homepage without having to type www.markverkler.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Nov 30th, 2007, 22:20
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,794
Thanks: 0
Thanked 17 Times in 17 Posts
Re: the main page

Firstly, you shouldn't really link to index.php when talking about your website: markverkler.org is fine.

Although, if you still want to do this, you should try this code:

Code: Select all
Redirect 301 / http://www.yoursite.com/index.html
That should do the trick providng you put that code in an .htaccess file and also your host supports .htaccess !
__________________
Marc
Staff Manager - Webforumz.com


Want to be a moderator? PM me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Nov 30th, 2007, 22:27
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 22
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Re: the main page

So that will take http://markverkler.org and make sure it goes to the proper page?

Where must I place that code?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Nov 30th, 2007, 23:31
Aso's Avatar
Aso Aso is offline
Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,341
Blog Entries: 2
Thanks: 11
Thanked 49 Times in 46 Posts
Re: the main page

A .htaccess will do the trick. If you're host is running the Apache server and allows .htaccess file overrides, save this in a file called .htaccess and upload to your main website folder:

Code: Select all
RewriteEngine On 
RewriteCond %{HTTP_HOST} ^markverkler.org
RewriteRule (.*) http://www.markverkley.org/$1 [R=301,L]
This redirects all requests for 'markverkley.org' to www.markverkley.org (i.e if they just type markverkley.org, they'll get to you )

NOTE: Make sure your editor does not modify the file extension - things like notepad will add '.txt' unless you choose File type > All files in the save dialog box. .htaccess has no extension (well I guess .htaccess IS the extension)
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Dec 1st, 2007, 04:20
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: the main page

The above will work. Just make sure to upload the .htaccess file to the absolute root of your site... Otherwise it won't work!
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Dec 2nd, 2007, 11:57
Reputable Member
Join Date: Oct 2007
Location: At my house
Age: 22
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Re: the main page

it works on i.e. but not on firefox
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Dec 3rd, 2007, 12:09
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,715
Blog Entries: 14
Thanks: 4
Thanked 33 Times in 31 Posts
Re: the main page

works for me, can you clear your cache and try again
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Dec 3rd, 2007, 12:15
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,794
Thanks: 0
Thanked 17 Times in 17 Posts
Re: the main page

Yes, it works for me also.

If you don't know how to clear your cache, visit: http://www.microsoft.com/windows/ie/...learcache.mspx.
__________________
Marc
Staff Manager - Webforumz.com


Want to be a moderator? PM me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Dec 3rd, 2007, 12:30
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,715
Blog Entries: 14
Thanks: 4
Thanked 33 Times in 31 Posts
Re: the main page

you can also look here for some of the other browsers you may have.
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Dec 3rd, 2007, 14:08
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: the main page

The simplest way is just to use the default page name.

Most servers have index.??? set as the default page. Some do have default.???

I have NEVER used an .htaccess file and never had a problem with that.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CF Designz Main crackafaza Free Web Site Critique 4 Apr 28th, 2008 17:12
soft border around main box Johnathan Web Page Design 3 Feb 25th, 2008 21:17
problem with main page when opening new window Ice JavaScript Forum 20 Feb 13th, 2008 22:17
Loading bars before main page is displayed. Toby1979 Flash & Multimedia Forum 4 Jul 3rd, 2007 20:20
what is the main? squirrel_535 Flash & Multimedia Forum 2 Jul 3rd, 2006 11:00


All times are GMT. The time now is 06:15.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42