By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,304 Members | 3,201 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,304 IT Pros & Developers. It's quick & easy.

Are personalized URLs a danger to my Search Engine inclusion?

P: n/a
Greetings, all,

Several days after adding personalized URLs to my "amazing" collection
of "God Loves (yourname)" mazes, it occurred to me that if someone were
to create an offcolor term, then copy the URL to his own web page, that
I might be penalized because my page would include that text on the
resulting page.

For example, let's say that "GOD LOVES JOKES" has negative
connotations. Someone could create:

http://mazes.com/asp-maze/godloves.asp?firstname=jokes

and visiting the page reveals a headline "God Loves Jokes".

Could I hurt my search engine rankings by giving people the ability to
create a personalized URL like this? Of course, what's the likelihood
that someone would abuse such a link?

The next related question would be: Is there a metatag or the
equivalent that I could put on a page that is reached with a
personalized URL telling the search engines to ignore this page in
their searches? I could always add logic to add that code to any page
source code that was reached with a personalized URL from another page.

Which brings up yet another question? Can I, in my ASP program, tell
what page contained the link that the person just visited?

John

P.S. I've also added an ENLARGE button, a SHRINK button, and a
PRINTABLE button that merely hides the information above the maze so
that it will be the topmost/leftmost item on the page when you print.

Oct 2 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
"John" wrote:
For example, let's say that "GOD LOVES JOKES" has negative
connotations. Someone could create:

http://mazes.com/asp-maze/godloves.asp?firstname=jokes

and visiting the page reveals a headline "God Loves Jokes".


You can easily stop this by fixing your asp script to respond to POST data
only. If you detect a GET request, just send out a default name or a welcome
page. This will also solve the search engine indexing problem (their robots
don't send POST data, so they'll never see the results). You should read up
on META robots tags anyway, since you'll probably find them useful:

<http://www.google.com/search?q=meta+robots>

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
Oct 2 '05 #2

P: n/a
John <Go******************@gmail.com> wrote:
Several days after adding personalized URLs to my "amazing" collection
of "God Loves (yourname)" mazes, it occurred to me that if someone were
to create an offcolor term, then copy the URL to his own web page, that
I might be penalized because my page would include that text on the
resulting page.

For example, let's say that "GOD LOVES JOKES" has negative
connotations. Someone could create:

http://mazes.com/asp-maze/godloves.asp?firstname=jokes

and visiting the page reveals a headline "God Loves Jokes".
Well, God does love jokes.
Could I hurt my search engine rankings by giving people the ability to
create a personalized URL like this? Of course, what's the likelihood
that someone would abuse such a link?
You never know when someone might find it and make some sort of a joke out
of it. When that happens it could spread like wildfire.
Which brings up yet another question? Can I, in my ASP program, tell
what page contained the link that the person just visited?


Maybe I am misunderstanding your question, but can't you just examine the
HTTP-Referer value?

mmiguel
--
Hit The Road! Photos from 36 countries on 5 continents: http://travel.u.nu
Latest photos: Macau; Queens Day in Amsterdam; Grand Canyon; Amman, Jordan
Oct 3 '05 #3

P: n/a
Philip wrote:
You can easily stop this by fixing your asp script to respond to POST data
only. If you detect a GET request, just send out a default name or a welcome
page. This will also solve the search engine indexing problem (their robots
don't send POST data, so they'll never see the results).
I already use POST, but it occurred to me that an average person might
want to save their maze in their favorite places, and giving them a
personalized URL is one way to do it.

But you've reminded me that I have a third option ... if the person
puts a name into the URL, give them their maze but use default
headlines, so that I don't have to worry about search spiders seeing
the actual text, so I don't have to worry about x-rated language, etc.
You should read up on META robots tags anyway,
since you'll probably find them useful:
<http://www.google.com/search?q=meta+robots>
Thanks, I'll do that.

Miguel wrote:
http://mazes.com/asp-maze/godloves.asp?firstname=jokes
and visiting the page reveals a headline "God Loves Jokes".
Well, God does love jokes.

Yes, he does, that's why I used jokes as my example.
Could I hurt my search engine rankings by giving people the ability to
create a personalized URL like this? Of course, what's the likelihood
that someone would abuse such a link? You never know when someone might find it and make some sort of a joke
out of it. When that happens it could spread like wildfire.
I think I'll change my headline so that it's a default headline when
using GET data, but is personalized with POST data.
Which brings up yet another question? Can I, in my ASP program,
tell what page contained the link that the person just visited?

Maybe I am misunderstanding your question, but can't you just examine
the HTTP-Referer value?


You're probably understanding me perfectly. I don't know how to do
that. That's why I asked my question. I'm an utter beginner at using
ASP inside my HTML.

John

Oct 3 '05 #4

P: n/a
I wanted to thank you for your hint, Miguel, HTTP-Referer is exactly
what I was looking for. I found the information on how to use it
several places on the internet, then searched for information to let me
add unique referrers to a text file. Here's what I ended up with:

<%
'Create Our ServerVariables and Store them to a variable
site = Request.ServerVariables("HTTP_REFERER")
if site>""then
site = site & "," & thispage
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject ")
set f=fs.OpenTextFile(Server.MapPath("testread.txt"),1 ,true)
do while f.AtEndOfStream<>true and site>""
testitem=f.ReadLine: if testitem=site then site=""
loop: f.Close
if site>"" then
set f=fs.OpenTextFile(Server.MapPath("testread.txt"),8 ,true)
f.WriteLine(site): f.Close: site=""
set f=Nothing: set fs=Nothing
end if
end if
%>

I'm sure I could make this routine above even better, but it works, so
I'm satisfied. For example, I could have used EXIT DO after site=""
instead of using (and site>"") in the line above it, but I've always
hesitated to use exit do, because on occasion, they have done funny
things in other programs.

Having found the statements required to let me create this file, I went
on to set up a similar file to keep track of first names requested, and
while making those changes, also changed it so that if someone uses the
http://www.mazes.com/asp-maze/godlov...firstname=john style of
personalized URL, their name does not show up in the text or headings
of the page. So, once in awhile, i can glance at the names file to see
what kinds of interesting names have been a-maze-d.

John

Oct 4 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.