Visualizzazione dei risultati da 1 a 5 su 5

Visualizzazione discussione

  1. #1
    Utente di HTML.it
    Registrato dal
    Sep 2012
    Messaggi
    199

    Problema con "Duplicate content"

    Salve a tutti!

    Sto testando un sito con uno di questi servizi gratuiti che ci stanno su internet e continuo a riceve questo messaggio:

    "There is duplicate content on http://www.XXX.com and http://YYY.com. This is bad, as technically they are classed as two different websites. Search engines may lower a website's rank if they find the same content on two different URLs."

    nonostante abbia messo nel file .htaccess questo:

    Redirect permanent http://www.XXX.com http://YYY.com
    Redirect permanent http://www.XXX.com/index.php http://YYY.com
    Redirect permanent http://XXX.com/index.php http://YYY.com

    e nell'index (a scanso di equivoci) quest'altro:
    Codice PHP:
    if($_SERVER['PHP_SELF']=="www.XXX.com"){    header("HTTP/1.1 301 Moved Permanently");     header("Location: http://YYY.com"); } 
    e

    codice HTML:
    <link rel="canonical" href="http://YYY.com"/>
    più di così che altro posso fare??? Eppure mi continua a dare quella segnalazione.

    Secondo voi dove sto sbagliando?

    Grazie in anticipo a tutti, ciao!

    Ultima modifica di rigby76; 11-02-2014 a 12:09

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.