WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Search Engines > Search Engine Optimization Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Search Engine Optimization Forum SEO is much easier with help from peers and experts! The WebProWorld SEO forum is for the discussion and exploration of various search engine optimization topics. Any non (engine) specific SEO or SEM topics should go here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-03-2007, 05:27 AM
Ann Ann is offline
WebProWorld Member
 

Join Date: Oct 2006
Location: Kolkata, India
Posts: 51
Ann RepRank 0
Question Can javascript redirect harm website

Hello,

Recently my client has used JavaScript redirect in html web page which is redirecting to asp web page. I know JavaScript redirect is temporary redirect and not search engine friendly. But my question is that, is it because of JavaScript redirect that we lost hits in last six months. They have done so at the end of May 2007. Before that in April 2007 TBPR update, we lost few important web page page rank.

Also, the website is hosted in shared IP. My client is constantly asking for the reason & when I say it’s because of JavaScript redirect, they don’t agree with me.

What could be the reason for decline in hits?

SEO Gurus please help.
__________________
Web Solutions in India
Reply With Quote
  #2 (permalink)  
Old 10-03-2007, 07:18 AM
tamecrow's Avatar
WebProWorld Veteran
 

Join Date: Aug 2007
Location: United Kingdom
Posts: 355
tamecrow RepRank 2
Default Re: Can javascript redirect harm website

Without seeing the site, we can't say, but the JavaScript redirect certainly isn't helping. Why do you not use a 301 redirect?
__________________
-tamecrow | UK SEO Company
Reply With Quote
  #3 (permalink)  
Old 10-03-2007, 07:28 AM
Ann Ann is offline
WebProWorld Member
 

Join Date: Oct 2006
Location: Kolkata, India
Posts: 51
Ann RepRank 0
Default Re: Can javascript redirect harm website

Thanks tamecrow for ur quick reply,

As i said, the site is hosted in shared server, so they don't have access to change it.

For the site URL, I cant post it as my client don't want it.

Please help...
__________________
Web Solutions in India
Reply With Quote
  #4 (permalink)  
Old 10-03-2007, 03:27 PM
Dubbya's Avatar
WebProWorld 1,000+ Club
 

Join Date: Nov 2006
Location: Steinbach, Manitoba, Canada
Posts: 1,191
Dubbya RepRank 3Dubbya RepRank 3
Default Re: Can javascript redirect harm website

Obviously, an JavaScript redirect is going to cause issues in that search engines will probably see the redirect page as a "doorway page". If that's the case, it's possible that your site is being penalized.

From the Google Help Center
Webmaster Help Center - Cloaking, sneaky Javascript redirects, and doorway pages

(I'd recommend that you read the entire page.)
Quote:
"When Googlebot indexes a page containing Javascript, it will index that page but it cannot follow or index any links hidden in the Javascript itself."

"When a redirect link is embedded in Javascript, the search engine indexes the original page rather than following the link, whereas users are taken to the redirect target. Like cloaking, this practice is deceptive because it displays different content to users and to Googlebot, and can take a visitor somewhere other than where they intended to go."

"Note that placement of links within Javascript is alone not deceptive. When examining Javascript on your site to ensure your site adheres to our guidelines, consider the intent."

"Keep in mind that since search engines generally can't access the contents of Javascript, legitimate links within Javascript will likely be inaccessible to them (as well as to visitors without Javascript-enabled browsers). You might instead keep links outside of Javascript or replicate them in a noscript tag."
If you have not been tracking site statistics, it's going to be a little hard to figure out where the problem is originating from or precisely when the loss in traffic began.

You've asked for help in determining why you're losing hits but are unable to provide a URL. Without a URL, we cannot determine your targeted keywords or compare your site against any competitors, nor are we able to check the code in your pages, redirects or main site content.

Get a static dedicated IP address, lose the JavaScript redirect and you'll begin to see some improvements.

.02
__________________
Printer ink, inkjet & toner cartridges in Canada
"Price-wise printing supplies"
inkjetOasis.ca
Reply With Quote
  #5 (permalink)  
Old 10-03-2007, 04:38 PM
WebProWorld Pro
 

Join Date: Dec 2003
Location: Raymond, NH, USA
Posts: 112
mawells RepRank 0
Default Re: Can javascript redirect harm website

I've used JavaScript redirects with no problems BUT I also include a robot.txt tag that tells the search engine not to index this page. That way if the page is served up as a search result the visitor will be sent to the new page and eventually, the page will be dropped from the search index. (Sometimes you simply can't use a 301 redirect with certain hosting companies and sometimes I may choose to reuse the file at a later date, so the redirect may not be permanent.)
__________________
MAWells
www.web-kare.com
Reply With Quote
  #6 (permalink)  
