Are you a Google Analytics enthusiast?
Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE!

www.CustomReportSharing.com
From the folks who brought you High Rankings!
More SEO Content
Do Spiders Like Css?
#1
Posted 03 October 2003 - 08:47 AM
As long as the code is sound, I don't think I would expect a problem, but I would like to know for sure that spiders see the <h1> and <h1 class="header"> or <h1 style="...."> as the same thing.
#2
Posted 03 October 2003 - 08:51 AM
#3
Posted 03 October 2003 - 10:08 AM
Jill
#4
Posted 03 October 2003 - 10:08 AM
#5
Posted 03 October 2003 - 10:25 AM
I remember there was a mention (I think by GG) that as far as Google is concerned, you should not exclude your CSS file in your robots.txt. I would presume that this is because they *want* to crawl it. Probably to run it through some kind of algorythm that determines if you are hiding text...
#6
Posted 03 October 2003 - 10:28 AM
#7
Posted 03 October 2003 - 02:29 PM
The issue is that with CSS is that it's powerful enough that you could actively hide entire layers (cloaking) or set your H1 tags to be 0.1em, which would effectively be invisible (deception).
As to the main question... All of my sites use an external CSS file and none have had any SE issues.
The fun of using an external css file is that when you find someone stealing your stuff, but forgetting to change the hardcoded, full URL css reference it's laughable simple to really trash their site.
ps Yes, I've been known to do that...even have a stock background image ready and waiting. It's a really simple thing to drop that into their background, hide their text layers and put in others, etc. It's an easy way let everybody know that the site is stolen and where to go for the real thing.
#8
Posted 03 October 2003 - 03:43 PM
so far I only have used css imbedded in the pages, so the external use is still new to me. but the way you describe changing the stylesheet on stolen pages raised a question or two.
if you change the stylesheet for one page doesn't that affect all the pages that use that stylesheet?
if so, how do you change the link rel info on the other pages that include that stylesheet to include a different one?
i've already found one page that was stolen from one of my sites but i couldn't do much about it. it will be nice to have a way to solve that problem should it occur in the future.
take it easy,
michael
#9
Posted 03 October 2003 - 03:52 PM
#10
Posted 03 October 2003 - 08:00 PM
Yes, changing something in your CSS will change every page which links to it.
When I catch someone using my layout and still linking to the css file on my server, I'll just rename my css file and then a search and replace on all of my site files. Upload all of that and I'm ready to start having some fun. Make sure you leave the old css file on the server though. Don't wanna tip them off too soon.
Once your site is using the new css file you can safely tinker with the old css file to your hearts content since the only thing it'll affect is the offending site.
There are all kinds of neat things you can do, depending upon how much fun you want to have. Change it just a little to mess up their site. Move everything around on the page. Absolutely position stuff 10,000 pixels from the top of the page. Make every layer invisble so that the page appears to be blank.
If you really want to get radical and have sufficient privleges on your server, you can even configure Apache to process .css files through the server's php module before delivering them to the browser. In which case you can pop a line or two of code in your old css file and redirect all of the traffic from the offender to your site or any other site to which you'd like to send the traffic. That's a bit much, but I do have to admit doing it once and redirecting all of their traffic over to their 404 Error Page just for giggles.
<Edit>No I'm not really evil...just have a weird sense of humor.</Edit>
#11
Posted 03 October 2003 - 08:37 PM
#12
Posted 03 October 2003 - 09:07 PM
>if you change the stylesheet for one page doesn't that affect all the pages that use that stylesheet?
eatapeach, instead of using a .css file - create a external style sheet in perl, php etc.(server permitting) then you can query the external stylesheet from each individual page using the normal <LINK REL tag
You could even programme in a back up plan, such as the one Randy described, using the referrer functions
#13
Posted 03 October 2003 - 09:44 PM
Hey, qwerty, mind if I stea... err, "borrow" that image?replacing it with this little message.
--Torka
#14
Posted 03 October 2003 - 09:49 PM
#15
Posted 04 October 2003 - 08:12 AM
If G wanted to they could read your .css files at any time. There is no law against ignoring files listed in robot.txt files. Instructing the robot to follow a link in HTML with .css extension no matter the content of robot.txt is no big deal.On a similar note...
I remember there was a mention (I think by GG) that as far as Google is concerned, you should not exclude your CSS file in your robots.txt. I would presume that this is because they *want* to crawl it. Probably to run it through some kind of algorythm that determines if you are hiding text...
So do not worry about it - unless you are about to hide anything
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users








