Frames and Search Engines Kehykset ja hakukoneet by Sumantra Roy on Sumantra Roy When it comes to framed sites and the effect that the use of frames by a site has on its search engine ranking, there are two schools of thought. Kun on kehystetty sivustoja ja siitä, että käyttää kehyksiä, jonka sivusto on sen hakukoneen sijoitus on kaksi ajattelutapaa. Some people say that framed sites, if done properly, have no problems in getting good rankings in the search engines. Jotkut sanovat, että kehystetty sivustot, jos asiat hoidetaan kunnolla, ei ole mitään ongelmia saada hyvä sijoitustani hakukoneille. Others claim that if search engine optimization is important to you, never use frames. Toiset väittävät, että jos hakukoneen optimointi on sinulle tärkeää, koskaan käyttää kehyksiä. In my opinion, the truth lies somewhere in between. Olen sitä mieltä, että totuus on jossain välimaastossa. Yes, the use of frames does throw up a few issues when it comes to getting good rankings in the search engines which don't understand frames. Kyllä, käyttää kehyksiä ei heittää jopa muutamia asioita, kun se tulee saamaan hyvän sijoitustani hakukoneet, jotka eivät ymmärrä kehyksiä. Hence, when you are designing a new site, I would recommend that you avoid using frames, unless you have a specific reason for doing so. Näin ollen, kun olet suunnittelemalla uusi sivusto, suosittelen, että voit välttää käyttämällä kehyksiä, ellei sinulla ole erityistä syytä. However, if you already have a site which uses frames, all is not lost. Kuitenkin, jos sinulla on jo sivusto, joka käyttää kehyksiä, kaikkea ei ole menetetty. You can still get good rankings in the search engines even though you have used frames. Voit silti saada hyvän sijoitustani hakukoneiden vaikka olet käyttänyt kehyksiä. Furthermore, using frames also has its own advantages when it comes to search engine placement, as we shall later on. Lisäksi käytetään kehyksiä on myös omat edut, kun se tulee hakukoneen sijoittaminen, kuten tulemme myöhemmin. This article assumes that you have a working knowledge of frames. Tässä artikkelissa oletetaan, että sinulla on tunnettava kehyksiä. For more information on frames, go to http://www.webreference.com/dev/frames/ Lisätietoja kehyksiä, siirry http://www.webreference.com/dev/frames/ In case your site uses frames, the key to getting good rankings lies in using the NOFRAMES tag. Jos sivusto käyttää kehyksiä, avain saada hyvä Sijoituksille on käytössä noframes tag. The NOFRAMES tag is intended to help framed web sites display some content for those people who are using browsers which don't understand frames. Noframes-koodi on tarkoitus auttaa kehystetty verkkosivujen näyttää jotain sisältöä niille ihmisille, jotka käyttävät selaimia, jotka eivät ymmärrä kehyksiä. The search engines which don't understand frames also look at the NOFRAMES tag. Hakukoneet, jotka eivät ymmärrä kehyksiä tarkasteltava myös noframes tag. Hence, if you are using frames, you need to add content to the NOFRAMES tag. Näin ollen, jos käytät kehyksiä, sinun täytyy lisätä sisältöä noframes tag. What you should do is to add a complete web page within the NOFRAMES tag. Mitä pitäisi tehdä, on lisätä täydellinen web-sivun noframes-koodia. Ensure that this page repeats the important keywords for your site a number of times. Varmista, että tämä sivu toistetaan tärkeitä avainsanoja sivustosi useita kertoja. Also, in order to ensure that the content within the NOFRAMES tag is as prominent as possible to the search engines, you should put the NOFRAMES tag right after the FRAMESET tag. Myös, jotta voidaan varmistaa, että sisältö on noframes tag on yhtä näkyvästi kuin mahdollista hakukoneet, sinun pitäisi laittaa noframes tag jälkeen kehyksen tunniste. However, don't put the NOFRAMES before the FRAMESET tag. Älä kuitenkaan sijoita noframes ennen kehyksen tunniste. If you do that, Internet Explorer will display your site correctly but Netscape will display the content present in the NOFRAMES tag, rather than the content present within the frames. Jos et, että Internet Explorer näyttää sivuston oikein, mutta Netscape näyttää sisällön läsnä noframes tunnisteen sijasta sisältöön kuuluvat kehyksiä. Furthermore, you should also place a link to the page containing your navigation links in the NOFRAMES tag. Lisäksi sinun tulisi asettaa myös linkki sivun sisältää navigoinnin linkit noframes tag. This ensures that the search engines are able to spider the internal pages in your site. Tämä varmistaa sen, että hakukoneet voivat hämähäkki sisäisen sivustosi sivuja. Here's what the source code of your page might look like: Here's what lähdekoodin sivusi voisi näyttää tältä: <html> <html> <head> <head> <title>Put an attractive title which contains keywords</title> <title> Laita houkutteleva otsikko, joka sisältää avainsanoja </ title> <meta name="description" content="Put an attractive description which also contains keywords"> <meta name="description" content="Put kiinnostava kuvaus, joka sisältää myös keywords"> <meta name="keywords" content="Your target keywords separated by commas"> <meta name="keywords" content="Your kohdistaa avainsanat erotettu commas"> </head> </ head> <frameset border="0" cols="150,75%"> <frameset border="0" cols="150,75%"> <noframes> <noframes> <body> <body> <h1>Heading containing keywords</h1> <h1> Nimike sisältää avainsanoja </ h1> <p>Here, you should add a lot of content and should repeat your keywords a number of times. <p> Tässä, sinun pitäisi lisätä paljon sisältöä ja pitäisi toistaa avainsanat useita kertoja. <p>More keyword rich text for the search engines. <p> Lisää avainsanoilla rikas teksti hakukoneille. <a href="left.html">Link to page containing navigation links</a> <a href="left.html"> Linkki sisältävän sivun navigation links </ a> </body> </ body> </noframes> </ noframes> <frame src="left.html" name="left" scrolling="no" noresize> <frame src="left.html" name="left" scrolling="no" noresize> <frame src="main.html" name="main" scrolling="auto"> <frame src="main.html" name="main" scrolling="auto"> </frameset> </ kehyssivujen> </html> </ html> One problem that occurs when you use frames is that the search engines may often display one of the internal pages in your site in response to a query. Yksi ongelma, joka ilmenee, kun käyttää kehystä on se, että hakukoneet voivat usein näyttää yksi niistä sisäisistä sivuista sivuston kyselyn vastauksessa. If this internal page does not contain a link to the home page of your site, the user will be unable to navigate through your entire site. Jos tämä sisäinen sivu ei sisällä linkkiä kotona sivuston sivulle, käyttäjä voi navigoida läpi koko sivuston. The solution, of course, is to add a link to the home page from that internal page. Ratkaisu, on tietenkin lisätä linkin, kotisivu, että sisäinen sivulla. When the visitor clicks on that link, she is brought within the context of the frames. Kun kävijä napsauttaa linkin hän on nostettu yhteydessä kehyksiä. However, simply adding a link to the home page presents yet another problem. Kuitenkin yksinkertaisesti lisäämällä linkki etusivulle esittelee vielä toinenkin ongelma. If the visitor had already been viewing that page within the context of the frames and then clicks on the link to the home page, a new set of frames will be created in addition to the frames already being used. Jos kävijä oli jo katselee sivusta yhteydessä kehysten ja sitten napsauttaa linkkiä etusivulla, uusi sarja kehyksiä luodaan lisäksi kehysten jo käytössä. In order to solve this problem, you have to use the TARGET = "_top" command in the link, ie the HTML code for the link would be something like Jotta voitaisiin ratkaista tämän ongelman, sinun ei tarvitse käyttää TARGET = "_top" komento linkkiä, eli HTML-koodin yhteys olisi jotain <a href="index.html" TARGET = "_top">Go to our home page</a> <a href="index.html" TARGET = "_top"> Siirry meidän kotisivulle </ a> Wrapping things up: Kääre asioita: As I mentioned earlier, there is also an advantage to using frames. Kuten aikaisemmin mainitsin, on myös eduksi käyttää kehyksiä. Since most Internet users are now using frames enabled browsers, it means that not many people are going to know what's present in your NOFRAMES tag. Koska useimmat Internetin käyttäjät käyttävät nyt kehyksiä käytössä selaimet, se tarkoittaa, etteivät monet ihmiset ovat menossa tietää, mitä nykyinen teidän noframes tag. This allows you the repeat your keywords a few more times in the NOFRAMES than what you could have done if you were writing a page which humans would also see (of course, don't repeat the keywords too many times - that can cause your web site to be penalized for spamming). Tämän ansiosta voit toistaa avainsanat vielä muutamia kertoja noframes kuin mitä olisi voinut tehdä, jos kirjallisesti sivu, joka ihmisillä olisi myös (tietenkin, ei toista avainsanoja liian monta kertaa - että voi aiheuttaa Web paikalla on rangaistu spamming). You can also avoid using tables, graphics etc. which you would otherwise need to use if humans would also view that page. Voit myös välttää käyttämällä taulukoita, grafiikkaa jne., jota ei muuten tarvitse käyttää, jos ihmisillä olisi myös nähdä, että sivulla. However, it is debatable whether this small advantage is sufficient to justify using frames. On kuitenkin kiistanalaista, onko tämä pieni etu on riittävä peruste käyttää kehyksiä. Article by Sumantra Roy. Artikkelissa Sumantra Roy. Sumantra is one of the most respected search engine positioning specialists on the Internet. Sumantra on yksi arvostetuimmista hakukone paikannus asiantuntijoita myös Internetissä. Read more about how to get high positions in the search engines by clicking this link. Lue lisää siitä, miten saada korkea asema hakukoneiden klikkaamalla tätä linkkiä. |