Descrição
Esse plugin remove completamente o ‘/category/’ dos links permanentes ( ex. meudominio.com/category/minha-categoria/
para meudominio.com/minha-categoria/
).
Configurações não são necessárias
Características
- Links permanentes com mais lógica e bonito, como
meudominio.com/minha-categoria/
andmeudominio.com/minha-categoria/meu-post/
. - Plugin simples – Sem necessidade de configuração.
- Não há necessidade de modificar arquivos do WordPress.
- Não precisa de outros plugins para funcionar.
- Compatível com plugins de sitemap.
- Compatível com WPML.
- Funciona com múltiplas sub-categorias.
- Funciona com WordPress Multisite.
- Redireciona links permanentes das categorias antigas, para as novas (redirecionamento 301, bom para o SEO).
Atenção:
Leia a FAQ antes de usar.
Precisa de ajuda? Use o suporte
Instalação
- Faça upload
remove-category-url.zip
para a pasta/wp-content/plugins/
. - Ative o plugin no menu ‘Plugins’ do seu WordPress.
- That’s it! You sould now be able to access your categories via http://mydomain.com/my-category/
Perguntas frequentes
- Why should I use this plugin?
-
Use this plugin if you want to get rid of WordPress’ “Category base” completely. The normal behaviour of WordPress is to add ‘/category’ to your category permalinks if you leave “/category” blank in the Permalink settings. So your category links look like
mydomain.com/category/my-category/
. With this plugin your category links will look likemydomain.com/my-category/
(ormydomain.com/my-category/sub-category/
in case of sub categories). - Will it break any other plugins?
-
As far as I can tell, no. I have been using this on several blogs for a while and it doesn’t break anything.
- Won’t this conflict with pages?
-
Simply don’t have a page and category with the same slug. Even if they do have the same slug it won’t break anything, just the category will get priority (Say if a category and page are both ‘xyz’ then
mydomain.com/xyz/
will give you the category). This can have an useful side-effect. Suppose you have a category ‘news’, you can add a page ‘news’ which will show up in the page navigation but will show the ‘news’ category. - The plugin has been uninstalled, but the slug /category/ did not reappear why?
-
A particular installation does not allow the rewrite feature in disabling the plugin. Try after disabling the plugin, save permanent links again.
Avaliações
Colaboradores e desenvolvedores
“Retirar Category da URL” é um programa de código aberto. As seguintes pessoas contribuíram para este plugin.
ColaboradoresTraduzir “Retirar Category da URL” para seu idioma.
Interessado no desenvolvimento?
Navegue pelo código, consulte o repositório SVN ou assine o registro de desenvolvimento por RSS.
Registro de alterações
1.1.6
- Fixed: Minor bugs
1.1.4
- Update Fix WPML
1.1.3
- Update Fix
1.1.2
- Update
1.1.1
- Compatible with translate.wordpress.org
1.1
- Resolvido erros
1.0.2
- Atualizado compatibilidade com WPML.
0.1.1
- Adicionado desinstalador.
0.1.0
- Release inicial.