Custom Permalinks

Por Sami Ahmed Siddiqui
(116 avaliações)
Baixar
  • Versão:
    3.1.2
  • Última atualização:
    há 10 dias
  • Instalações ativas:
    mais de 100 mil
  • Versão do WordPress:
    2.6 ou maior
  • Testado até o WordPress:
    6.8.3
  • Versão do PHP:
    7.0 ou maior
  • Tags:

Hospedagem WordPress com plugin Custom Permalinks

Onde hospedar o plugin Custom Permalinks?

Este plugin pode ser hospedado em qualquer provedor que possua WordPress configurado. Recomendamos fortemente utilizar uma hospedagem confiável, com servidores adaptados para WordPress, como o serviço de hospedagem WordPress da MCO2.

Hospedando o plugin Custom Permalinks em um provedor de confiança

A MCO2, além de instalar o WordPress na versão mais atual para seus clientes, fornece o WP SafePress, um sistema singular que assegura e melhora seu site ao mesmo tempo.

Por que a Hospedagem WordPress funciona melhor na MCO2?

A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização de imagens e fotos, proteção da página de login, bloqueio de atividades suspeitas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São recursos que potencializam seu WordPress para a máxima segurança e o máximo desempenho.

You want to take control of your WordPress site’s URLs? The Custom Permalinks plugin gives you the power to set unique, custom URLs for any post, page, tag, or category. This means you can design your site’s structure exactly how you envision it, rather than being limited by WordPress’s default settings. When you set a custom permalink, the original post URL will be automatically redirected to your new, customized URL.

Key Features

  • Individual Permalink Control: Assign unique URLs to any post, page, tag, or category.
  • Site Structure Control: Gain ultimate control over how your site’s URLs are organized.
  • Post Type Permalink Structures (v3.0.0+): Define custom permalink structures for each public Post Type using predefined tags, automatically generating URLs upon content creation. You can still manually edit any permalink. If left empty, default settings will apply.

Getting Started: Plugin Settings

You can configure Custom Permalinks by navigating to Settings > Custom Permalinks in your WordPress Dashboard.

Available Tags for Permalink Structures

When setting up your custom permalink structures, you can use a variety of tags that will dynamically populate the URL. Here’s a breakdown of what’s available:

  • %year%: The year of the post in four digits, eg: 2025
  • %monthnum%: Month the post was published, in two digits, eg: 01
  • %day%: Day the post was published in two digits, eg: 02
  • %hour%: Hour of the day, the post was published, eg: 15
  • %minute%: Minute of the hour, the post was published, eg: 43
  • %second%: Second of the minute, the post was published, eg: 33
  • %post_id%: The unique ID of the post, eg: 123
  • %category%: A clean version of the category name (its slug). Nested sub-categories will appear as nested directories in the URL..
  • %author%: A sanitized version of the post author’s name.
  • %postname%: A clean version of the post or page title (its slug). For example, “This Is A Great Post!” becomes this-is-a-great-post in the URL.
  • %parent_postname%: Similar to %postname%, but uses the immediate parent page’s slug if a parent is selected.
  • %parents_postnames%: Similar to %postname%, but includes all parent page slugs if parents are selected.
  • %title%: The title of the post, converted to a slug. For example, “This Is A Great Post!” becomes this-is-a-great-post. Unlike %postname% which is set once, %title% automatically updates in the permalink if the post title changes (unless the post is published or the permalink is manually edited).
  • %ctax_TAXONOMY_NAME%: A clean version of a custom taxonomy’s name. Replace TAXONOMY_NAME with the actual taxonomy name. You can also provide a default slug for when no category/taxonomy is selected by using ?? (e.g., %ctax_type??sales% will use “sales” as a default).
  • %ctax_parent_TAXONOMY_NAME%: Similar to %ctax_TAXONOMY_NAME%, but includes the immediate parent category/tag slug in the URL if a parent is selected.
  • %ctax_parents_TAXONOMY_NAME%: Similar to %ctax_TAXONOMY_NAME%, but includes all parent category/tag slugs in the URL if parents are selected.
  • %custom_permalinks_TAG_NAME%: Developers have the flexibility to define their own custom tags(replace _TAG_NAME with your desired name). To ensure these tags resolve to the correct permalinks, simply apply the custom_permalinks_post_permalink_tag filter.

Important Note: For new posts, Custom Permalinks will keep updating the permalink while the post is in draft mode, assuming a structure is defined in the plugin settings. Once the post is published or its permalink is manually updated, the plugin will stop automatic updates for that specific post.

Custom Permalinks: Fine-Tuning with Filters

Custom Permalinks offers a range of filters that empower developers to precisely control its behavior. You can explore all available filters, complete with example code snippets, in our GitHub repository.

For Assistance:

  • Premium Users: If you need assistance implementing these filters, please don’t hesitate to reach out to us via our Premium contact support.
  • Other Users: You can also directly reach out to the plugin author via LinkedIn.

Need Help or Found a Bug?

  • Support: For one-on-one email support, consider purchasing Custom Permalinks Premium. While some basic support may be provided on the WordPress.org forums, email support is prioritized for premium users.
  • Bug Reports: If you encounter a bug, please report it on GitHub. Make sure to provide complete information to reproduce the issue. GitHub is for bug reports, not general support questions.

If you experience any site-breaking issues after upgrading, please report them on the WordPress Forum or GitHub with detailed information. You can always revert to an older version by downloading it from https://wordpress.org/plugins/custom-permalinks/advanced/.

Plugins semelhantes

Page Links To
(149 avaliações)

Lets you make a WordPress page (or port or other content type) link to a URL of your choosing (on your site, or on another site), instead of its norma …

White Label CMS
(111 avaliações)

Customise dashboard panels and branding, hide menus plus lots more.

Custom Post Type Permalinks
(71 avaliações)

Edit the permalink of custom post type.

Permalink Manager Lite
(175 avaliações)

Permalink Manager improves the built-in permalink settings and allows you to change the URLs of native and custom post types and taxonomies as needed.

Simple Custom CSS Plugin
(156 avaliações)

Add Custom CSS to your WordPress site without any hassles.

Featured Image from URL (FIFU)
(246 avaliações)

Use remote media as the featured image and beyond.