Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignSearch Engine Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 19th, 2005, 10:07 AM
DavidLD DavidLD is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 6 DavidLD User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 7 m 16 sec
Reputation Power: 0
Redirection on website - what effect does this have on SEO

Hi people

I am new to forums.

I have just written a website shoelaceplace and the first thing I do when a user enters is to use some javascript to retrieve the size of the screen and immediately redirect to another page on the website.

The problem is:

Robots enter the site and only seem to go to the first page which is the screen detection page.

How can I improve my SE ranking in this scenerio ?

Reply With Quote
  #2  
Old September 19th, 2005, 10:50 AM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,282 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 16 m 26 sec
Reputation Power: 744
You have another problem too ... a browser with cookies off will never get to your site b/c it sits there and continually redirects. This could also be a problem the spiders are facing. Your site should work w/o cookies and w/o JavaScript. JavaScript should be used for convenience factors only, and cookies should be used only when necessary.

Change your JavaScript to have a default that is used when a) the browser doesn't return an available size, and b) the browser doesn't have cookies enabled.
__________________
# Jeremy

Explain your problem instead of asking how to do what you decided was the solution.

Reply With Quote
  #3  
Old September 19th, 2005, 11:22 AM
DavidLD DavidLD is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 6 DavidLD User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 7 m 16 sec
Reputation Power: 0
Thanks Jeremy

What I have done is return the screen resolution using java script to enhance the user experience when browsing my website, i.e. the site uses up the entire page width. Do you know how I could return the screen resolution without using javascript.

Site is written in asp.net.

Reply With Quote
  #4  
Old September 19th, 2005, 11:44 AM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,282 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 16 m 26 sec
Reputation Power: 744
JavaScript is the only way to get the screen resolution, but you don't have to store it in a cookie, which is what I'm assuming you're doing based on my experience with your site, and you can provide a default setting if the screen resolution doesn't match any of the ones you specify.

So your JavaScript would do this:
Code:
pseudo
if screen resolution is X
  go here
if screen resolution is Y
  go there
if screen resolution is Z
  go everywhere
otherwise
  go default
And I'm not sure how you're using the screen resolution in the cookie, but you could always pass it in the URL instead.


However, the easiest way to accomplish your goal of using all available space no matter what the available resolution is to use a percentage based layout instead of a fixed width layout.

Reply With Quote
  #5  
Old September 19th, 2005, 12:08 PM
DavidLD DavidLD is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 6 DavidLD User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 7 m 16 sec
Reputation Power: 0
Yes i agree a percentage based layout would be better

Thanks for your help/suggestions

Dave

Here is the code for your reference

<script language="C#" runat="server">****
public void Page_Load(Object sender, EventArgs e)
{
if (Request.QueryString["action"] != null)
{
// store the screen resolution in Session "ScreenResolution"]
// and redirect back to MainPage.aspx
Session["ScreenWidth"] = Request.QueryString["width"].ToString();************
Session["ScreenHeight"] = Request.QueryString["height"].ToString();**
string url = "GeneralDisplayPage.aspx?HeaderSelection=HomePage";
Response.Redirect(url);********
}****
}****
</script>
<BODY bgColor="#ffffff">
<script language="javascript">
// JavaScript code below will determine the user screen resolution ****
// and redirect to itself with action=set QueryString parameter
res = "&width="+screen.width+"&height="+screen.height
top.location.href="IndexGeneral.aspx?action=set"+res
</script>
</BODY>

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignSearch Engine Optimization > Redirection on website - what effect does this have on SEO


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway