Webmaster Forum

Go Back   Webmaster Forum > Web Development > Web Design Lobby

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.


Reply
 
LinkBack Thread Tools Display Modes
Old 06-15-2009, 09:03 PM   #1 (permalink)
Member
 
Join Date: 06-07-09
Location: Western Canada
Posts: 46
iTrader: 0 / 0%
Latest Blog:
None

kevin316 is liked by many
Upload folder

Not sure if this is the right forum but lets see what happens

I am having a problem with the web crawlers only seeing parts of my page. I did some looking and I think I see what's happening.

I uploaded my site to the public_html in a folder named Learn2eat. When you open a page it appears as www.learn2eat.ca/learn2eat/page

I think having it in the folder may be causing the problem.

Here's my question

Do you normally upload all the files directly into the public_html folder or do you put them in another folder.
kevin316 is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-15-2009, 11:11 PM   #2 (permalink)
Super Moderator
 
htmlbasictutor's Avatar
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 3,226
iTrader: 0 / 0%
Latest Blog:
Website Testing

htmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web pro
Quote:
Originally Posted by kevin316 View Post
...Do you normally upload all the files directly into the public_html folder or do you put them in another folder.
If public_html is the root folder for your website, then in the public_html folder.

Did you put this in your coding or did the web hosting?
Code:
<SCRIPT LANGUAGE="JavaScript"> strLocation = window.location + ""; nIndex = strLocation.indexOf("index.html"); if (nIndex > 0) { strBase = strLocation.substring(0, nIndex); } else { strBase = window.location.href; } strBase += "Learn2eat/"; document.writeln("<BASE HREF='" + strBase + "'>"); </SCRIPT>
Either way, Google isn't going to find your other pages, it doesn't read javascript so it's going to look at your anchor tags (e.g. What_Is_Learn2Eat.html) and assume it's in the root of the domain = Page Not Found.

Try it yourself if you don't understand. Go to your domain then add What_Is_Learn2Eat.html after the slash.
__________________
HTML Basic Tutor - Learn to code your web pages/blogs
Basic Computer Information - Computer Basics for website owners

Trouble getting indexed? Maybe it's something techincal - Pm me.
htmlbasictutor is online now  
Add Post to del.icio.us
Reply With Quote
Old 06-15-2009, 11:35 PM   #3 (permalink)
V7N Administrator
 
Cricket's Avatar
 
Join Date: 10-13-03
Location: Texas
Posts: 23,492
iTrader: 0 / 0%
Cricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster material
Just a side note, Google is getting much better at reading js. Not perfect by any means, but they are reading it more and more.


Quote:
With the release of Google IO you said you’re now reading Javascript and acting upon it. You used to recommend people use Javascript as a way of dealing with paid links. Now what do people do?

Nofollow or redirect it through something blocked by robots.txt. Those will stay very, very safe.

You&A With Matt Cutts
http://outspokenmedia.com/internet-m...th-matt-cutts/
__________________
GNC Web Creations - Free Search Engine Optimization (SEO) Training Class
Website Development Training - Website Development Training Blog

What are you waiting for? Submit your site to directory.v7n.com today!
Cricket is online now  
Add Post to del.icio.us
Reply With Quote
Old 06-15-2009, 11:44 PM   #4 (permalink)
V7N Administrator
 
Cricket's Avatar
 
Join Date: 10-13-03
Location: Texas
Posts: 23,492
iTrader: 0 / 0%
Cricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster material
Still a bit off topic, but a bit more on it here . . .

Would I count on it? Nope, not till I see it showing in my text only cached pages.

Quote:
JavaScript improvements

Google has also been crawling some JavaScript for a while. Primarily, they’ve been extracting very simply coded links. As of today, they’re able execute JavaScript onClick events. They still recommend using progressive enhancement techniques, however, rather than to rely on Googlebot’s ability to extract from the JavaScript (not just for search engine purposes, but for accessibility reasons as well).

Googlebot is now able to construct much of the page and can access the onClick event contained in most tags. For now, if the onClick event calls a function that then constructs the URL, Googlebot can only interpret it if the function is part of the page (rather than in an external script).

Some examples of code that Googlebot can now execute include:

<div onclick="document.location.href='http://foo.com/'">
<tr onclick="myfunction('index.html')"><a href="#"
onclick="myfunction()">new page</a>
<a href="javascript:void(0)" onclick="window.open
('welcome.html')">open new window</a>
These links pass both anchor text and PageRank.

http://searchengineland.com/google-i...t-enough-19881
__________________
GNC Web Creations - Free Search Engine Optimization (SEO) Training Class
Website Development Training - Website Development Training Blog

What are you waiting for? Submit your site to directory.v7n.com today!
Cricket is online now  
Add Post to del.icio.us
Reply With Quote
Old 06-16-2009, 08:59 AM   #5 (permalink)
Member
 
