Forum Moderators: phranque

Message Too Old, No Replies

Redirecting that isn't spam

         

Miraenda

5:15 am on Jul 16, 2003 (gmt 0)

10+ Year Member



I wanted to broach an issue that I have read on previous posts, because I am a bit worried about my site indexing on Google as spam. I have a site that has a main page called index.htm that redirects the users to either index1.htm or index2.htm based on screen resolution. I use the following Javascipt code at the beginning to do this:

<script language="JavaScript" type="text/JavaScript">
<!--

if (screen.width <= 1151) {
document.location = "index2.htm";
}

if (screen.width >= 1152) {
document.location = "index1.htm";
}
//-->
</script>

(I apologize to the creator of this JavaScript, which I did not write myself, since I had to remove the copyright/website notification due to Webmaster World.com rules about displaying website addresses.)

Due to this script, the user will only see and stay on index.htm if JavaScript is disabled on the browser. Index.htm is designed to look good without JavaScript enabled (my regular site has a lot of JavaScript code for rotating flower images and random text).

Now, after reading numerous complaints at Webmaster World.com about redirecting, I am worried that Google will think I am doing this simply as a spam tactic since the spider would simply find 3 almost identical pages with one redirecting to the other two. Even though my website is a personal one making me absolutely no money whatsoever, I would still like it to rank decently (after all, why build a site unless you would like people to visit?).

Another reson I am bringing up this issue is because I wanted to present a valid argument for client-side redirections without users entering information. Redirecting users to the appropriate version of a webpage based on screen resolution would seem to be a good reason for using such tactics to me anyway.

If anyone has an idea as to whether my site will be labelled as spam for such redirections, please let me know, including information on what steps I should do to prevent it from happening.

If anyone has a better way for me to code my index.htm page (simply and with minimal additional code) to keep the user on the page and resize based on screen resolution, please please let me know since I would love to have one page rather than three. (Please note that I have tried to use JavaScript if...else statements to write an iframe that would load based on screen resoltution, so index1.htm would load in 1152+ resolution while index2.htm would load in anything lower, but I could not get this to work. The reason I played around with iframes for this was because I could use whole html documents rather than having to use if...else for each image on the page which would be a nightmare.)

Finally (yes, this is a long post), I would like to note that I am searching for information on a site that would have a spider mimicking tool so I can see how a site might rank or at least index on a site like Google. I saw a reference to such a site in another post, but I forgot to bookmark it and now I can't find it again.

Thanks all,
Mira

Miraenda

5:35 pm on Jul 16, 2003 (gmt 0)

10+ Year Member



Okay, I will admit my first post above was rather long, but surely someone has a comment/suggestion to make about it. Even just answering the question in my final paragraph of the post would be great...

Ally_Cat

5:43 pm on Jul 16, 2003 (gmt 0)

10+ Year Member



I don't have anything to add about your redirect, sorry. If you do a search on G or M$ for "sim spider" you should find something. Good luck.

Miraenda

9:00 pm on Jul 20, 2003 (gmt 0)

10+ Year Member



Ally_Cat, sorry I took so long to thank you for your helpful advice on spider simulators. I did what you said and found plenty.

Thanks again,
Mira