Re: HTML-page clicked in Google don't get me to the website
- From: catharinus van der werf <catharinusvanderwerf@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 27 Mar 2007 19:02:37 -0700
Hi Scott,
I tried your example, it doesn't work.
But I think there's another possible solution:
Use the following in the head section of the subpages.
<META NAME="Robots" CONTENT="NOINDEX,FOLLOW">
By using this in the head-section you prevent that this page is shown in
google,
even when there are words found in the page that match the google search.
"Scott M." wrote:
Now that I understand your question, I can give you a suggestion:.
Add this to the head section of all your non-home page pages:
<script type="text/javascript">
var homePagePath = "your full home page path here"
if(document.location != homePagePath)
{document.location = homePagePath)
</script>
But, I have to say that this is NOT normal web site behavior and I do not
recommend you actually to it. It is what I'd do if I needed to do what you
want, but I just can't think of a case where I'd want to do this. It takes
a lot of power away from the user.
"catharinus van der werf" <catharinusvanderwerf@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote in message news:A3D40EB6-5615-4148-BB34-0BE350820E42@xxxxxxxxxxxxxxxx
Thanks Eugen,
That's my question. Thanks for your answer, but I hoped I could solve it
without ASP.
Now I am afraid it can't.
thanks anyway.
Catharinus van der Werf
www.figuresfirst.nl
"Eugen" wrote:
Hi Catharinus,
If I understand correctly, you want to force your web pages that are
"sub-pages", (meaning you reach them by following the functionality of
your
application) to re-direct to your web application starting page, if the
user
click from outside of the application.
If this is the case ,you can do it programatically. In ASP.NET you have a
Context object and you can deduct the web page you are coming from. I
think
you can do this using some server variables as well. In case your page is
called from a wrong page you can re-direct it to the starting web page.
Best regards,
Eugen
"Scott M." wrote:
Maybe if you phrased your question more clearly...
"Do I need a link to go to the homepage?"
....and...
"Is it not possible to go to the homepage automatically when one clicks
on a
subpage from outside?"
....don't exactly sound like questions that have specific answers. In
fact,
these questions make me think that you don't understand how web pages
are
accessed and/or how search engines list pages. It doesn't matter if
someone
clicks a link to one of your pages from one of your pages or from
Google.
They are going to wind up wherever the hyperlink points them to. As I
pointed out earlier, if you want someone taken to your home page, you
need
to explicitly give them a hyperlink to that page or just point to the
domain, in which case the home page will be served by default.
It sounds to me like Google is doing exactly what it should and you are
getting exactly what you should. But it also sounds like you belived
that
your home page is the entrance to your web site and that entering any
other
way is bad or incorrect, which is incorrect.
But, if you would take your time and explain what you want and what you
have
more clearly, you might get an answer that helps you.
"catharinus van der werf"
<catharinusvanderwerf@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote in message
news:871A7E85-5E24-468C-8645-6639EB3F2624@xxxxxxxxxxxxxxxx
Oke Scott,
It's clear you can't help me.
Thanks
Catharinus van der Werf
Leeuwarden
The Netherlands
"Scott M." wrote:
Do I need a link to go to the homepage?
Where? Sub-pages (as you put it) should always have links on them
(otherwise a user would be stuck there), one of which, should be
back to
the
home page. But, you mentioned that Google is listing the home page
when
you
do your search, so what is the problem?
Is it not possible to go to the homepage automatically when one
clicks
on
a subpage from outside?
Well no! If you click a link to "A", why should it take you to "B"?
And stay on the subpage, when entering from within the website?
Huh? You want to leave the sub-page but stay on it as well?
thanks
Catharinus van der Werf
Leeuwarden
"Scott M." wrote:
There are 2 ways to get to your home page.
1. A direct hyperlink to that page (ie.
http://someSite.com/index.html)
2. A link to the domain server itself, with no page in the
request
(ie.
http://someSite.com)
You indicate that you ARE seeing links to the home page as well
as
other
pages in the site, so what, exactly is the problem as this is
just
what
you
want to see?
"catharinus van der werf"
<catharinusvanderwerf@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote in message
news:466D0DF3-19A6-43FC-8B1E-8D5EBAA1C9E7@xxxxxxxxxxxxxxxx
Hi Scott,
yes of course. But what I mean is that it should take me to the
first
page
of the website and that is usely the home.html or index.html.
So I
want
to
go
to one of these pages.
Thanks
Catharinus van der Werf
"Scott M." wrote:
What are you talking about?
Clicking on a link (in Google or anywhere) is only supposed to
take
you
to
one page. If that page is one of your web pages, you have
been
taken
to
your web site. Hyperlinks don't open web sites, per se. They
take
you
to
a
page that is part of a web site.
"catharinus van der werf"
<catharinusvanderwerf@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote in message
news:5B0624FB-8A28-47BC-BF35-AF02E07695A9@xxxxxxxxxxxxxxxx
Hello,
I have build a website with approximately 30 html-pages.
When I search this website in Google, I see the index.html
or
home.html
on
this website, but also other html-pages on this website.
When I click in Google on one of these pages (not index.html
or
home.html),
I am only linked to that one html-page and not to the
website
itself.
Does anyone know how to fix this. Is there for example a
metatag?
Thanks
Catharinus van der Werf
Leeuwarden
The Netherlands
- Follow-Ups:
- Re: HTML-page clicked in Google don't get me to the website
- From: Scott M.
- Re: HTML-page clicked in Google don't get me to the website
- References:
- Re: HTML-page clicked in Google don't get me to the website
- From: Scott M.
- Re: HTML-page clicked in Google don't get me to the website
- From: Scott M.
- Re: HTML-page clicked in Google don't get me to the website
- From: catharinus van der werf
- Re: HTML-page clicked in Google don't get me to the website
- From: Scott M.
- Re: HTML-page clicked in Google don't get me to the website
- From: catharinus van der werf
- Re: HTML-page clicked in Google don't get me to the website
- From: Scott M.
- Re: HTML-page clicked in Google don't get me to the website
- From: Eugen
- Re: HTML-page clicked in Google don't get me to the website
- From: catharinus van der werf
- Re: HTML-page clicked in Google don't get me to the website
- From: Scott M.
- Re: HTML-page clicked in Google don't get me to the website
- Prev by Date: RE: Xml deserialization problem..help needed.
- Next by Date: How can I get debug tracing from deserialization process?
- Previous by thread: Re: HTML-page clicked in Google don't get me to the website
- Next by thread: Re: HTML-page clicked in Google don't get me to the website
- Index(es):
Relevant Pages
|