Unlimited $1.99 domain names - We use goDaddy Ilimitado $ 1,99 nomes de domínio - Usamos GoDaddy
Powered by MaxBlogPress Powered by MaxBlogPress

Wordpress Hack # 12: Alterando Estrutura Seamlessly Permalink | JTPRATT's Blogar Mistakes
JTPratt's blogar erros





Home Início » Wordpress Hack #12: Changing Permalink Structure Seamlessly »Wordpress Hack # 12: Alterando Estrutura Seamlessly Permalink



Posted in: Publicado em:

blog-seo categoria imagemblog-setup categoria imagemwordpress categoria imagemwordpress-plugins categoria imagem
1,841 views 1841 visualizações


Please note: This page was originally written in English. Atenção: Esta página foi originalmente escrito em Inglês.

The original post can be viewed O post original pode ser visualizada here aqui .

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? Nunca quis mudar o seu Wordpress permalink estrutura, mas tinham medo de 404 erros e problemas SEO? I have a Wordpress Hack to fix all your problems right here! Eu tenho um Hack Wordpress para corrigir todos os seus problemas aqui!

This is installment #12 of Esta cota é de 12 # 30 Wordpress Hacks in 30 Days 30 Wordpress Hacks em 30 Dias !

This Wordpress hack is one that I planned on writing write after the last one about Esse Wordpress é um hack que eu planejei escrever sobre escrever após a última sobre um rotating and recycling posts out of your archives rotativa e reciclagem postos fora de seus arquivos and on to your home page. e sobre a sua home page. Mainly because there is one thing I didn’t address before, and that’s you permalink structure. Principalmente porque há uma coisa que eu não tinha em conta antes, e isso é você permalink estrutura. In Wordpress your “permalink” structure is your URL. Em seu Wordpress "permalink" estrutura é o seu URL. By traditional default Wordpress blogs have a day, month, year structure to the URL like this: Por padrão tradicional Wordpress blogs têm um dia, mês, ano a estrutura do URL como este:

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. Em seu painel de instrumentos em qualquer das definições de Wordpress (WP 2,5) ou de opções (antes WP 2,5) -> "Permalinks" você tem a habilidade de mudar a estrutura para o que quiser. In the beginning (because they don’t know any better) most people don’t and leave the date default. No início (porque não conheço nenhum melhor) a maioria das pessoas e não deixar a data padrão. Even Par Matt Cutts says don’t use post dates in URL’s Cutts Matt diz que não utilizam datas no post URL's . Why not? Por que não?

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 Hack # 10 deveria ter sido um excelente exemplo - se você vai ser a sua reciclagem postagens antigas para a página inicial, ele vai mudar a data de publicação o dia atual - certo? Well, it won’t change the permalink (URL) - and it will still reflect the old date. Bem, ela não muda o permalink (URL) - e vai ainda reflectir a velha 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. Você pode modificar a estrutura permalink manualmente no seu painel, mas que iriam apenas criará novas URL's para cada posto (eliminando a data porção), e por isso cada um e cada um favorito listagem do mecanismo de pesquisa que você já teve agora será um "erro 404 "página. 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. Ao longo do tempo, se você escrever novos posts todos os dias ou semanalmente, você provavelmente não vão querer que a questão do pós datas para tanto, uma vez que novos leitores serão os próximos a bordo de todos os tempos. 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. Além disso - talvez você queira mudar-se de Wordpress para outra plataforma blogging algum dia que não tem uma data baseada pós convenção. If you’re in the same boat I was, you are now in quite the predicament - what to do, what to do?? Se você está no mesmo barco que tive, agora você está em muito a situação - o que fazer, o que fazer?? Once again, enter a lifesaver Wordpress plugin “ Mais uma vez, entra um salva-vidas Wordpress plugin " Dean’s Permalink Migration Reitor da migração Permalink !” It’s very simple to use, and will solve all your permalink problems. ! "É muito simples de usar, e irá resolver todos seus problemas permalink.

First install and enable the plugin. Primeiro instalar e ativar o plugin. Then in options or settings -> “PermalinksMigration” in your Wordpress dashboard you’ll see a simple text field for only one option: Depois, em opções ou configurações -> "PermalinksMigration" no seu painel de instrumentos Wordpress você verá um campo para texto simples apenas uma opção:

permalinks migração opções

