Wordpress Hack #12: Changing Permalink Structure Seamlessly Wordpress NOVITA # 12: Cambiare Permalink Struttura Perfettamente
1,949 views - 1949 opinioni -Posted in: Posted in:
1,949 views 1949 opinioni
Please note: This page was originally written in English. Attenzione: Questa pagina è stata originariamente scritto in inglese.
The original post can be viewed Il post originale può essere visualizzato here qui .
Please note: This page was originally written in English.
The text has been translated using an online service such as Google or Babelfish.
The original post can be viewed here.
Ever wanted to change your Wordpress permalink structure but were afraid of 404 errors and SEO problems? Hai mai voluto cambiare il tuo Wordpress permalink struttura, ma avevano paura di 404 errori e problemi di SEO? I have a Wordpress Hack to fix all your problems right here! Ho un Hack Wordpress per risolvere tutti i problemi qui a destra!
This is installment #12 of Questo è rata # 12 di 30 Wordpress Hacks in 30 Days 30 Hacks Wordpress in 30 giorni !
This Wordpress hack is one that I planned on writing write after the last one about Questo hack Wordpress è uno che ho programmato sulla scrittura di scrivere dopo l'ultimo uno su rotating and recycling posts out of your archives rotante e il riciclaggio posti di archivi and on to your home page. e alla tua home page. Mainly because there is one thing I didn’t address before, and that’s you permalink structure. Soprattutto perché vi è una cosa che non ha affrontato prima, e che la struttura si permalink. In Wordpress your “permalink” structure is your URL. In Wordpress tuo "Permalink" struttura è il tuo URL. By traditional default Wordpress blogs have a day, month, year structure to the URL like this: Con la tradizionale impostazione predefinita blog Wordpress avere un giorno, mese, anno per struttura l'URL in questo modo:
www.site.com/05/01/2008/my-new-post
In your Wordpress dashboard in either settings (WP 2.5) or options (before WP 2.5) -> “Permalinks” you have the ability to change the structure to whatever you want. Nel vostro cruscotto di Wordpress o le impostazioni (WP 2.5) o delle opzioni (prima di WP 2.5) -> "permalink" si avrà la possibilità di modificare la struttura di quello che volete. In the beginning (because they don’t know any better) most people don’t and leave the date default. In principio (perché non si conosce di meglio) la maggior parte delle persone e non lasciare la data di default. Even Pari Matt Cutts says don’t use post dates in URL’s Matt Cutts dice di non utilizzare date nel post URL . Why not? Perché no?
Wordpress Hack #10 should have been a prime example - if you’re going to be recycling your old posts to the home page, it’s going to change the published date to the current day - right? Wordpress NOVITA # 10 avrebbe dovuto essere un esempio - se si sta andando ad essere il riciclaggio tuo vecchio post alla home page, è andare a cambiare la data di pubblicazione per il giorno corrente - a destra? Well, it won’t change the permalink (URL) - and it will still reflect the old date. Beh, non modificare il permalink (URL) - e si riflettono ancora la vecchia data. You could change the permalink structure manually in your dashboard, but that would just create new URL’s for every single post (removing the date portion), so every single bookmark and every single search engine listing you ever had will now be an “Error 404″ page. Si può cambiare la struttura permalink manualmente nella tua bacheca, ma che solo creare nuovi URL per ogni singolo post (eliminando la data porzione), in modo ogni singolo sito preferito e ogni singolo motore di ricerca si era mai sarà ora uno "Errore 404 "pagina. Ouch!
Over time if you write new posts every day or every week you probably aren’t going to want the post dates to matter as much, since new readers will be coming on board all the time. Nel corso del tempo se ci sono nuovi messaggi scrivere ogni giorno o ogni settimana probabilmente non si desidera che il post risale al tema tanto, dal momento che nuovi lettori sarà venuta a bordo di tutti i tempi. In addition - maybe you’ll want to move out of Wordpress to another blogging platform someday that doesn’t have a date based post convention. Inoltre - forse ti conviene uscire di Wordpress ad un altro Someday piattaforma di blog che non ha una data base di post convenzione. If you’re in the same boat I was, you are now in quite the predicament - what to do, what to do?? Se sei nella stessa barca mi è stato, vi trovate in tutto l'imbarazzo - che cosa fare, cosa fare? Once again, enter a lifesaver Wordpress plugin “ Ancora una volta, entrare in un salvagente Wordpress Plugin " Dean’s Permalink Migration Decano della migrazione Permalink !” It’s very simple to use, and will solve all your permalink problems. ! "E 'molto semplice da usare, e risolvere tutti i vostri problemi permalink.
First install and enable the plugin. Prima di installare e attivare il plugin. Then in options or settings -> “PermalinksMigration” in your Wordpress dashboard you’ll see a simple text field for only one option: Poi in opzioni o impostazioni -> "PermalinksMigration" nel vostro Wordpress bacheca vedrai un semplice campo di testo per una sola opzione:

