Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> 301 Redirect And Bots, a small doubt
AlanDS
post May 13 2006, 01:33 PM
Post #1


Newbie [Level 3]
***

Group: Members
Posts: 49
Joined: 22-April 06
Member No.: 22,255



Hi guys,

I am presently developing a website which depends on JavaScript for its design.
The problem is that some browsers do not JavaScript enabled.

So, in case Script cannot be run on the browser, I have given a 301 (Meta) Redirect to a page which will tell them to enable the script.

What about the Search engine bots?

Will they undergo the 301 Redirect?
Or can they see the actual page?


Please help.
Go to the top of the page
 
+Quote Post
beeseven
post Jun 1 2006, 11:38 PM
Post #2


Privileged Member
*********

Group: Members
Posts: 629
Joined: 26-February 05
Member No.: 3,995



I can't answer your robot question but I can tell you that most people who know what javascript is and how to turn it off won't turn it on just for your site. I recommend that you have a non-javascript version if you want to keep potential visitors.
Go to the top of the page
 
+Quote Post
Tyssen
post Jun 2 2006, 12:29 AM
Post #3



***********

Group: Members
Posts: 1,161
Joined: 9-May 05
From: Brisbane, QLD
Member No.: 6,818



Or rather rethink your design so that it still works if js is disabled.
Go to the top of the page
 
+Quote Post
Saint_Michael
post Jun 2 2006, 01:16 AM
Post #4


$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
*********************

Group: [HOSTED]
Posts: 6,560
Joined: 21-September 04
From: 9r33|\| 399$ 4|\|D 5P4/\/\
Member No.: 1,218
T17 GFX Crew



to answer your question google will cache your redirect, from this post I saw on another site so, I would drop the redirect page altogether as well.

But like tyssen said rethink it, I have found alternatives for javascript that can be done in css.

But a small suggestion what javascripts do you plan on running?
Go to the top of the page
 
+Quote Post
Paul
post Jun 2 2006, 01:22 AM
Post #5


Premium Member
********

Group: Members
Posts: 174
Joined: 25-February 06
From: Austin, TX
Member No.: 19,113



If you can provide a link or description of the scripts you are using, we can suggest CSS alternatives.

And about the 301 redirect use .htaccess redirect.

what you have to do is create a .htaccess file, if doesn't already exist in your root directory and add this line:
CODE
Redirect permanent / http://www.TheNewURL.com
Go to the top of the page
 
+Quote Post
farsiscript
post Jun 10 2006, 08:14 PM
Post #6


Super Member
*********

Group: Members
Posts: 357
Joined: 8-April 06
Member No.: 21,487



use this code for redirect :
CODE
<?php
header('www.yoursite.com');
?>

but its not a javascript , its php code if you can use this
all browser and all people support this code
Have good time smile.gif
Go to the top of the page
 
+Quote Post
peroim
post Jul 11 2006, 10:17 AM
Post #7


Newbie [Level 2]
**

Group: Members
Posts: 33
Joined: 9-July 06
From: Belgium
Member No.: 26,367



I think most search engines will try to index your complete site (if you say so in robots.txt) and take both pages.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Redirect Code Help(8)
  2. Countdown Till Redirect(4)
  3. Redirect Problem(6)
  4. How To Redirect(5)


 



- Lo-Fi Version Time is now: 11th October 2008 - 12:24 AM