All you have to do is enter your OLD permalinks structure in that field. Tudo que você tem que fazer é digitar o seu OLD permalinks estrutura nessa área. For most of you that’s going to be: Para a maioria de vocês que vai ser:

/%year%/%monthnum%/%day%/%postname%/ / ano%% /% monthnum% / dia%% /% postname% /

What I did was open up two tabs in my browser, both with my WP dashboard open. O que eu fiz foi abrir duas abas no meu navegador, tanto com o meu dashboard WP aberto. In one tab I had settings -> Permalinks and the other settings -> “PermalinksMigration”. Em uma aba Eu tinha configurações -> Permalinks e as outras configurações -> "PermalinksMigration". I just copied and pasted my “permalinks” structure to “permalinksMigration”. Eu apenas copiou e colou o meu "permalinks" a estrutura "permalinksMigration". Then in “permalinks” I changed the structure from this: Em seguida, em "permalinks" Mudei a partir desta estrutura:

/%year%/%monthnum%/%day%/%postname%/ / ano%% /% monthnum% / dia%% /% postname% /

to this: para isso:

/%postname%/ /% postname% /

Then I click “update” to save each tab, one immediately after the other. Então eu clico em "atualizar" para salvar cada guia, um imediatamente após o outro. 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. Para repescagem, o que eu tiver feito aqui é removido as datas a partir das minhas permalink (URL) estrutura, bem como o "Dean's Permalink Migração" sabe o que a minha "velha" estrutura foi, e ele irá redirecionar automaticamente todos e cada um página utilizando velhas estrutura baseada data para a nova página. 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. Você não vai perder nenhum hits de favoritos ou a todos os motores de busca, e todas as suas URL's vão ser muito mais limpos e mais curtos a partir de agora.

The ONLY drawback I could think of was, this plugin only works ONE TIME. A única desvantagem do que eu podia pensar era, este plugin só funciona uma vez. Since it only has one field for previous permalink structure to redirect - it can only redirect the last change you made. Desde que só tem um campo para a redirecionamento anterior permalink estrutura - que só pode redirecionar a última alteração que fez. 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! Sugestão para o plugin autor, você pode piratear deste plug-in para permitir várias mudanças, e adicionando a habilidade de fazer o mesmo para a categoria permalinks seria uma benção também!

Now I can just hear somebody screaming from the back of the room “what about my pagerank, what about my pagerank!”. Agora posso só ouvir alguém gritando da parte de trás da sala "o que se passa com o meu pagerank, o que se passa com o meu pagerank!". In effect, to search engines, indexers, and crawlers this should be the same as a 301 permanent redirect. Com efeito, para os motores de busca, indexadores, e rastreadores este deve ser o mesmo que um redirecionamento permanente 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 você tivesse pagerank atribuído a qualquer um dos seus lugares individuais, deverá transferir para o novo URL ao longo do tempo - normalmente de algumas semanas a alguns meses, dependendo de actualização do calendário do google. I personally really don’t worry about pagerank anymore at all - you probably shouldn’t either. Pessoalmente, realmente, não se preocupe com pagerank deixou em todos - você provavelmente deve ou não.

I hope that this hack helped you as much as it helped me once found it. Espero que esse truque você ajudou tanto quanto ele me ajudou uma vez encontrei. If you have any comments to make this post better, or question - please comment now! Se você tem algum comentário a fazer isto melhor posto, ou a questão - por favor, comente agora!


Tags: ,