All you have to do is enter your OLD permalinks structure in that field. Tutto quello che dovete fare è inserire il tuo vecchio permalink struttura in questo campo. For most of you that’s going to be: Per la maggior parte di voi che sarà:
/%year%/%monthnum%/%day%/%postname%/ / anno%% /% monthnum% /%% giorno /% postname% /
What I did was open up two tabs in my browser, both with my WP dashboard open. Che cosa ho fatto è stata aperta fino a due schede mio browser, sia con il mio cruscotto WP aperto. In one tab I had settings -> Permalinks and the other settings -> “PermalinksMigration”. In una scheda ho avuto impostazioni -> permalink e le altre impostazioni -> "PermalinksMigration". I just copied and pasted my “permalinks” structure to “permalinksMigration”. Io ho semplicemente copiato e incollato il mio "permalink" struttura a "permalinksMigration". Then in “permalinks” I changed the structure from this: Poi, nel "permalink" Ho cambiato la struttura di questo:
/%year%/%monthnum%/%day%/%postname%/ / anno%% /% monthnum% /%% giorno /% postname% /
to this: a questo:
/%postname%/ /% postname% /
Then I click “update” to save each tab, one immediately after the other. Poi faccio clic su "aggiorna" per salvare ogni scheda, immediatamente uno dopo l'altro. To recap- what I’ve done here is removed the dates from my permalink (URL) structure, and the “Dean’s Permalink Migration” knows what my “old” structure was, and it will automatically redirect each and every page using old date based structure to the new page. -Per ricapitolare ciò che ho fatto qui viene rimosso le date dal mio permalink (URL) struttura, e il "Permalink Decano della migrazione" sa qual è il mio "vecchio" struttura è stata, e sarà automaticamente reindirizzare ogni pagina utilizzando vecchi data struttura alla nuova pagina. You won’t lose any hits from bookmarks or search engines at all, and all of your URL’s will be much cleaner and shorter from now on. Lei non perdere colpi da segnalibri o motori di ricerca a tutti, e tutti i tuoi URL sarà molto più pulito e più brevi a partire da adesso.
The ONLY drawback I could think of was, this plugin only works ONE TIME. L'unico inconveniente ho potuto pensare di stato, questo plugin funziona solo una volta. Since it only has one field for previous permalink structure to redirect - it can only redirect the last change you made. Dal momento che solo uno ha precedenti per il settore permalink struttura a riorientare - può reindirizzare solo l'ultimo cambiamento effettuato. Hint to the plugin auther, you could hack this plugin to allow for multiple changes, and adding the ability to do the same for category permalinks would be a boon too! Suggerimento per il plugin autore, è possibile hack questo plugin per permettere cambiamenti multipli, e aggiungendo la possibilità di fare lo stesso per la categoria permalink sarebbe un vantaggio troppo!
Now I can just hear somebody screaming from the back of the room “what about my pagerank, what about my pagerank!”. Ora posso solo sentire qualcuno urlare dalla parte posteriore della camera "per quanto riguarda il mio pagerank, per quanto riguarda il mio pagerank!". In effect, to search engines, indexers, and crawlers this should be the same as a 301 permanent redirect. In effetti, ai motori di ricerca, indexers, crawler e questa dovrebbe essere la stessa cosa di un redirect 301. If you had pagerank assigned to any of your individual posts, it should transfer to the new URL over time - typically from a few weeks to a few months depending on google’s update schedule. Se avete avuto PageRank assegnato a uno dei tuoi singoli post, è opportuno trasferire al nuovo URL nel corso del tempo - in genere da poche settimane ad alcuni mesi, a seconda di Google pianificazione degli aggiornamenti. I personally really don’t worry about pagerank anymore at all - you probably shouldn’t either. Personalmente, davvero non preoccuparsi più del pagerank a tutti - si dovrebbero probabilmente non sia.
I hope that this hack helped you as much as it helped me once found it. Mi auguro che questo hack è aiutato quanto mi ha aiutato una volta trovata. If you have any comments to make this post better, or question - please comment now! Se avete dei commenti a questo post fare meglio, o questione - si prega di commentare ora!
Tags: Tag: permalinks permalink , wordpress-hacks wordpress-hack




