Join Date: 06-07-09
Location: Western Canada
Posts: 46
iTrader: 0 / 0%
Latest Blog:
None

kevin316 is liked by many
Thanks for the input.

htmlbasictutor

I tried what you suggested about finding one of my pages directly and that's what got this going. Just so I'm clear, if I copy all my files under into the public_html folder do I still need to include the code? Where does that code go?

The reason I had the web files in there own folder was to keep thing organized. I can see putting everything in the root folder being a bit of a challenge to keep neat since there are other files that exsist in there already. Any suggestions about how to keep things clean?
kevin316 is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-16-2009, 10:03 AM   #6 (permalink)
Super Moderator
 
htmlbasictutor's Avatar
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 3,226
iTrader: 0 / 0%
Latest Blog:
Website Testing

htmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web pro
On closer examination of your situtation, (tried to find help files for you)

Are you sure you can host a website in this location? It appears with the company showing in the WHOIS under DNS that you get your web hosting elsewhere.

Did you purchase web hosting?

When you have a website, there are two things you need:
  1. a domain name registrar (place where you register ownership of the domain name)
  2. web hosting (the web server where you put your website files)
Some companies provide both but we advise our clients to have these separate. i.e. one company for domain registration, another for web hosting

Once you have the web hosting in place, you have to go back into the domain registration account and change the DNS information. You get the new DNS information from your hosting company.

FYI: You don't need private registration with a .ca domain name. The CIRA hides this unles you choose to expose it. CIRA is the body that keeps track of .ca doman names. You should have gotten an email from the CIRA when you registered the domain name.
__________________
HTML Basic Tutor - Learn to code your web pages/blogs
Basic Computer Information - Computer Basics for website owners

Trouble getting indexed? Maybe it's something techincal - Pm me.
htmlbasictutor is online now  
Add Post to del.icio.us
Reply With Quote
Old 06-16-2009, 11:44 AM   #7 (permalink)
Member
 
Join Date: 06-07-09
Location: Western Canada
Posts: 46
iTrader: 0 / 0%
Latest Blog:
None

kevin316 is liked by many
I'm with justhost.com and that is who I bought the domain through as well.

I regestered the domain name and I did get the CIRA email. I paid them for a hosting package and I have access to the cpanel so I think everything is ok there.

Why do you suggest they use different companies for the hosting and domain name?
kevin316 is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-16-2009, 11:51 AM   #8 (permalink)
Super Moderator
 
htmlbasictutor's Avatar
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 3,226
iTrader: 0 / 0%
Latest Blog:
Website Testing

htmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web pro
Quote:
Originally Posted by kevin316 View Post
Why do you suggest they use different companies for the hosting and domain name?
In case there is ever a dispute between you and the service provider. With things separated, you are in more control of everything related to your website/business.
__________________
HTML Basic Tutor - Learn to code your web pages/blogs
Basic Computer Information - Computer Basics for website owners

Trouble getting indexed? Maybe it's something techincal - Pm me.
htmlbasictutor is online now  
Add Post to del.icio.us
Reply With Quote
Old 06-16-2009, 12:21 PM   #9 (permalink)
Super Moderator
 
htmlbasictutor's Avatar
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 3,226
iTrader: 0 / 0%
Latest Blog:
Website Testing

htmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web pro
Quote:
Originally Posted by kevin316 View Post
I'm with justhost.com and that is who I bought the domain through as well.
Ok, then there's something weird going on as to how this is setup. Maybe you haven't completed all the steps required to get your website up and running?

Every hosting package is different so verify how this company is setup. Usually:

You associate your hosting with a domain name at the hosting end.

If this is a hosting package where you can host multiple domains, then you have to check what the procedure is to have the domain pointed to the right folder. With a package where it is possible to host multiple domains, then each domain would have a separate folder within your hosting package.

In your hosting account, there should be information about what DNS (Domain Name Server) your hosting package is associated with. You should get this info and then go to your domain registration information and update it. Once you have done this, it will take 24-48 hours for all the domain name servers around the world to catch up with the new info.

Again, verify with your web hosting that this is how they have things setup before doing anything.
__________________
HTML Basic Tutor - Learn to code your web pages/blogs
Basic Computer Information - Computer Basics for website owners

Trouble getting indexed? Maybe it's something techincal - Pm me.
htmlbasictutor is online now  
Add Post to del.icio.us
Reply With Quote
Old 06-16-2009, 05:34 PM   #10 (permalink)
Member
 
Join Date: 06-07-09
Location: Western Canada
Posts: 46
iTrader: 0 / 0%
Latest Blog:
None

kevin316 is liked by many
OK. I moved everything to the root directory, I will see how that works.
kevin316 is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
.htaccess redirect folder to other folder theChronic Coding Forum 3 06-28-2008 03:42 PM
Change of folder name anie_b SEO Forum 2 03-09-2008 05:33 AM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 07:16 PM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.