Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
You should never expose index files at all??
Old 11-23-2009, 02:47 PM You should never expose index files at all??
pityocamptes's Avatar
Experienced Talker

Posts: 48
Trades: 0
Hello all. I'm a complete noob and would like some help.

Ok, that is what someone on another board is telling me.


Quote:
Well, while you are reorganizing your site, reorganize it the right way.
You should never expose index files at all.
If your site is example.com, you should not be distributing links to example.com/index.php, example.com/index.html, or example.com/index.anything.
Links to your site should be to example.com.
Period.
I do not understand this. I am in the process of building/reorganizing a site with and Index.html and additional pages that are linked to the Index.html page.

So are they saying that I should not use:

www.mysite.com/Index.html

or when I click on the "misc" link in the Index.html page that the browser shows:

www.mysite.com/Misc.html?

If so how do you change this? I hope this makes sense. Thanks!!
pityocamptes is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-23-2009, 02:53 PM Re: You should never expose index files at all??
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,375
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Just link to the root of the domain or any folder rather than to the specific index filenames

/folder/"
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-23-2009, 02:59 PM Re: You should never expose index files at all??
Banned

Posts: 421
Location: Boston, MA
Trades: 1
he gave you a good advice. He meant that when you do link building on other websites e.g. directory submission you should only put the main url.

For your internal page linkings it doesn't matter.
webcosmo is offline
Reply With Quote
View Public Profile Visit webcosmo's homepage!
 
Old 11-23-2009, 03:03 PM Re: You should never expose index files at all??
pityocamptes's Avatar
Experienced Talker

Posts: 48
Trades: 0
Quote:
Originally Posted by webcosmo View Post
he gave you a good advice. He meant that when you do link building on other websites e.g. directory submission you should only put the main url.

For your internal page linkings it doesn't matter.

Thanks! I'm not sure I understand this fully. Could you please provide an example so that it can sink in? Thanks again!

**So this has NOTHING to do with accessing links within my own site and the subsequent names of the pages? IE - www.mysite.com/Index.html --> click on "Misc" link on Index.html page which takes me to (as shown in browser) www.mysite.com/Misc.html? Thanks again!!
pityocamptes is offline
Reply With Quote
View Public Profile
 
Old 11-23-2009, 03:04 PM Re: You should never expose index files at all??
pityocamptes's Avatar
Experienced Talker

Posts: 48
Trades: 0
Quote:
Originally Posted by chrishirst View Post
Just link to the root of the domain or any folder rather than to the specific index filenames

/folder/"

Not sure I understand completely. Could you please provide an example? Thanks again!
pityocamptes is offline
Reply With Quote
View Public Profile
 
Old 11-23-2009, 10:47 PM Re: You should never expose index files at all??
monkey's Avatar
Ultra Talker

Posts: 487
Trades: 0
Essentially when linking to pages within your site you will need to point to them directly (i.e. www.mysite.com/misc.html). However, if you are simply looking to link to your homepage you would be wiser to simply link www.mysite.com. The reason for this is that you could have your homepage actually saved as anything from index.html or index.php to default.html. If you want to link to one of those files in particular then www.mysite.com/index.html would be the way to do this.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
monkey is offline
Reply With Quote
View Public Profile Visit monkey's homepage!
 
Old 11-24-2009, 01:21 AM Re: You should never expose index files at all??
Skilled Talker

Posts: 95
Trades: 0
Is there any implications if I use example.com/index.html? If yes what is it?
__________________

Please login or register to view this content. Registration is FREE
| Build your own website fast and easy.

Please login or register to view this content. Registration is FREE
that has the bold flavor you love, but doesn't give you heartburn or cause stomach problems.
benedict65 is offline
Reply With Quote
View Public Profile
 
Old 11-24-2009, 03:23 AM Re: You should never expose index files at all??
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,375
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
There are no implications at all under normal circumstances. There are however possible consequences when dealing with search engines.
The answer is to be consistent with linking. If your "external" links are to the root url (www .hostname.tld or hostname.tld) then your "internal" links should be as well.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-25-2009, 03:45 PM Re: You should never expose index files at all??
Banned

Posts: 421
Location: Boston, MA
Trades: 1
Quote:
Originally Posted by pityocamptes View Post
Thanks! I'm not sure I understand this fully. Could you please provide an example so that it can sink in? Thanks again!

**So this has NOTHING to do with accessing links within my own site and the subsequent names of the pages? IE - www.mysite.com/Index.html --> click on "Misc" link on Index.html page which takes me to (as shown in browser) www.mysite.com/Misc.html? Thanks again!!
Look at my signature below, I am linking to my forum homepage without pointing to the index file, although the url would show the index file when somebody clicks it to visit.

But within your website pages you can certainly use index file to link for example <a href="index.html">Go to my home page</a>

Hope that makes sense.
webcosmo is offline
Reply With Quote
View Public Profile Visit webcosmo's homepage!
 
Old 11-25-2009, 03:47 PM Re: You should never expose index files at all??
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,375
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by webcosmo View Post
But within your website pages you can certainly use index file to link for example <a href="index.html">Go to my home page</a>

Hope that makes sense.
Nope! For internal links to the "home" page, You SHOULD use
<a href="/">Go to my home page</a>
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-28-2009, 12:23 PM Re: You should never expose index files at all??
Novice Talker

Posts: 10
Name: akai robin
Trades: 0
Quote:
Originally Posted by chrishirst View Post
There are no implications at all under normal circumstances. There are however possible consequences when dealing with search engines.
The answer is to be consistent with linking. If your "external" links are to the root url (www .hostname.tld or hostname.tld) then your "internal" links should be as well.
thanks..also wanted to know this
__________________

Please login or register to view this content. Registration is FREE

akai10 is offline
Reply With Quote
View Public Profile
 
Old 11-30-2009, 12:00 PM Re: You should never expose index files at all??
Banned

Posts: 421
Location: Boston, MA
Trades: 1
Quote:
Originally Posted by chrishirst View Post
Nope! For internal links to the "home" page, You SHOULD use
<a href="/">Go to my home page</a>
yep you right.
webcosmo is offline
Reply With Quote
View Public Profile Visit webcosmo's homepage!
 
Reply     « Reply to You should never expose index files at all??
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.41973 seconds with 12 queries