|
|
|
|
![]() ![]() |
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. |
|
|
|
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.
|
|
|
|
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.
|
|
|
|
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 ![]() |
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? |
|
|
|
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
|
|
|
|
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 |
|
|
|
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.
|
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 11th October 2008 - 12:24 AM |