May 1st, 2008 at 3:32 pm 1 maggio 2008 a 3:32 pm
Nice hack, but as long as you are familiar with wordpress, it shouldn’t be an issue. Nizza hack, ma fintanto che l'utente abbia familiarità con wordpress, non dovrebbe essere un problema. Either that or for lazy people. O che sia per le persone pigre.
Shudogg Dot Com - Shudogg dot com -- Make Money Online Blogging Make Money Bloggare on-line
Make Money Online Bloggings last blog post.. Make Money Online Bloggings ultimo post sul blog .. Adsense Secrets Volume 4 Adsense segreti tomo 4
May 1st, 2008 at 6:00 pm 1 maggio 2008 a 6:00 pm
it doesn’t matter how familiar you are with Wordpress, if you change your Wordpress permalinks without this plugin you screw up all your search listings and anyone who clicks on one or uses a bookmark with get a 404 error. non importa come si conosce con Wordpress, se si modifica il tuo Wordpress permalink senza questo plugin è vite fino tutte le inserzioni di ricerca e chi fa clic su uno o utilizza un segnalibro con un errore 404. There is no convention in Wordpress to accomodate for changing permalink structure and redirecting the old URL’s to the new structure. Non vi è alcuna convenzione in Wordpress per ospitare permalink cambiando struttura e riorientare il vecchio URL per la nuova struttura. It has nothing to do with being lazy. Essa non ha nulla a che fare con l'essere pigro.
If you were familiar with Wordpress, you’d know that when you make a comment, you don’t have to include a link back to your site in the comment, because you automatically get one at the top of your comment. Se sono stati familiarità con Wordpress, devi sapere che quando si fa un commento, non è necessario includere un link al tuo sito nel commento, perché si ricevono automaticamente uno nella parte superiore del tuo commento. Since I have CommentLuv installed you even get a link back to your last post in your RSS feed! Dal momento che ho installato, si CommentLuv ottenere anche un link al tuo ultimo post nel tuo feed RSS!
May 2nd, 2008 at 11:17 am 2a maggio, 2008 11:17 am
I’m happy I learned about permalinks before starting any WordPress sites!!!! Sono felice che ho imparato su permalink prima di iniziare qualsiasi WordPress siti!!
I dead a ton of reading on it. I morti una tonnellata di lettura su di esso. There are all kinds of opinions. Ci sono tutti i tipi di pareri. I ended with domain/%postname%/ only. Mi si è conclusa con dominio /% postname% / solo. For the very reasons JT talks about. Per le ragioni molto JT parla. I didn’t want to end up having to redirect everything at some future point. Non volevo finire dover reindirizzare tutto a un certo punto futuro. The one knock I heard about this permalink structure is, it slows down the database?!?!?! L'uno bussare ho sentito parlare di questa struttura è permalink, che rallenta il database ?!?!?! I have no idea if that is true. Non ho idea se questo è vero. The person stated it on a forum and insited that an ID must be put with it. La persona che ha dichiarato su un forum e insited un ID che deve essere messo con esso. Well, after viewing tons of WordPress sites that rank well I noticed they didn’t bother with the ID. Ebbene, dopo la visualizzazione di tonnellate di WordPress siti che rango e ho notato che non ha che fare con l'ID. . . maybe I’ll end up with a slow database. forse io alla fine con una lenta database. . . don’t know but I would think this issue would have been brought up to the WP programmers. Non lo so, ma vorrei che questo problema sarebbe stato portato fino al WP programmatori.
Charles
June 2nd, 2008 at 7:21 am 2 giugno 2008 a 7:21 am
Quick question: When I change the permalink structure on my Wordpress 2.5 blog to /%category%/%postname%/, the old posts’ url doesn’t change. Quick domanda: Quando cambiare la struttura di Permalink sul mio blog Wordpress 2.5 a /% category% /% postname% /, i post vecchi 'URL non cambia. The links seem to all work, but the url stays the same. I legami sembrano tutti i lavori, ma l'URL rimane lo stesso. What am I missing? Che cosa mi manca?
DRs last blog post.. DRS ultimo post sul blog .. Make Money Blogging–Setting Up a WordPress Blog in 3 Easy Steps Make Money Bloggingà ¢ â, ¬ â € œSetting di una WordPress blog in 3 semplici passi
June 2nd, 2008 at 8:12 pm 2 giugno 2008 a 8:12 pm
@DR - I’m not sure what you mean. @ DR - Non sono sicuro di ciò che significa. You changed your permalink structure and the URL’s stayed the same - have you enabled the permalink migration plugin? Hai cambiato il tuo permalink struttura e l'URL della rimasti gli stessi - avete abilitato la migrazione permalink plugin?
August 11th, 2008 at 1:01 am 11 agosto 2008 a 1:01 am
[...] your posts doesn’t change when the old posts are “shifted” to the home page. [...] I tuoi post non cambia quando i vecchi post sono "spostato" alla home page. Read How to change permalink structure seamlessly if that situation applies to you. Leggi Come cambiare la struttura senza soluzione di permalink, se tale situazione vale anche per lei. Want automatic updates? Vuoi gli aggiornamenti automatici? Subscribe to our RSS feed or Get [...] Iscriviti al nostro feed RSS o Recupera [...]
September 8th, 2008 at 2:40 am 8 settembre 2008 a 2:40 am
Do you know if you can change the page urls. Sapete se è possibile modificare la pagina URL. I can change the permalink post structure but I want pages to end in .html. Sono in grado di modificare la struttura permalink post ma voglio pagine di porre fine a. Html. Well, a client does. Beh, non un cliente. I’ma bit stuck. Sono un po 'bloccato.
Any ideas? Qualsiasi idee?
Thanks Grazie
Jason
Jasons last blog post.. Jasons ultimo post sul blog .. Heavyweight pages Heavyweight pagine
September 8th, 2008 at 7:36 am 8 settembre 2008 a 7:36 am
@Jason - first of all, tell your client that he’s nuts, and in today’s day and age there’s no reason to have any page end in “.html” because google just doesn’t care. @ Jason - prima di tutto, informi il cliente che ha la frutta a guscio, e nel giorno di oggi e di età non c'è motivo di avere una qualsiasi pagina nel fine ". HTML" di Google solo perché non cura. I mean, come on - google can even index flash files now. Voglio dire, venite sulla - Google può anche indice di file Flash ora. That’s like giving someone a piece of bread, and telling them to call it’sa “biscuit”. Ecco come qualcuno dando un pezzo di pane, e dire loro di chiamare è un "biscotto". They don’t care what you call it - they know when they’re eating it it’s still a piece of bread. Essi non cura ciò che si chiamano - lo sanno quando si sta mangiando è ancora un pezzo di pane.
In any event, if you client still insists on being a stubborn little know-it-all…you can still do this. In ogni caso, se è ancora cliente insiste sulla necessità di essere un po 'testardo know-it-tutti ... si può ancora farlo. Just change your permalink from /%postname%/ to /%postname%.html and I believe that should do it! Basta cambiare il tuo permalink da /% postname% / a /% postname%. Html e credo che dovremmo farlo!
September 8th, 2008 at 7:40 am 8 settembre 2008 a 7:40 am
Oh Yes He knows he is nuts! Oh sì Egli sa che è noci! I tell him daily. Lo dico al giorno.
That hack fixes the posts but bizarrely not the pages. Hack che fissa i posti, ma stranamente non le pagine.
Maybe I’ll have to play with the htaccess file. Forse dovrete giocare con i htaccess file.
If I find the answer I’ll post it! Se ho trovato la risposta I'll post it!
Jason
Jasons last blog post.. Jasons ultimo post sul blog .. The great social marketing experiment – Part 1 – The beginning Il grande esperimento di marketing sociale ⠀ "Parte 1 ⠀" L'inizio
September 8th, 2008 at 2:45 pm 8 settembre 2008 a 2:45 pm
Great post, I am been looking for articles about this. Great post, io sono stata alla ricerca di articoli su questo.
swanky gift ideass last blog post.. swanky dono ideass ultimo post sul blog .. 3 Badass New Terran Gameplay Videos For Starcraft 2 3 badass Terran nuovo gameplay video per Starcraft 2
September 17th, 2008 at 2:09 pm Settembre 17, 2008 a 2:09 pm
October 6th, 2008 at 4:16 pm Ottobre 6th, 2008 a 4:16 pm
What about the Che cosa circa la codex part codice parte that says you shouldn’t use just /%post-name% dice che non si deve utilizzare solo /% post-name%
Is that still gonna be a problem? È che sarò ancora un problema?
Chads last blog post.. Chads ultimo post sul blog .. Webcam Visuals Immagini webcam
October 7th, 2008 at 11:30 am 7 ottobre 2008 alle 11.30
@Chad - personally I think that paragraph is a ridiculously old and outdated piece of information that should be removed. @ Chad - personalmente credo che il punto è un ridicolmente vecchi e obsoleti pezzo di informazioni che devono essere eliminati. It even questions itself with the (is this true with WP 2.0+) mention within it. E 'anche domande con la stessa (questo è vero con WP 2.0 +) citare all'interno di esso. It was written way back in the days of WP 1.x. È stato scritto nel lontano giorno di WP 1.x.
About 2 years Matt Cutts wrote a post saying that Wordpress sites should “drop” the date based permalinks and to postname only after the URL because it was better for SEO, and better if you (later) restructure your blog or site. Circa 2 anni Matt Cutts ha scritto un post dicendo che Wordpress siti "goccia" data base di permalink e postname solo dopo l'URL perché è meglio per SEO, e meglio se l'utente (più tardi) ristrutturare il tuo blog o sito. I have to say - he gave great advice, it’s been working for me. Devo dire - ha dato grande consulenza, è stato per me di lavoro.
October 10th, 2008 at 8:30 pm 10 Ottobre 2008 alle 8:30 pm
Do you known if there’sa way of using %tag%/%postname%/ as a permalink without breaking Wordpress? Non si sa se c'è modo di utilizzare tag%% /% postname% / come un permalink senza rompere Wordpress?
Dudus last blog post.. Dudus ultimo post sul blog .. Vem aà o Rolls-Royce de pobre VEM aa o Rolls-Royce de Pobre
October 13th, 2008 at 8:24 am Ottobre 13, 2008 8:24 am
@Dudu - no I don’t know of anyway to do that and not break wordpress. @ Dudu - no non so comunque di fare e che non rompere wordpress. Especially because a post could have multiple tags. Soprattutto perché un post potrebbe avere più tag. Why would you want to do this? Perché vuoi fare questo?
October 13th, 2008 at 12:54 pm Ottobre 13, 2008 a 12:54 pm
I was thinking about it because tags usually have more identification with the content than the category - that’s normally more generic. Sono stato a pensare, perché di solito i tag sono più identificazione con il contenuto di categoria - che è normalmente più generico.
And a post can have more than one category too. E un post può avere più di una categoria troppo.
Maybe Wordpress should have one option where we could set one tag as the most important and it could be used in the permalink. Forse Wordpress dovrebbe avere una opzione in cui si potrebbe impostare un tag come il più importante e che potrebbe essere utilizzato in permalink.
Dudus last blog post.. Dudus ultimo post sul blog .. Paulo Lins é um spammer dos piores Paulo Lins à © um dos spammer piores
October 14th, 2008 at 8:03 am Ottobre 14, 2008 8:03 am
@Dudu - Maybe you misunderstand how tags and categories work. @ Dudu - Forse si fraintendere come i tag e le categorie di lavoro. Each tag has it’s own page, and each category has it’s own page, and posts (in those tags and categories) are listed on their assigned pages. Ogni tag ha una propria pagina, e ogni categoria ha una propria pagina, e posti (in quei tag e le categorie) sono elencati sul loro assegnato pagine. It would be redundant to have /%tag%/%postname% Sarebbe superfluo avere / etichetta%% /% postname%
Also, ever tag and category assigned is usually listed in the meta of the post, it would be of no use to have it in the URL, and of very little use SEO wise. Inoltre, mai etichetta e la categoria assegnata è di solito elencati nella meta del posto, sarebbe di alcuna utilità per avere in un URL, e di molto poco saggio utilizzare il SEO.
October 15th, 2008 at 8:35 pm Il 15 ottobre 2008 a 8:35 pm
I was thinking that maybe it could be better (SEO speaking) to use a tag in the permalink. Io pensavo che forse potrebbe essere meglio (parlando di SEO) per l'utilizzo di un tag nella permalink.
But maybe you’re right. Ma forse stai destra.
Anyway, thanks for you’re answer. Comunque, grazie per la risposta che stai.
Dudus last blog post.. Dudus ultimo post sul blog .. Passagens Gol com milhas do programa Smiles Passagens Gol do it milhas programma Smiles
October 29th, 2008 at 2:39 pm Ottobre 29, 2008 a 2:39 pm
[...] your posts doesn’t change when the old posts are “shifted” to the home page. [...] I tuoi post non cambia quando i vecchi post sono "spostato" alla home page. Read How to change permalink structure seamlessly if that situation applies to [...] Leggi Come cambiare la struttura senza soluzione di permalink, se tale situazione si applica a [...]