Hi.
I've been trying to hide just one freaking url from search engines, including google. This is not for blackhat or being sneaky. I simply want to keep one link out of any index. The url is just a variable that is for USERS to change flash design theme. I don't want the engines indexing it.
Ohh.. and the link is in a image map.
I'v tried using php with USER AGENT strpos to check if google or msn or yahoo, and javascript to write the link html in, because I read search engines don't use javascript... so what the heck is my link doing in google.
Someone please tell me how to keep my link out of any and all search engines. No robots should see the link.
PHP... Javascript...???
Any help would be appreciated.
Thanks
Frustrating Link Issue wih PHP
Moderator: General Moderators
exclude it in your robots.txt file
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Code: Select all
User-agent: *
Disallow: /Jcart wrote:From what I remember not all site crawlers will follow the robots.txt file though..Code: Select all
User-agent: * Disallow: /
So, I'm supposed to kill my site for one link... LOL
That is extremely bad advice. What if someone did that? Their whole site would be kept out of search engines.
Don't do that.
Thanks for the amusement though
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact: