Home › Forum › Problemi Vari con WP › I link si sono rotti
-
AutorePost
-
-
25 Marzo 2017 alle 13:27 #31355miki31-7Partecipante
Salve, da quando ho cambiato plugin per i redirect 301, nonostante abbia importato tutti i redirect del plugin precedente, Google sta scansionando gli url dei miei articoli aggiungendo sempre -2 alla fine del link, quindi se l’articolo è http://www.sito.it/article/, lui fa http://www.sito.it/article-2/
Essendo che article-2 non esiste Google mi sta dando centinaia di errori 404! Potrebbe essersi rovinato qualcosa nel database dato che è lଠche agiva il plugin del redirect. Ho impostato un redirect 301 in modo da eliminare il -2 dalla fine di ogni link. Ma come faccio a risolvere togliendo di mezzo tutti i link rotti e quindi facendo smettere a Google di scansionarli?
Ho seguito le indicazioni del regolamento come disattivare i plugin eccetera, ma nulla. Il sito https://goo.gl/cREgwz è hostato su un VPS Linux ma non so quanto possa essere importante questa info. Il database lo si gestisce con phpmyadmin.
-
25 Marzo 2017 alle 16:15 #121460SteveAglAmministratore del forum
Non so cosa possa essere successo ma probabilmente inq ualche momento hai avuto le url snballate, se hai una sitemap che mandi a google verifica ce non abbia le url sbagliate.
Se hai impostato i redirect permanent per eliminare il -2 entro breve google non indicizzerà più quelle url ma solo quelle corrette.
Una prova possibile è quella di impostare il browser per simulare lo user agent di gooel (un addon per i chrome o ff esiste) e vedere che navigando cos’ le url nons iano servite diversamente (problemi su come farlo settaggi del brwser etc non sono di copetenza di questo frum)
-
26 Marzo 2017 alle 16:58 #121462TittiModeratore
Ma come faccio a risolvere togliendo di mezzo tutti i link rotti e quindi facendo smettere a Google di scansionarli?
Non puoi, se quelle pagine non esistono. Google li scansiona perché in qualche modo ad un certo punto ha trovato quegli URL e se non esistono è cosa buona e giusta che ti dia errore 404.
Io non ho trovato nessun tuo URL del tipo http://www.sito.it/article-2/ e al momento non mi pare che Google abbia indicizzato link rotti per il tuo sito: https://www.google.it/search?q=site%3A+www.tech4d.it&ie=utf-8&oe=utf-8&client=firefox-b&gfe_rd=cr&ei=GH7WWO_OHuvBXtD5kNgN (però puoi provare a vedere appunto usando un tool del tipo consigliato da Steve).
Se dici cosଠperché li vedi elencati in Search Console negli errori 404 non devi fare assolutamente niente, è corretto che stiano in quell’elenco e se li lasci lଠsenza far nulla G non li rileverà più e spariranno con il tempo; in pratica lasciarli lଠequivale a confermare a Google che non esistono e di non scansionarli più.
Al contrario se fossero 404 di pagine che invece esistono occorrerebbe richiedere altre scansioni.
(Piuttosto hai degli URL che non risolvono tra quelli che hai inserito tu manualmente relativi ad altri siti, mettili a posto.)
-
26 Marzo 2017 alle 18:54 #121464miki31-7Partecipante
Ciao Titti, grazie per la risposta molto esaustiva. Tuttavia non è proprio come dici, ho individuato la causa. Nel mio VPS ci sono dei file di testo o altri formati che contengono quegli URL, a quanto pare Googlebot sta scansionando le viscere del mio hosting non limitandosi solo al sito.
Il problema è che il mio VPS contiene centinaia di file, dovessi aprirli tutti per individuare link in ognuno finirei l’anno prossimo (i 404 ci sono anche per link diversi da article-2, ma appaiono solo in access log e non in search console). Una cartella l’ho già individuata, era un residuo di un plugin e conteneva file .log con alcune centinaia di URL. Sapresti indicarmi un tool per cercare gli URL all’interno di ogni singolo file agendo sul backup del mio VPS?
-
27 Marzo 2017 alle 9:45 #121467TittiModeratore
Non stavo cercando di individuare nessuna causa (dato che neppure so quali plugin hai installato o del perché in origine li hai installati), ma solo generalmente dicendo che se sono URL di pagine che non esistono o non esistono più è corretto e sano che siano individuati come 404, e che saranno dimenticati.
Se invece questi URL esistono ancora fisicamente da qualche parte devi eliminarli e/o eliminare la causa che li ha creati o che li crea se questi continuano a formarsi senza motivo per un plugin o direttive che magari hai inserito tu, e solo tu puoi sapere dove e perché.
A me rimane oscuro perché nel tuo spazio esistano o debbano esistere “file di testo o altri formati” che contengano strani URL o perché tu debba o voglia individuare manualmente questi URL dentro file che non appartengono alla normale installazione di WordPress né sono direttamente necessari al suo funzionamento, invece di cancellare i file in toto. Io non so di che file tu stia parlando, ma avrai i tuoi motivi se li hai messi tu o se sono di plugin e comunque l’importante è che tu sappia a cosa servono se a qualcosa servono.
(Il mio consiglio finale sarebbe stato un altro, cioè di ripulire tutte le schifezze lasciate dai plugin di redirection e di fare manualmente il redirect di cui avevi bisogno a monte quando hai installato i plugin, ma tu ovviamente puoi fare come vuoi.)
Detto ciò personalmente per cercare nei file io ho usato talvolta FileSeek, ma una ricerca mirata con Google può darti una panoramica più completa dei software disponibili a tale scopo.
-
27 Marzo 2017 alle 12:46 #121470SteveAglAmministratore del forum
su una VPS suupongo linux un banale grep fornisce ogni genere di ricerca possibile e immaginabile… ovviamente si tratta di comandi unix e quindi non facciamo supporto al loro uso ecc. Avere una VPS presuppone una conoscenza di sysadmin minima che comprende anche l’uso di questi strumenti ovviamente, s no molto meglio un hosting condiviso perchè a questo punto probabilmente tutto il tuo sistema è insicuro di base
-
27 Marzo 2017 alle 14:24 #121471miki31-7Partecipante
Grazie davvero! Titti ci sto lavorando per i redirect manuali e ho ripulito hosting e database da tutto lo schifo che i plugin hanno creato, perchè sono quelli ad aver inserito i link rotti. Ti ringrazio per il consiglio su FileSeek, professionalissimi, complimenti
Un’ultima domanda, i “link rotti” possono essere solo sulla VPS, sul database o su siti esterni giusto? O ci sono altre location? Che mi risulti no
-
27 Marzo 2017 alle 16:57 #121472SteveAglAmministratore del forum
I link rotti li puoi avere e li avrai anche se altri siti hanno link non corretti verso il tuo sito o quellis pesso generati da bot di spam o altro che generano UL con paramentri aggiutivi sperando di sfruttare falle di qualche plugin o altro, siccome questi sono generati in maniera assiccia ed automatica basta ignorarli, quello leo verifichi su google vedendo il referrer del link.
-
27 Marzo 2017 alle 17:11 #121473TittiModeratore
E per link rotti si deve intendere non solo quelli relativi al proprio sito ma anche quelli di altri siti che si inseriscono nei propri contenuti, come dicevo su tra parentesi ne hai qualcuno.
-
27 Marzo 2017 alle 17:32 #121475miki31-7Partecipante
Grazie 1.000 Titti e SteveAgl. Titti puoi indicarmi infine un link rotto qualsiasi che vedi nel sito possibilmente senza linkare il sito? Io non riesco a trovarne, mi sto seriamente preoccupando per la mia vista…
-
27 Marzo 2017 alle 18:22 #121476TittiModeratore
Non devi cercarli a vista! Anche perché poi dovresti aprirli tutti per controllarli! Un controllo veloce periodico lo puoi sempre fare con un tool on line – ne ho avviato io uno per te QUI (ne ha già trovati 18, ti indica anche la pagina dove li hai inseriti) – oppure meglio visto che son tanti installare direttamente un plugin come questo che poi potrai disattivare o disinstallare una volta fatto.
23…
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.