Old 10-03-2007, 06:11 PM
WebProWorld Member
 

Join Date: Sep 2007
Posts: 47
DoneInStyle RepRank 0
Default Re: Can javascript redirect harm website

Why can't you do the redirect directly from the domain name registrar? Many supply this service.
Reply With Quote
  #7 (permalink)  
Old 10-03-2007, 06:36 PM
WebProWorld Pro
 

Join Date: Apr 2006
Location: Earth
Posts: 241
blitzen RepRank 0
Default Re: Can javascript redirect harm website

Quote:
Originally Posted by Ann View Post
As i said, the site is hosted in shared server, so they don't have access to change it.
We have several websites on a shared server and can use our own htaccess to 301 redirect.
You might want to ask your host if you can do that.
__________________
*** Free Tibet ***
Reply With Quote
  #8 (permalink)  
Old 10-03-2007, 07:40 PM
craigmn3's Avatar
WebProWorld Veteran
 

Join Date: Jan 2004
Location: California
Posts: 324
craigmn3 RepRank 1
Default Re: Can javascript redirect harm website

I assuming the javascript is on an existing page. Why not add a text anchor link pointing to the new page as well.

somethinng like:

If you are not automatically forwarded please click the link below:

then add your new link.

That will also help the people who's browsers block javascript actions as malicious (more of these than you think). This could also be part of the reason why you are missing traffic.
Reply With Quote
  #9 (permalink)  
Old 10-03-2007, 11:06 PM
edhan's Avatar
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Singapore
Posts: 524
edhan RepRank 1
Default Re: Can javascript redirect harm website

If possible, changing hosting that allows you to do a 301 redirect.
__________________
Receiving & Giving To Society
Thai Buddha Amulets & Tibetan dZi Beads | Ads Revenue Sharing | Shopping Online
Reply With Quote
  #10 (permalink)  
Old 10-04-2007, 01:11 AM
Ann Ann is offline
WebProWorld Member
 

Join Date: Oct 2006
Location: Kolkata, India
Posts: 51
Ann RepRank 0
Default Re: Can javascript redirect harm website

First of all thanks to all of your for answering.

Quote:
Originally Posted by Dubbya View Post
Obviously, an JavaScript redirect is going to cause issues in that search engines will probably see the redirect page as a "doorway page". If that's the case, it's possible that your site is being penalized.

From the Google Help Center
Webmaster Help Center - Cloaking, sneaky Javascript redirects, and doorway pages

(I'd recommend that you read the entire page.)


If you have not been tracking site statistics, it's going to be a little hard to figure out where the problem is originating from or precisely when the loss in traffic began.

You've asked for help in determining why you're losing hits but are unable to provide a URL. Without a URL, we cannot determine your targeted keywords or compare your site against any competitors, nor are we able to check the code in your pages, redirects or main site content.

Get a static dedicated IP address, lose the JavaScript redirect and you'll begin to see some improvements.

.02
I have read the webmaster guidelines & even showed it to client. According to them they have added only javascript redirect and removed all other contents from the web page.

I know without providing URL, its difficult to analyse the reason for fall in hits.

The client said that they have used this type of redirect two years back but not such fall in hits occurred at that time. I answered them that the pages earlier were not important web pages. This time they made changes in the main index web page which comes after a flash web page.
__________________
Web Solutions in India
Reply With Quote
  #11 (permalink)  
Old 10-04-2007, 01:17 AM
Ann Ann is offline
WebProWorld Member
 

Join Date: Oct 2006
Location: Kolkata, India
Posts: 51
Ann RepRank 0
Exclamation Re: Can javascript redirect harm website

@mawells
Quote:
I've used JavaScript redirects with no problems BUT I also include a robot.txt tag that tells the search engine not to index this page. That way if the page is served up as a search result the visitor will be sent to the new page and eventually, the page will be dropped from the search index. (Sometimes you simply can't use a 301 redirect with certain hosting companies and sometimes I may choose to reuse the file at a later date, so the redirect may not be permanent.)
Its a nice suggestion. Thank you.

@DoneInStyle
Quote:
Why can't you do the redirect directly from the domain name registrar? Many supply this service.
Can your please explain how to do it? I dont have any idea about it.

@blitzen
Quote:
We have several websites on a shared server and can use our own htaccess to 301 redirect.
You might want to ask your host if you can do that.
Correct me if I am wrong, htacess can be used in Linux server & not for windows server. If it can be done in Windows server, please do let me know any reference site to do it.

@craigmn3
Quote:
I assuming the javascript is on an existing page. Why not add a text anchor link pointing to the new page as well.