19 Responses to “Wordpress Hack #12: Changing Permalink Structure Seamlessly” 19 Responses to "Wordpress Hack # 12: Alterando Permalink Estrutura perfeita"

  1. Make Money Online Blogging Ganhar dinheiro online blogging Has the following to say... Tem o seguinte a dizer ...

    Nice hack, but as long as you are familiar with wordpress, it shouldn’t be an issue. Nice truque, mas, enquanto você estiver familiarizado com o wordpress, ele não deve ser um problema. Either that or for lazy people. Ou isso ou para preguiçosos.

    Shudogg Dot Com - Shudogg Ponto Com -- Make Money Online Blogging Ganhar dinheiro online blogging

    Make Money Online Bloggings last blog post.. Ganhar Dinheiro Online Bloggings última postagem no blog .. Adsense Secrets Volume 4 Adsense Secrets Volume 4

  2. admin admin Has the following to say... Tem o seguinte a dizer ...

    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. não interessa saber como você está familiarizado com o Wordpress, se você mudar de Wordpress permalinks sem este plugin você estragar toda a sua pesquisa listagens e clica em qualquer um que usa um ou obter uma ficha com um erro 404. There is no convention in Wordpress to accomodate for changing permalink structure and redirecting the old URL’s to the new structure. Não existe uma convenção, no Wordpress para acomodar permalink mudando para a redirecionamento velha estrutura e URL's para a nova estrutura. It has nothing to do with being lazy. Não tem nada a ver com ser preguiçoso.

    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 você estivesse familiarizado com Wordpress, você sabe que quando você faz um comentário, você não tem de incluir um link para o seu site no comentário, porque você automaticamente obter um no topo do seu comentário. Since I have CommentLuv installed you even get a link back to your last post in your RSS feed! Desde que tenho CommentLuv instalados até dar-lhe um link de volta para o seu último post no seu feed RSS!

  3. Acupuncture Acupuntura Has the following to say... Tem o seguinte a dizer ...

    I’m happy I learned about permalinks before starting any WordPress sites!!!! Estou feliz, aprendi sobre os permalinks, antes de iniciar quaisquer sites WordPress!!

    I dead a ton of reading on it. Eu morto uma tonelada de leitura sobre o assunto. There are all kinds of opinions. Há todo tipo de opiniões. I ended with domain/%postname%/ only. I terminou com domínio /% postname% / só. For the very reasons JT talks about. Pelas mesmas razões JT fala. I didn’t want to end up having to redirect everything at some future point. Eu não quis acabar por ter de redirecionar tudo num determinado momento futuro. The one knock I heard about this permalink structure is, it slows down the database?!?!?! O bater um permalink Eu ouvi falar desta estrutura é, ele diminui a base de dados ?!?!?! I have no idea if that is true. Não tenho idéia se isso é verdade. The person stated it on a forum and insited that an ID must be put with it. A pessoa declarou ele em um fórum e um ID insited que deve ser defendida com ela. Well, after viewing tons of WordPress sites that rank well I noticed they didn’t bother with the ID. Bem, depois de visualizar sites de toneladas de WordPress rank bem que eu notei que não se preocuparam com o ID. . . maybe I’ll end up with a slow database. talvez eu vou acabar com uma base de dados lenta. . . don’t know but I would think this issue would have been brought up to the WP programmers. Não sabe, mas eu acho que este assunto teria sido levado até o WP programadores.

    Charles

  4. DR DR Has the following to say... Tem o seguinte a dizer ...

    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 pergunta: Quando eu mudar a estrutura permalink em meu blog para Wordpress 2.5 / categoria%% /% postname% /, as postagens antigas "url não muda. The links seem to all work, but the url stays the same. As ligações parecem trabalhar para todos, mas o url permanece a mesma. What am I missing? O que estou em falta?

    DRs last blog post.. DRs última postagem no blog .. Make Money Blogging–Setting Up a WordPress Blog in 3 Easy Steps Ganhar Dinheiro Bloggingà ¢ â, ¬ â € œSetting Subiu um WordPress Blog em 3 etapas simples

  5. admin admin Has the following to say... Tem o seguinte a dizer ...

    @DR - I’m not sure what you mean. @ DR - Eu não tenho certeza o que quer dizer. You changed your permalink structure and the URL’s stayed the same - have you enabled the permalink migration plugin? Você mudou a sua estrutura e os permalink URL's permaneceu a mesma - você ter ativado o plugin permalink migração?

  6. How To: Making Your Old WordPress Posts New Again Como fazer: fazer seu velho WordPress novos postos novamente Has the following to say... Tem o seguinte a dizer ...

    [...] your posts doesn’t change when the old posts are “shifted” to the home page. [...] Suas postagens não muda quando os antigos lugares são "deslocados" para a página inicial. Read How to change permalink structure seamlessly if that situation applies to you. Leia Como mudar permalink que se estrutura seamlessly situação se aplica a você. Want automatic updates? Queremos atualizações automáticas? Subscribe to our RSS feed or Get [...] Assine o nosso feed RSS ou Get [...]

  7. Jason Jason Has the following to say... Tem o seguinte a dizer ...

    Do you know if you can change the page urls. Sabe se é possível alterar a página urls. I can change the permalink post structure but I want pages to end in .html. Eu posso mudar a estrutura permalink post, mas eu quero páginas para terminar em. Html. Well, a client does. Bem, um cliente faz. I’ma bit stuck. Sou um pouco presa. = | 8

    Any ideas? Alguma idéia?

    Thanks Obrigado

    Jason

    Jasons last blog post.. Bacanas última postagem no blog .. Heavyweight pages Heavyweight páginas

  8. admin admin Has the following to say... Tem o seguinte a dizer ...

    @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 - em primeiro lugar, dizer ao seu cliente que ele está doido, e hoje em dia e idade não há nenhuma razão para ter qualquer efeito na página ". Html" google apenas porque não se importa. I mean, come on - google can even index flash files now. Quer dizer, vamos lá - google pode até mesmo índice ficheiros Flash agora. That’s like giving someone a piece of bread, and telling them to call it’sa “biscuit”. Isso é como alguém que dá um pedaço de pão, e dizer-lhes que é uma chamada "biscuit". They don’t care what you call it - they know when they’re eating it it’s still a piece of bread. Eles não se importam o que lhe chamam - eles sabem que eles estão comendo quando ele ainda é um pedaço de pão.

    In any event, if you client still insists on being a stubborn little know-it-all…you can still do this. De qualquer modo, se você cliente ainda insiste em ser um pouco teimoso sabe-tudo ... você ainda pode fazer isso. Just change your permalink from /%postname%/ to /%postname%.html and I believe that should do it! Basta alterar sua permalink partir de /% postname% / a /% postname%. Html, e penso que deveria fazê-lo!

  9. Jason Jason Has the following to say... Tem o seguinte a dizer ...

    Oh Yes He knows he is nuts! Ah sim Ele sabe que ele é louco! I tell him daily. Eu digo-lhe diariamente. = That hack fixes the posts but bizarrely not the pages. Hack que corrige os lugares, mas estranhamente não as páginas.

    Maybe I’ll have to play with the htaccess file. Se calhar vou ter que jogar com o htaccess arquivo.

    If I find the answer I’ll post it! Se eu encontrar a resposta que vou publicá-la!

    Jason

    Jasons last blog post.. Bacanas última postagem no blog .. The great social marketing experiment – Part 1 – The beginning A grande experiência do marketing social â € "Parte 1 â €" O começo

  10. swanky gift ideas parlapatão dom idéias Has the following to say... Tem o seguinte a dizer ...

    Great post, I am been looking for articles about this. Great post, estou à procura de artigos foi sobre isto.

    swanky gift ideass last blog post.. parlapatão ideass última postagem no blog dom .. 3 Badass New Terran Gameplay Videos For Starcraft 2 3 mauzão novos videos de jogabilidade Terrans Starcraft 2

  11. trumank girls trumank meninas Has the following to say... Tem o seguinte a dizer ...

    = wow i have a lot old post .. wow i têm muito antigo posto .. this tutorial is great thanks este tutorial é grande agradecimento

  12. Chad Chade Has the following to say... Tem o seguinte a dizer ...

    What about the E sobre o codex part códice parte that says you shouldn’t use just /%post-name% que diz que você não deve usar apenas / pós-% nome%

    Is that still gonna be a problem? É que ainda vai ser um problema?

    Chads last blog post.. Chads última postagem no blog .. Webcam Visuals Webcam Visuals

  13. admin admin Has the following to say... Tem o seguinte a dizer ...

    @Chad - personally I think that paragraph is a ridiculously old and outdated piece of information that should be removed. @ Chade - Eu pessoalmente acho que é um ponto ridiculamente velha e ultrapassada pedaço de informação que deve ser removido. It even questions itself with the (is this true with WP 2.0+) mention within it. Chega mesmo a si próprio com as perguntas (isto é verdade no WP 2,0 +) menciona que a compõem. It was written way back in the days of WP 1.x. Foi escrito caminho de volta nos dias de 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. Cerca de 2 anos Matt Cutts escrevi um post dizendo que o Wordpress locais deveriam "cair" a data baseada permalinks e só depois postname para o URL porque era melhor para SEO, e melhor que você (mais tarde) reestruturar o seu blog ou site. I have to say - he gave great advice, it’s been working for me. Tenho a dizer -, ele deu uma grande consultoria, ele foi trabalhar para mim.

  14. Dudu Dudu Has the following to say... Tem o seguinte a dizer ...

    Do you known if there’sa way of using %tag%/%postname%/ as a permalink without breaking Wordpress? Você sabe se há uma maneira de utilizar o tag%% /% postname% / como um permalink sem quebrar Wordpress?

    Dudus last blog post.. Dudus última postagem no blog .. Vem aà o Rolls-Royce de pobre Vem aa o Rolls-Royce de pobre

  15. admin admin Has the following to say... Tem o seguinte a dizer ...

    @Dudu - no I don’t know of anyway to do that and not break wordpress. @ Dudu - Eu não conheço nenhum de qualquer maneira para fazer isso e não quebrar wordpress. Especially because a post could have multiple tags. Especialmente porque um posto poderia ter várias tags. Why would you want to do this? Por que você quer fazer isso?

  16. Dudu Dudu Has the following to say... Tem o seguinte a dizer ...

    I was thinking about it because tags usually have more identification with the content than the category - that’s normally more generic. Eu estava pensando nisso porque geralmente têm mais tags identificação com o conteúdo do que a categoria - que normalmente é mais genérico.
    And a post can have more than one category too. E uma postagem pode ter mais de uma categoria também.
    Maybe Wordpress should have one option where we could set one tag as the most important and it could be used in the permalink. Talvez Wordpress deveria ter uma opção onde pudéssemos definir uma marca como a mais importante e que poderia ser usado na permalink.

    Dudus last blog post.. Dudus última postagem no blog .. Paulo Lins é um spammer dos piores Paulo Lins à © um dos piores spammer

  17. admin admin Has the following to say... Tem o seguinte a dizer ...

    @Dudu - Maybe you misunderstand how tags and categories work. @ Dudu - Talvez você entenda mal como tags e categorias trabalho. 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. Cada tag tem a sua própria página, e cada categoria tem a sua própria página, e lugares (nessas categorias e tags) são cotados em sua atribuído páginas. It would be redundant to have /%tag%/%postname% Seria redundante de ter / tag%% /% 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. Também, cada vez etiqueta e é geralmente atribuído categoria listada na meta do cargo, seria de qualquer utilidade para tê-lo no URL, e de muito pouca utilidade SEO sábio.

  18. Dudu Dudu Has the following to say... Tem o seguinte a dizer ...

    I was thinking that maybe it could be better (SEO speaking) to use a tag in the permalink. Eu estava pensando que talvez ela pudesse ser melhor (SEO falar) para usar uma etiqueta na permalink.
    But maybe you’re right. Mas talvez você esteja certo.
    Anyway, thanks for you’re answer. De qualquer forma, obrigado por você responder.

    Dudus last blog post.. Dudus última postagem no blog .. Passagens Gol com milhas do programa Smiles Passagens Gol com milhas do programa Smiles

  19. How To: Making Your Old WordPress Posts New Again Como fazer: fazer seu velho WordPress novos postos novamente Has the following to say... Tem o seguinte a dizer ...

    [...] your posts doesn’t change when the old posts are “shifted” to the home page. [...] Suas postagens não muda quando os antigos lugares são "deslocados" para a página inicial. Read How to change permalink structure seamlessly if that situation applies to [...] Leia Como mudar permalink que se estrutura seamlessly situação se aplica a [...]

Question or Comment?? Pergunta ou comentário?? Spill it Now... Agora ele derrame ...

Pulando de alegria ao longo comentários!

We Reward Comments! Nós recompensa comentários!


We dofollow links, and get your latest blog post as a byline under every new comment from the "CommentLuv" plugin! Nós dofollow links, e pegar sua última postagem no blog como uma assinatura em cada nova observação do "CommentLuv" plugin! Top commenters for every month are listed on every page of this site in a sidebar widget linked back to your URL! Commenters início de cada mês, são listadas em cada página deste site em um regressar às ligados sidebar widget seu URL! We would like to reward you for becoming part of our community! Gostaríamos de recompensar-te por fazer parte da nossa comunidade! Your comment is valuable not only to us, but also all the other readers of this blog! Seu comentário é válido não só para nós, mas também todos os outros leitores deste blog!


Click to add smilies to your post! Clique para adicionar ao seu post smilies! == []^ = (= ((= (|=) r= | 8= 0=) ~= 00= (=;;=)]=;;;