How to view the full source code for this URL that auto-redirects?

Discussion in 'HTML & Website Design' started by BuenosAires, Jan 19, 2007.

  1. #1
    I am posting this here looking for a techie person to give me a quick bit of advice.

    I want to see the source code of buenosaires.com, but i can't get to it because it auto-redirects immediately to english.buenosaires.com.

    how do i view the source code for the main domain url?

    also, can anyone see anything untoward going on here? both buenosaires.com and english.buenosaires.com are in the top ten on google.com for the search buenos aires....and yet both take you straight to the same page (for english users, as you would expect for google.com users). isn't that against the google rules in some way?
     
    BuenosAires, Jan 19, 2007 IP
  2. Anduril66

    Anduril66 Well-Known Member

    Messages:
    390
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Using Rex Swain's HTTP Viewer, I go this:
    
    <html>
    
    <head>
    <title>·Buenos·Aires·-·Buenos·Aires·Hotels,Hoteles·en·Buenos·Aires,·Restaurantes·Buenos·Aires,·Bed·&amp;·Breakfasf·Buenos·Aires</title>
    <meta·name="description"·content="BuenosAires.com·ofrece·hoteles·en·Buenos·Aires,·Restaurantes·buenos·aires,·Promociones·de·hoteles·en·buenos·aires,·Paquetes·tur(ED)sticos·de·Buenos·Aires,·Casas·de·Tango,·buenos·aires·Aparts·Hotels,·Clasificados·buenos·aires.">
    <meta·name="keywords"·content="Buenos·Aires,hoteles,hotels,hostels,bed·&amp;·breakfasf,reservations,reservas,restaurantes,restaurants,tango,escapadas,aparts,tours,turismo,buenos·aires,caza,pesca,paquetes,packages,residencias,car,rental,shows,clasificados,·classifieds,·hoteles·econ(F3)micos,departamentos">
    <meta·name="ROBOTS"·content="ALL">
    <meta·http-equiv="Expires"·content="0">
    <meta·name="rating"·content="General">
    <meta·name="revisit-after"·content="1·days">
    <meta·name="GENERATOR"·content="Notepad">
    ·<body·topmargin="0"·leftmargin="0"·bgcolor="#FFFFFF">
    <SCRIPT>
    ··if·(navigator.appName=='Netscape')
    ··var·language=navigator.language;
    ··else
    ··var·language=navigator.browserLanguage;
    ··if·(language.indexOf('es')>-1)·document.location.href='/marco_sp.htm';
    ··else·if·(language.indexOf('en')>-1)·document.location.href='http://english.buenosaires.com/';·
    ··else·document.location.href='http://english.buenosaires.com/';·
    ··</SCRIPT>
    <br><br>
    <center>
    <font·face=arial·size=2>
    <b>BIENVENIDO·A·BUENOSAIRES.COM·-·version·solo·texto</b><br><br>
    <a·href=http://www.buenosaires.com/indexSP.asp>VERSION·EN·ESPA(D1)OL</a><br><br>··
    <strong><a·href=http://www.buenosaires.com/hoteles/new/index_hotels.php·target=_self><b>Hoteles·en·Buenos·Aires·</b></a></strong><br>
    <strong><a·href=http://classifieds.buenosaires.com/?setlang=spa·target=_self><b>Clasificados·en·Buenos·Aires</b></a></strong><br>
    <strong><a·href=http://classifieds.buenosaires.com/index.php?catid=3&set_add_ad_cat=0&setlang=spa·target=_self><b>Departamentos·en·alquiler·en·Buenos·Aires</b></a></strong><br>
    <strong><a·href=http://classifieds.buenosaires.com/index.php?catid=31&set_add_ad_cat=&setlang=spa·target=_self><b>Bed·&amp;·Breakfast·en·Buenos·Aires</b></a></strong><br>
    <br><hr><br>
    <b>WELCOME·TO·BUENOSAIRES.COM·-·text·version</b><br><br><br>
    <a·href=http://english.buenosaires.com/>·Buenos·Aires·English·Edition</a><br><br>·
    <br><strong><a·href=http://english.buenosaires.com/index_hotels.php·target=_self><b>Buenos·Aires·Hotels</b></a></strong><br>
    <strong><a·href=http://classifieds.buenosaires.com/index.php?catid=3&set_add_ad_cat=0&setlang=eng·target=_self><b>Buenos·Aires·Apartments·for·Rent</b></a></strong><br>·
    <strong><a·href=http://classifieds.buenosaires.com/index.php?setlang=eng·target=_self><b>Buenos·Aires·Classifieds</b></a></strong><br>
    <strong><a·href=http://english.buenosaires.com/directory/index.php?c=9·target=_self><b>Buenos·Aires·Pictures</b></a></strong><br>
    <strong><a·href=http://classifieds.buenosaires.com/index.php?setlang=eng·target=_self><b>About·Buenos·Aires</b></a></strong><br>
    <strong><a·href=http://english.buenosaires.com/gcards/index.php·target=_self><b>Buenos·Aires·Postcards</b></a></strong><br>
    <br><br><center>
    BUENOS·AIRES·CITY,·ARGENTINA<br>
    </center>
    <font·face=arial·size=2·color=red>
    <a·href=http://www.buenosaires.com/marco_sp.htm>
    Podr(E1)·encontrar·los·siguientes·contenidos·sobre·la·ciudad·de·<b>Buenos·Aires</b>
    <b>ARTE·EN·BUENOS·AIRES,·CIRCUITOS·TURISTICOS·EN·BUENOS·AIRS,·DEPARTAMENTOS·EN·BUENOS·AIRES,·FOTOS·DE·BUENOS·AIRES,·RESTAURANTES·DE·BUENOS·AIRES,·HOTELES·BUENOS·AIRES,·MAPAS,·MEDIOS,·PROMOCIONES·DE·BAJO·COSTO·BUENOS·AIRES·Y·MUCHO·MAS!!!</b>
    </a>
    <br>
    </font>
    </body>··
    <html>
    
    Code (markup):
    The center dots are supposed to be spaces.

    If the code on the buenosaires index page detects English as your browser language variable, it redirects you to english.buenosaires.com . I'm not sure about the rules regarding your Google Search question.
     
    Anduril66, Jan 19, 2007 IP