somethinng like:

If you are not automatically forwarded please click the link below:

then add your new link.

That will also help the people who's browsers block javascript actions as malicious (more of these than you think). This could also be part of the reason why you are missing traffic.
Thanks for the nice suggestion. This can be one of the reason.

@edhan
Quote:
If possible, changing hosting that allows you to do a 301 redirect.
I have already asked client to do so. But, according to Matt Cutt & few other SEO webmasters, It does not matters a lot & cannot harm a site in such a badly manner
__________________
Web Solutions in India
Reply With Quote
  #12 (permalink)  
Old 10-04-2007, 01:33 AM
Ann Ann is offline
WebProWorld Member
 

Join Date: Oct 2006
Location: Kolkata, India
Posts: 51
Ann RepRank 0
Default Re: Can javascript redirect harm website

Also, from August 2007, few targeted keywords have lost their rankings in Google. Eralier keywords were ranking in top 20 & now they are in between of 50-100.

Is there any updation going in Google? When will TBPR update will happen as its almost 5 months over.
__________________
Web Solutions in India
Reply With Quote
  #13 (permalink)  
Old 10-04-2007, 03:52 AM
WebProWorld New Member
 

Join Date: Jun 2007
Location: Cheshire, UK
Posts: 12
kayd RepRank 1
Default Re: Can javascript redirect harm website

It's my guess that you are using javascript redirects with the link hidden within.

Google will not follow those links, they are for humans, the bots won't see them. So Google (and other SE bots) are trying to crawl your previously ranking pages finding no content and gradually de-indexing them.

It is an absolute urgency that you address this issue immediately. You MUST arrange for search engine friendly redirects (301) and I suggest you get link building to try to recover as best you can.

As much as i hate to post a reference to wikipedia on an SEO matter, this page talks about URL redirection in a simple and concise format.
URL redirection - Wikipedia, the free encyclopedia

Last edited by kayd : 10-04-2007 at 03:54 AM. Reason: grammar :)
Reply With Quote
  #14 (permalink)  
Old 10-04-2007, 04:15 AM
brucet's Avatar
WebProWorld Member
 

Join Date: Feb 2004
Location: London, UK
Posts: 72
brucet RepRank 0
Default Make sure it's the real cause, not just a possible cause

A drop in hits could have been caused by the Javascript redirect, but the only way to be sure it was this and not some other issue is to look at the timing. Did the drop happen immediately after the redirect was implemented? Did any other changes take place at the same time?

It would definitely be a good idea to implement one of the fixes suggested here, but getting back your lost traffic is the priority. You need to be sure you have correctly identified the actual cause - not just one possible cause. Otherwise you could be putting your main effort into something that is not the real priority.
__________________
Bruce Townsend
Actinic ecommerce software, ecommerce website design
Reply With Quote
  #15 (permalink)  
Old 10-04-2007, 05:15 AM
WebProWorld New Member
 

Join Date: Jun 2007
Location: Cheshire, UK
Posts: 12
kayd RepRank 1
Default Re: Can javascript redirect harm website

I just want to stress that javacript redirects are absolutely NOT search engine friendly and this is widely known by competent SEOs. It doesnt matter if the drop (in ranks) happened immediately after or a few days. Removing the content of an already ranking page and using a JS redirect to a new URL is NOT the way to go and is ALMOST CERTAINLY going to affect ranks.

So making sure 301 redirect is implemented SHOULD be the priority at this stage before anything else.

Make sure you also update your main navigation, sitemap and all existing internal static links to the new urls.

Last edited by kayd : 10-04-2007 at 05:18 AM.
Reply With Quote
  #16 (permalink)  
Old 10-04-2007, 05:24 AM
tamecrow's Avatar
WebProWorld Veteran
 

Join Date: Aug 2007
Location: United Kingdom
Posts: 355
tamecrow RepRank 2
Default Re: Can javascript redirect harm website

kayd is correct - Search engines on the whole cannot read JavaScript.
__________________
-tamecrow | UK SEO Company
Reply With Quote
  #17 (permalink)  
Old 10-05-2007, 12:57 AM
Ann Ann is offline
WebProWorld Member
 

Join Date: Oct 2006
Location: Kolkata, India
Posts: 51
Ann RepRank 0
Default Re: Can javascript redirect harm website

Quote:
Originally Posted by kayd View Post
It's my guess that you are using javascript redirects with the link hidden within.

Google will not follow those links, they are for humans, the bots won't see them. So Google (and other SE bots) are trying to crawl your previously ranking pages finding no content and gradually de-indexing them.

It is an absolute urgency that you address this issue immediately. You MUST arrange for search engine friendly redirects (301) and I suggest you get link building to try to recover as best you can.

