Jul 6, 2008

301 Redirect And Bots - a small doubt

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

free web hosting

301 Redirect And Bots - a small doubt

AlanDS
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.

Reply

beeseven
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.

Reply

Tyssen
Or rather rethink your design so that it still works if js is disabled.

Reply

Saint_Michael
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?

Reply

Paul
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

Reply

farsiscript
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

Reply

peroim
I think most search engines will try to index your complete site (if you say so in robots.txt) and take both pages.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. cache:p7ujudcw9amj:www.trap17.com/index.php/redirect-code-help_t8977.html "break out of frames" bots - 568.21 hr back.
  2. redirect bots - 777.16 hr back.
Similar Topics

Keywords : 301, redirect, bots, small

  1. How To Redirect
    Not as simple as it sounds (5)
  2. Redirect Problem
    (6)
    Hi, does anyone know if there is a way to display say www.b.com at www.a.com without using redirect
    from a to b. The real problem i have is if you try going to www.frusciante.net you will get
    redirected to www.locborg.de/fru where the files are stored. The code in frusciante.net is: HTML
    FRAMESET border=0 frameSpacing=0 rows=100%,* frameBorder=0 > FRAME name=bannerframe src ="
    http://www.locborg.de/fru/ " noResize> /FRAMESET > So is there a way to display the files
    from locborg.de/fru while maintaining the frusciante.net URL in the browser?....
  3. Url Redirection = Javascript+html
    Redirect using scripts! (4)
    In javascript Browser redirection can be done in 3 ways: 1) Alert Redirect: CODE
    <html> <script>     alert("This page has been moved to a new location...
    click OK to be redirected.");     location = "http://www.your-website.com";
    </script> </html> 2) Confirm and Redirect: CODE <html>
    <script>     if(confirm("This page has been moved to a new location... would you
    like to be redirected"))     {   location = "http://www.your-website.com";
        }....
  4. Countdown Till Redirect
    (4)
    ok here is a question: how would i do something that says you will be redirected in 15 seconds and
    then changes the number till the redirection takes place. this is planned for a custom 404 error
    page. im not just asking for the countdown but also how to redirect at all. thankfull for any
    help /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> Lucas....
  5. Redirect Code Help
    (7)
    Can someone give me the code which redirects you automatically in the whole page instead of only in
    the frame? I'm using this code, but it just redirects inside a frame... CODE <meta
    HTTP-EQUIV="REFRESH" content="0; url=http://www.something.com"> But now
    .tk has added a ad to the pages so I don't want to use it anymore, so I want that people
    entering the site is being redirected to the "real" domain name now.......
  6. Online Bots - Virtual Bartender
    Online Bots - virtual bartender (3)
    Been looking into bots a little bit - some are really good, with lots of answers to questions, etc.
    This one is great - unique, it doens't respond with words, but with graphics.
    http://www.virtualbartender.beer.com/beer_usa.htm If anyone has some good bot websites, please
    post .......

    1. Looking for 301, redirect, bots, small

Searching Video's for 301, redirect, bots, small
advertisement



301 Redirect And Bots - a small doubt



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE