She-geeks Forum
February 12, 2012, 12:12:53 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Get the Hacker's Underground Handbook:
http://www.she-geeks.com/hackers-underground-handbook1.html
 
   Home   Help Search Login Register  
Pages: 1   Go Down
  Print  
Author Topic: How do you add code to prevent Google BOT from caching a MySpace Page?  (Read 867 times)
0 Members and 1 Guest are viewing this topic.
njkev
Newbie
*

Karma: 6
Offline Offline

Posts: 4



« on: February 05, 2009, 01:50:45 PM »

How do you add code to prevent Google BOT from caching a MySpace Page?  Are there a few lines of CSS that can be added to prevent indexing, and caching of the pages?  I know it can be done if I can edit the Header...but I don't think MySpace allows that.  Thanks.
Logged
Paul The Wise
Newbie
*********

Karma: 4004
Offline Offline

Posts: 27


The smaller the mind, the greater the conceit.


« Reply #1 on: February 05, 2009, 02:51:15 PM »

How do you add code to prevent Google BOT from caching a MySpace Page?  Are there a few lines of CSS that can be added to prevent indexing, and caching of the pages?  I know it can be done if I can edit the Header...but I don't think MySpace allows that.  Thanks.
Google caching is impossible to prevent.  Myspace will filter it & CSS it doesnt recognize, so technically, there is no option right now. Those bots are a complete invasion to some sites. I dont want my page cached either.
Logged

There is no great genius without some touch of madness.
spitfire68
Guest
« Reply #2 on: February 05, 2009, 03:23:06 PM »

yes, the new "evil empire" (aka google, it used to be walmart lol) crawls and caches and saves everything!  I recently ran a spokeo search on my email and it pulled up all kinds of stuff from my former MS page which was deleted back in mid december! 
Logged
njkev
Newbie
*

Karma: 6
Offline Offline

Posts: 4



« Reply #3 on: February 05, 2009, 09:40:22 PM »

I appreciate your responses.  It really sucks to be able to see the source code....know how to edit the damn header....but just CAN'T EDIT the damn thing!   It's a tease I tell ya!  lol    Kev
Logged
swytch
GeekTastiC
Administrator
Sr. Member
************

Karma: 4020
Offline Offline

Posts: 726


"Quis custodiet ipsos custodes?"


WWW
« Reply #4 on: February 06, 2009, 10:33:21 AM »

FYI - Here are some methods for you to try:

************BLOCK GOOGLE INDEXING**************
How to prevent my website from being indexed by Google:

http://www.seoblogr.com/google/how-to-prevent-my-website-from-being-indexed-by-google/  (its too long to post)


ALSO---->

********BLOCK GENERAL CACHING**********************

To request that your web page not be cached, you must put a No-Cache directive in the <HEAD> section of the web page.

<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> is the HTTP/1.1 compliant method of requesting that a web page not be cached.


<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> was the HTTP/1.0 compliant method of requesting that a web page not be cached.

*****************************
Prevent caching of web pages by browsers

The web pages
you view are stored by your system inside the cache directory. Now, when you view these pages again, the browser searches the cache, and if it finds the page there, it displays it immediately. This presents problems to web developers when they update a page since the visitors see an older version (that was stored in the cache) of the page.

To prevent this from happening set the expiration date in the past inside the <meta>. Thus the browser reloads the page everytime the user visits.

Here is the code:

<meta http-equiv="expires" value="Thu, 16 Mar 2000
11:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />


********************************************************
How to prevent your pages from being cached by the browser

Add the following HTML in between the <HEAD> and </HEAD> tags of your page:

    <meta http-equiv="Expires" content="-1">

FrontPage Steps:

   1. Edit the page in FrontPage Editor.
   2. Right click within the page, and select page properties.
   3. Click on the Custom Tab.
   4. Click on Add (System variables).
   5. Enter "Expires" (no quotes) for the name.
   6. Enter "-1" (no quotes) for the value.
   7. Click OK all of the way out.
   8. Save the page.

***************************

Last but not least, there are numerous articles for users to work on getting pages removed from the monster Google catalog.  I've never tried it, personally, but many have.  Here are a couple more links:

http://digg.com/security/Getting_things_deleted_from_Google_s_cache

https://www.google.com/webmasters/tools/removals?pli=1

*************************************

Happy surfing!!

Swytch~~   Cool

NOTE:  these are general HTML rules which can be applied to web pages.  You may be savvy enough to get them to work on Myspace but I'm not guaranteeing it.  I just thought I'd provide some sound code for you to play with.
« Last Edit: February 06, 2009, 10:37:02 AM by swytch » Logged

The present moment is your only reality...
justy
Administrator
Hero Member
*************

Karma: 4588
Offline Offline

Posts: 1407


but then it's your life uh huh, it's your life. uh, huh. but, you've only got one.


WWW
« Reply #5 on: February 06, 2009, 12:05:40 PM »

that is great info  Grin  i assumed it wouldnt work with myspace, but maybe with a little tweaking & magic, it will work Wink
Logged

01101010011101010111001101110100011010010110111001100001
freezey
Full Member
*******

Karma: 442
Offline Offline

Posts: 346



« Reply #6 on: February 11, 2009, 05:47:01 PM »

thanks for the info switch... a couple of months ago i was trying to figure out twhat i can put on my MS page so it wouldn't get cashed but it went over my head hehe
Logged
Pages: 1   Go Up
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
.
Custom Search