As much as i hate to post a reference to wikipedia on an SEO matter, this page talks about URL redirection in a simple and concise format.
URL redirection - Wikipedia, the free encyclopedia
We are using the following javascript redirect:
<script language="JavaScript">
window.location="newpage.asp";
</script>

We have already created sitemap.xml with the new web page url. Google has indexed the new web page. Google usually indexed our website & its web pages in 15 days period.

Since the site is hosted in shared server, 301 redirect is not possible through IAS. I am looking for asp code to redirect it. Hope it works.
__________________
Web Solutions in India
Reply With Quote
  #18 (permalink)  
Old 10-05-2007, 01:09 AM
Ann Ann is offline
WebProWorld Member
 

Join Date: Oct 2006
Location: Kolkata, India
Posts: 51
Ann RepRank 0
Default Re: Make sure it's the real cause, not just a possible cause

Quote:
Originally Posted by brucet View Post
A drop in hits could have been caused by the Javascript redirect, but the only way to be sure it was this and not some other issue is to look at the timing. Did the drop happen immediately after the redirect was implemented? Did any other changes take place at the same time?

It would definitely be a good idea to implement one of the fixes suggested here, but getting back your lost traffic is the priority. You need to be sure you have correctly identified the actual cause - not just one possible cause. Otherwise you could be putting your main effort into something that is not the real priority.
As i said earlier, the javascript redirect happened in end of May 2007. Before that in April TBPR update we lost few important web page pagerank(5 to NA). After having a discussion in WPW & WMW, I came to know that this was a bug in April 2007 TBPR update and many reputed website & directory has lost its internal web page page rank. So I am assuming its all because of javascript redirect.

As it was an assumption, I am thinking what else could be reason for fall in hits. Was there any updates going on in Search engines?
__________________
Web Solutions in India
Reply With Quote
  #19 (permalink)  
Old 10-05-2007, 01:58 AM
Ann Ann is offline
WebProWorld Member
 

Join Date: Oct 2006
Location: Kolkata, India
Posts: 51
Ann RepRank 0
Default Re: Can javascript redirect harm website

Quote:
Originally Posted by kayd View Post
I just want to stress that javacript redirects are absolutely NOT search engine friendly and this is widely known by competent SEOs. It doesnt matter if the drop (in ranks) happened immediately after or a few days. Removing the content of an already ranking page and using a JS redirect to a new URL is NOT the way to go and is ALMOST CERTAINLY going to affect ranks.

So making sure 301 redirect is implemented SHOULD be the priority at this stage before anything else.

Make sure you also update your main navigation, sitemap and all existing internal static links to the new urls.
I know that javascript redirect is not search engine friendly. Yes, the drop in ranking started in June, which improved in July but again went down in August and also in September.

We need to remove the content from the existing page as the new page had the same content. I think you are correct, this only could be the reason for fall in hits. Thanks a lot for pointing it out.

I am suggesting them to redirect using ASP code.
Quote:
<%
Response.Status="301 Moved Permanently"
Response.AddHeader='Location','http://www.new-url.com/'
%>
It says that it is permanent redirect & I hope it will resolve my problem.

I am thankful to all of you for answering.
__________________
Web Solutions in India

Last edited by Ann : 10-05-2007 at 02:33 AM.
Reply With Quote
  #20 (permalink)  
Old 10-05-2007, 03:06 AM
Webnauts's Avatar
WebProWorld 1,000+ Club
 

Join Date: Aug 2003
Location: Worldwide
Posts: 7,298
Webnauts RepRank 3Webnauts RepRank 3
Default Re: Can javascript redirect harm website

Quote:
Originally Posted by Ann View Post
Hello,

Recently my client has used JavaScript redirect in html web page which is redirecting to asp web page. I know JavaScript redirect is temporary redirect and not search engine friendly. But my question is that, is it because of JavaScript redirect that we lost hits in last six months. They have done so at the end of May 2007. Before that in April 2007 TBPR update, we lost few important web page page rank.

Also, the website is hosted in shared IP. My client is constantly asking for the reason & when I say it’s because of JavaScript redirect, they don’t agree with me.

What could be the reason for decline in hits?

SEO Gurus please help.
I am sorry if my suggestion was mentioned in the thread.
I read here that search engines do not understand JavaScript, and I agree.
But search engines understand the <noscript> tag. And in there you can add a link to the page you want to direct to.

In addition I would like to add an article about search engine friendly redirects we published on our site:
Search Engine Friendly Permanent Redirects - SEO Workers
Reply With Quote
  #21 (permalink)  
Old 10-05-2007, 11:15 AM