Les Frames: à éviter pour le référencement

Il est bon de savoir que les frames constituent un obstacle pour le  référencement d’un site internet. Par contre il existe des solutions pour optimiser le référencement d’un site en frame, comme l’utilisation de la balise qui sert à renseigner du contenu à tous les navigateurs qui ne supportent pas les frames, comme les moteurs de recherche, par exemple.</p> <p style="text-align: left;"> </p> <p style="text-align: left;">En parallèle, vous pouvez ajouter ce code sur chacune des pages constituant votre frame :<br /> <script type="text/javascript"> if (parent.frames.length==0) top.location.href="<a href="http://www.votresite.com/maframe.htm">http://www.votresite.com/maframe.htm</a>"; </script></p> <p style="text-align: left;"> </p> <p style="text-align: left;">Ce script permettra à une personne qui arrivera sur l&rsquo;un ou l&rsquo;autre des éléments constitutifs de votre page, d&rsquo;être redirigée vers la version correcte, à savoir la version, par exemple, comportant les 3 pages qui constituent votre page</p> <div id='jp-relatedposts' class='jp-relatedposts' > <h3 class="jp-relatedposts-headline"><em>Articles similaires</em></h3> </div> </div><!-- .entry-content --> <footer class="entry-footer default-max-width"> <div class="posted-by"><span class="posted-on">Publié le <time class="entry-date published updated" datetime="2011-08-10T15:42:36+02:00">10 août 2011</time></span><span class="byline">Par <a href="https://www.boite2.com/author/franck/" rel="author">Franck PARIENTI</a></span></div><div class="post-taxonomies"><span class="cat-links">Catégorisé comme <a href="https://www.boite2.com/category/actualites/" rel="category tag">Actualités</a> </span><span class="tags-links">Étiqueté <a href="https://www.boite2.com/tag/frames/" rel="tag">frames</a>, <a href="https://www.boite2.com/tag/referencement/" rel="tag">référencement</a>, <a href="https://www.boite2.com/tag/site-en-frames/" rel="tag">site en frames</a></span></div> </footer><!-- .entry-footer --> </article><!-- #post-317 --> <nav class="navigation post-navigation" aria-label="Publications"> <h2 class="screen-reader-text">Navigation de l’article</h2> <div class="nav-links"><div class="nav-previous"><a href="https://www.boite2.com/lannuaire-dmoz/" rel="prev"><p class="meta-nav"><svg class="svg-icon" width="24" height="24" aria-hidden="true" role="img" focusable="false" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M20 13v-2H8l4-4-1-2-7 7 7 7 1-2-4-4z" fill="currentColor"/></svg>Publication précédente</p><p class="post-title">L’annuaire Dmoz</p></a></div><div class="nav-next"><a href="https://www.boite2.com/le-javascript-autre-facteur-bloquant-pour-le-referencement/" rel="next"><p class="meta-nav">Publication suivante<svg class="svg-icon" width="24" height="24" aria-hidden="true" role="img" focusable="false" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m4 13v-2h12l-4-4 1-2 7 7-7 7-1-2 4-4z" fill="currentColor"/></svg></p><p class="post-title">Le JavaScript : un autre facteur bloquant pour le référencement</p></a></div></div> </nav> </main><!-- #main --> </div><!-- #primary --> </div><!-- #content --> <aside class="widget-area"> <section id="block-4" class="widget widget_block widget_media_image"> <figure class="wp-block-image size-full"><img loading="lazy" width="442" height="145" src="https://www.boite2.com/wp-content/uploads/2021/11/Capture-décran-2021-11-02-à-15.53.01.png" alt="" class="wp-image-31535" srcset="https://www.boite2.com/wp-content/uploads/2021/11/Capture-décran-2021-11-02-à-15.53.01.png 442w, https://www.boite2.com/wp-content/uploads/2021/11/Capture-décran-2021-11-02-à-15.53.01-300x98.png 300w" sizes="(max-width: 442px) 100vw, 442px" /></figure> </section><section id="block-5" class="widget widget_block widget_media_image"> <figure class="wp-block-image size-large"><img loading="lazy" width="600" height="424" src="https://www.boite2.com/wp-content/uploads/2021/11/pied-600x424.png" alt="" class="wp-image-31537" srcset="https://www.boite2.com/wp-content/uploads/2021/11/pied-600x424.png 600w, https://www.boite2.com/wp-content/uploads/2021/11/pied-300x212.png 300w, https://www.boite2.com/wp-content/uploads/2021/11/pied-768x543.png 768w, https://www.boite2.com/wp-content/uploads/2021/11/pied-1536x1086.png 1536w, https://www.boite2.com/wp-content/uploads/2021/11/pied-2048x1448.png 2048w, https://www.boite2.com/wp-content/uploads/2021/11/pied-1568x1109.png 1568w" sizes="(max-width: 600px) 100vw, 600px" /></figure> </section><section id="block-6" class="widget widget_block widget_media_image"> <figure class="wp-block-image size-large"><img loading="lazy" width="600" height="424" src="https://www.boite2.com/wp-content/uploads/2021/11/pied-2-600x424.png" alt="" class="wp-image-31536" srcset="https://www.boite2.com/wp-content/uploads/2021/11/pied-2-600x424.png 600w, https://www.boite2.com/wp-content/uploads/2021/11/pied-2-300x212.png 300w, https://www.boite2.com/wp-content/uploads/2021/11/pied-2-768x543.png 768w, https://www.boite2.com/wp-content/uploads/2021/11/pied-2-1536x1086.png 1536w, https://www.boite2.com/wp-content/uploads/2021/11/pied-2-2048x1448.png 2048w, https://www.boite2.com/wp-content/uploads/2021/11/pied-2-1568x1109.png 1568w" sizes="(max-width: 600px) 100vw, 600px" /></figure> </section><section id="search-3" class="widget widget_search"><form role="search" method="get" class="search-form" action="https://www.boite2.com/"> <label for="search-form-1">Rechercher…</label> <input type="search" id="search-form-1" class="search-field" value="" name="s" /> <input type="submit" class="search-submit" value="Rechercher" /> </form> </section><section id="block-9" class="widget widget_block"> <h2><meta charset="utf-8">Tel : <a href="tel:+33988423261" data-type="tel" data-id="tel:+33988423261">+33988423261</a> Email : <a href="mailto:info@boite2.com">info@boite2.com</a> </h2> </section><section id="block-11" class="widget widget_block"> <h2>Envoyez nous un sms au <a href="sms:+33756812787" data-type="URL" data-id="sms:+33756812787">+33756812787</a></h2> </section> </aside><!-- .widget-area --> <footer id="colophon" class="site-footer"> <div class="site-info"> <div class="site-name"> <div class="site-logo"><a href="https://www.boite2.com/" class="custom-logo-link" rel="home"><img width="800" height="265" src="https://www.boite2.com/wp-content/uploads/2016/12/cropped-image-04-V1.jpg" class="custom-logo" alt="Formation subventionnée" srcset="https://www.boite2.com/wp-content/uploads/2016/12/cropped-image-04-V1.jpg 800w, https://www.boite2.com/wp-content/uploads/2016/12/cropped-image-04-V1-300x99.jpg 300w, https://www.boite2.com/wp-content/uploads/2016/12/cropped-image-04-V1-600x199.jpg 600w, https://www.boite2.com/wp-content/uploads/2016/12/cropped-image-04-V1-768x254.jpg 768w" sizes="(max-width: 800px) 100vw, 800px" /></a></div> </div><!-- .site-name --> <div class="privacy-policy"><a class="privacy-policy-link" href="https://www.boite2.com/politique-de-confidentialite/">Politique de confidentialité</a></div> <div class="powered-by"> Fièrement propulsé par <a href="https://fr.wordpress.org/">WordPress</a> </div><!-- .powered-by --> </div><!-- .site-info --> </footer><!-- #colophon --> </div><!-- #page --> <script>document.body.classList.remove("no-js");</script><button id="dark-mode-toggler" class="fixed-bottom" aria-pressed="false" onClick="toggleDarkMode()">Mode sombre : <span aria-hidden="true"></span></button> <style> #dark-mode-toggler > span { margin-left: 5px; } #dark-mode-toggler > span::before { content: 'Off'; } #dark-mode-toggler[aria-pressed="true"] > span::before { content: 'On'; } </style> <script>function toggleDarkMode() { // jshint ignore:line var toggler = document.getElementById( 'dark-mode-toggler' ); if ( 'false' === toggler.getAttribute( 'aria-pressed' ) ) { toggler.setAttribute( 'aria-pressed', 'true' ); document.documentElement.classList.add( 'is-dark-theme' ); document.body.classList.add( 'is-dark-theme' ); window.localStorage.setItem( 'twentytwentyoneDarkMode', 'yes' ); } else { toggler.setAttribute( 'aria-pressed', 'false' ); document.documentElement.classList.remove( 'is-dark-theme' ); document.body.classList.remove( 'is-dark-theme' ); window.localStorage.setItem( 'twentytwentyoneDarkMode', 'no' ); } } function twentytwentyoneIsDarkMode() { var isDarkMode = window.matchMedia( '(prefers-color-scheme: dark)' ).matches; if ( 'yes' === window.localStorage.getItem( 'twentytwentyoneDarkMode' ) ) { isDarkMode = true; } else if ( 'no' === window.localStorage.getItem( 'twentytwentyoneDarkMode' ) ) { isDarkMode = false; } return isDarkMode; } function darkModeInitialLoad() { var toggler = document.getElementById( 'dark-mode-toggler' ), isDarkMode = twentytwentyoneIsDarkMode(); if ( isDarkMode ) { document.documentElement.classList.add( 'is-dark-theme' ); document.body.classList.add( 'is-dark-theme' ); } else { document.documentElement.classList.remove( 'is-dark-theme' ); document.body.classList.remove( 'is-dark-theme' ); } if ( toggler && isDarkMode ) { toggler.setAttribute( 'aria-pressed', 'true' ); } } function darkModeRepositionTogglerOnScroll() { var toggler = document.getElementById( 'dark-mode-toggler' ), prevScroll = window.scrollY || document.documentElement.scrollTop, currentScroll, checkScroll = function() { currentScroll = window.scrollY || document.documentElement.scrollTop; if ( currentScroll + ( window.innerHeight * 1.5 ) > document.body.clientHeight || currentScroll < prevScroll ) { toggler.classList.remove( 'hide' ); } else if ( currentScroll > prevScroll && 250 < currentScroll ) { toggler.classList.add( 'hide' ); } prevScroll = currentScroll; }; if ( toggler ) { window.addEventListener( 'scroll', checkScroll ); } } darkModeInitialLoad(); darkModeRepositionTogglerOnScroll(); </script> <script> if ( -1 !== navigator.userAgent.indexOf( 'MSIE' ) || -1 !== navigator.appVersion.indexOf( 'Trident/' ) ) { document.body.classList.add( 'is-IE' ); } </script> <!-- Click to Chat - https://holithemes.com/plugins/click-to-chat/ v3.12.2 --> <style id="ht-ctc-animations">.ht_ctc_animation{animation-duration:1s;animation-fill-mode:both;animation-delay:0s;animation-iteration-count:1;}</style> <style id="ht_ctc_an_flash">@keyframes flash{from,50%,to{opacity:1}25%,75%{opacity:0}}.ht_ctc_an_flash{animation-name:flash}</style> <div class="ht-ctc ht-ctc-chat ctc-analytics ctc_wp_desktop style-2 " id="ht-ctc-chat" style="display: none; position: fixed; bottom: 15px; right: 15px;" > <div class="ht_ctc_style ht_ctc_chat_style"> <div style="display: flex; justify-content: center; align-items: center; " class="ctc-analytics"> <p class="ctc-analytics ctc_cta ctc_cta_stick ht-ctc-cta ht-ctc-cta-hover " style="padding: 0px 16px; line-height: 1.6; font-size: 15px; background-color: #25D366; color: #ffffff; border-radius:10px; margin:0 10px; display: none; order: 0; ">Bonjour, quelle est votre question ? : ....</p> <svg style="pointer-events:none; display:block; height:50px; width:50px;" width="50px" height="50px" viewBox="0 0 1024 1024"> <defs> <path id="htwasqicona-chat" d="M1023.941 765.153c0 5.606-.171 17.766-.508 27.159-.824 22.982-2.646 52.639-5.401 66.151-4.141 20.306-10.392 39.472-18.542 55.425-9.643 18.871-21.943 35.775-36.559 50.364-14.584 14.56-31.472 26.812-50.315 36.416-16.036 8.172-35.322 14.426-55.744 18.549-13.378 2.701-42.812 4.488-65.648 5.3-9.402.336-21.564.505-27.15.505l-504.226-.081c-5.607 0-17.765-.172-27.158-.509-22.983-.824-52.639-2.646-66.152-5.4-20.306-4.142-39.473-10.392-55.425-18.542-18.872-9.644-35.775-21.944-50.364-36.56-14.56-14.584-26.812-31.471-36.415-50.314-8.174-16.037-14.428-35.323-18.551-55.744-2.7-13.378-4.487-42.812-5.3-65.649-.334-9.401-.503-21.563-.503-27.148l.08-504.228c0-5.607.171-17.766.508-27.159.825-22.983 2.646-52.639 5.401-66.151 4.141-20.306 10.391-39.473 18.542-55.426C34.154 93.24 46.455 76.336 61.07 61.747c14.584-14.559 31.472-26.812 50.315-36.416 16.037-8.172 35.324-14.426 55.745-18.549 13.377-2.701 42.812-4.488 65.648-5.3 9.402-.335 21.565-.504 27.149-.504l504.227.081c5.608 0 17.766.171 27.159.508 22.983.825 52.638 2.646 66.152 5.401 20.305 4.141 39.472 10.391 55.425 18.542 18.871 9.643 35.774 21.944 50.363 36.559 14.559 14.584 26.812 31.471 36.415 50.315 8.174 16.037 14.428 35.323 18.551 55.744 2.7 13.378 4.486 42.812 5.3 65.649.335 9.402.504 21.564.504 27.15l-.082 504.226z"/> </defs> <linearGradient id="htwasqiconb-chat" gradientUnits="userSpaceOnUse" x1="512.001" y1=".978" x2="512.001" y2="1025.023"> <stop offset="0" stop-color="#61fd7d"/> <stop offset="1" stop-color="#2bb826"/> </linearGradient> <use xlink:href="#htwasqicona-chat" overflow="visible" fill="url(#htwasqiconb-chat)"/> <g> <path fill="#FFF" d="M783.302 243.246c-69.329-69.387-161.529-107.619-259.763-107.658-202.402 0-367.133 164.668-367.214 367.072-.026 64.699 16.883 127.854 49.017 183.522l-52.096 190.229 194.665-51.047c53.636 29.244 114.022 44.656 175.482 44.682h.151c202.382 0 367.128-164.688 367.21-367.094.039-98.087-38.121-190.319-107.452-259.706zM523.544 808.047h-.125c-54.767-.021-108.483-14.729-155.344-42.529l-11.146-6.612-115.517 30.293 30.834-112.592-7.259-11.544c-30.552-48.579-46.688-104.729-46.664-162.379.066-168.229 136.985-305.096 305.339-305.096 81.521.031 158.154 31.811 215.779 89.482s89.342 134.332 89.312 215.859c-.066 168.243-136.984 305.118-305.209 305.118zm167.415-228.515c-9.177-4.591-54.286-26.782-62.697-29.843-8.41-3.062-14.526-4.592-20.645 4.592-6.115 9.182-23.699 29.843-29.053 35.964-5.352 6.122-10.704 6.888-19.879 2.296-9.176-4.591-38.74-14.277-73.786-45.526-27.275-24.319-45.691-54.359-51.043-63.543-5.352-9.183-.569-14.146 4.024-18.72 4.127-4.109 9.175-10.713 13.763-16.069 4.587-5.355 6.117-9.183 9.175-15.304 3.059-6.122 1.529-11.479-.765-16.07-2.293-4.591-20.644-49.739-28.29-68.104-7.447-17.886-15.013-15.466-20.645-15.747-5.346-.266-11.469-.322-17.585-.322s-16.057 2.295-24.467 11.478-32.113 31.374-32.113 76.521c0 45.147 32.877 88.764 37.465 94.885 4.588 6.122 64.699 98.771 156.741 138.502 21.892 9.45 38.982 15.094 52.308 19.322 21.98 6.979 41.982 5.995 57.793 3.634 17.628-2.633 54.284-22.189 61.932-43.615 7.646-21.427 7.646-39.791 5.352-43.617-2.294-3.826-8.41-6.122-17.585-10.714z"/> </g> </svg></div> </div> </div> <span class="ht_ctc_chat_data" data-no_number="" data-settings="{&quot;number&quot;:&quot;33756812787&quot;,&quot;pre_filled&quot;:&quot;Bonjour, quelle est votre question ? : ....&quot;,&quot;dis_m&quot;:&quot;show&quot;,&quot;dis_d&quot;:&quot;show&quot;,&quot;css&quot;:&quot;display: none; cursor: pointer; z-index: 99999999;&quot;,&quot;pos_d&quot;:&quot;position: fixed; bottom: 15px; right: 15px;&quot;,&quot;pos_m&quot;:&quot;position: fixed; bottom: 15px; right: 15px;&quot;,&quot;schedule&quot;:&quot;no&quot;,&quot;se&quot;:150,&quot;ani&quot;:&quot;ht_ctc_an_flash&quot;,&quot;url_structure_d&quot;:&quot;web&quot;,&quot;url_target_d&quot;:&quot;_blank&quot;,&quot;ga&quot;:&quot;yes&quot;,&quot;ads&quot;:&quot;yes&quot;,&quot;fb&quot;:&quot;yes&quot;}" ></span> <script id='ht_ctc_app_js-js-extra'> var ht_ctc_chat_var = {"number":"33756812787","pre_filled":"Bonjour, quelle est votre question ? : ....","dis_m":"show","dis_d":"show","css":"display: none; cursor: pointer; z-index: 99999999;","pos_d":"position: fixed; bottom: 15px; right: 15px;","pos_m":"position: fixed; bottom: 15px; right: 15px;","schedule":"no","se":"150","ani":"ht_ctc_an_flash","url_structure_d":"web","url_target_d":"_blank","ga":"yes","ads":"yes","fb":"yes"}; </script> <script src='https://www.boite2.com/wp-content/plugins/click-to-chat-for-whatsapp/new/inc/assets/js/app.js?ver=3.12.2' id='ht_ctc_app_js-js'></script> <script id='twenty-twenty-one-ie11-polyfills-js-after'> ( Element.prototype.matches && Element.prototype.closest && window.NodeList && NodeList.prototype.forEach ) || document.write( '<script src="https://www.boite2.com/wp-content/themes/twentytwentyone/assets/js/polyfills.js?ver=1.6"></scr' + 'ipt>' ); </script> <script src='https://www.boite2.com/wp-content/themes/twentytwentyone/assets/js/primary-navigation.js?ver=1.6' id='twenty-twenty-one-primary-navigation-script-js'></script> <script src='https://www.boite2.com/wp-content/themes/twentytwentyone/assets/js/responsive-embeds.js?ver=1.6' id='twenty-twenty-one-responsive-embeds-script-js'></script> <script> /(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",(function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())}),!1); </script> <script src='https://stats.wp.com/e-202239.js' defer></script> <script> _stq = window._stq || []; _stq.push([ 'view', {v:'ext',j:'1:11.3.2',blog:'56629020',post:'317',tz:'2',srv:'www.boite2.com'} ]); _stq.push([ 'clickTrackerInit', '56629020', '317' ]); </script> </body> </html>