Custom Permalinks

Custom Permalinks

Wordpress plugin

Install on Wordpress

App Details

In case of found any site breaking issue after upgrading to the latest version then please report the issue on WordPress Forum OR GitHub with complete information to reproduce the issue and move back to the old version. You can download any of the old version from here: https://wordpress.org/plugins/custom-permalinks/advanced/

Lay out your site the way you want it. Set the URL of any post, page, tag or category to anything you want. Old permalinks will redirect properly to the new address. Custom Permalinks give you ultimate control over your site structure.

Be warned: This plugin is not a replacement for WordPress’s built-in permalink system. Check your WordPress administration’s “Permalinks” settings page first, to make sure that this doesn’t already meet your needs.

This plugin is only useful for assigning custom permalinks for individual posts, pages, tags or categories. It will not apply whole permalink structures or automatically apply a category’s custom permalink to the posts within that category.

Privacy Policy

This plugin only collects the following information.

  1. Administration Email Address (Only the email that is set in the WordPress setting)
  2. Plugin version
  3. Site Title
  4. WordPress Address (URL)
  5. WordPress version

All this information gets collected when the plugin is installed or updated.

To have any kind of query please feel free to contact us.

Filters

Add `PATH_INFO` in `$_SERVER` Variable

add_filter( 'custom_permalinks_path_info', '__return_true' ); 

Disable Redirects

To disable complete redirects functionality provided by this plugin, add the filter that looks like this:

function yasglobal_avoid_redirect( $permalink ) { return true; } add_filter( 'custom_permalinks_avoid_redirect', 'yasglobal_avoid_redirect' ); 

Disable Particular Redirects

To disable any specific redirect to be processed by this plugin, add the filter that looks like this:

function yasglobal_avoid_redirect( $permalink ) { // Replace 'testing-hello-world/' with the permalink you want to avoid if ( 'testing-hello-world/' === $permalink ) { return true; } return false; } add_filter( 'custom_permalinks_avoid_redirect', 'yasglobal_avoid_redirect' ); 

Exclude Permalink to be processed

To exclude any Permalink to be processed by the plugin, add the filter that looks like this:

function yasglobal_xml_sitemap_url( $permalink ) { if ( false !== strpos( $permalink, 'sitemap.xml' ) ) { return '__true'; } return; } add_filter( 'custom_permalinks_request_ignore', 'yasglobal_xml_sitemap_url' ); 

Exclude Post Type

To remove custom permalink form from any post type, add the filter that looks like this:

function yasglobal_exclude_post_types( $post_type ) { // Replace 'custompost' with your post type name if ( 'custompost' === $post_type ) { return '__true'; } return '__false'; } add_filter( 'custom_permalinks_exclude_post_type', 'yasglobal_exclude_post_types' ); 

Exclude Posts

To exclude custom permalink form from any posts (based on ID, Template, etc), add the filter that looks like this:

function yasglobal_exclude_posts( $post ) { if ( 1557 === $post->ID ) { return true; } return false; } add_filter( 'custom_permalinks_exclude_posts', 'yasglobal_exclude_posts' ); 

Allow Accents Letters

To allow accents letters, please add below-mentioned line in your theme functions.php:

function yasglobal_permalink_allow_accents() { return true; } add_filter( 'custom_permalinks_allow_accents', 'yasglobal_permalink_allow_accents' ); 

Allow Uppercase Letters

To allow uppercase letters/words, please add below-mentioned line in your theme functions.php:

function yasglobal_allow_uppercaps() { return true; } add_filter( 'custom_permalinks_allow_caps', 'yasglobal_allow_uppercaps' ); 

Allow Redundant Hyphens

To allow redundant hyphens, please add below-mentioned line in your theme functions.php:

function yasglobal_redundant_hyphens() { return true; } add_filter( 'custom_permalinks_redundant_hyphens', 'yasglobal_redundant_hyphens' ); 

Manipulate Permalink Before Saving

To make changes in permalink before saving, please use custom_permalink_before_saving filter. Here is an example to see how it works.

function yasglobal_permalink_before_saving( $permalink, $post_id ) { // Check trialing slash in the permalink. if ( substr( $permalink, -1 ) !== '/' ) { // If permalink doesn't contain trialing slash then add one. $permalink .= '/'; } return $permalink; } add_filter( 'custom_permalink_before_saving', 'yasglobal_permalink_before_saving', 10, 2 ); 

Remove `like` Query

To remove like query to being work, add below-mentioned line in your theme functions.php:

add_filter( 'cp_remove_like_query', '__return_false' ); 

Note: Use custom_permalinks_like_query filter if the URLs doesn’t works for you after upgrading to v1.2.9.

Thanks for the Support

I do not always provide active support for the Custom Permalinks plugin on the WordPress.org forums, as I have prioritized the email support. One-on-one email support is available to people who bought Custom Permalinks Premium only.

Bug reports

Bug reports for Custom Permalinks are welcomed on GitHub. Please note GitHub is not a support forum, and issues that aren’t properly qualified as bugs will be closed.

Pricing

Starting from $0 per month.

Check Out the Google Reviews Widget

By Common Ninja

Google ReviewsTry For Free!

App Info

Rating

Reviewers

114 reviews

Tags

address
custom
link
permalink
url

Developed By

Sami Ahmed Siddiqui

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Maps

Maps plugins for Wordpress

Translation

Translation plugins for Wordpress

Chat

Chat plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Contact

Contact plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Forms

Forms plugins for Wordpress

Comments

Comments plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Comments

Comments plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Video Player

Video Player plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Security

Security plugins for Wordpress

Ads

Ads plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Membership

Membership plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Google Reviews for Wordpress logo

Google Reviews

Show verified customer feedback with Google Reviews to build trust, strengthen credibility, and help visitors make confident purchase decisions.

Appointment Booking for Wordpress logo

Appointment Booking

Manage appointments with an appointment booking widget that lets visitors schedule easily, syncs calendars, sends reminders, and creates a smoother booking experience.

Personality Quiz for Wordpress logo

Personality Quiz

Create interactive personality quizzes with custom results and flexible design to boost engagement and help visitors explore tailored outcomes easily.

Vimeo Feed for Wordpress logo

Vimeo Feed

Show Vimeo videos in a Vimeo feed that keeps content fresh and helps visitors discover more of your video library.

Sticky Video for Wordpress logo

Sticky Video

Use a sticky video that stays visible while users scroll to keep content in view, increase watch time, and boost engagement.

Interactive Video Player for Wordpress logo

Interactive Video Player

Add interactive video overlays with links, product cards, and buttons that appear on top of your videos to boost engagement and guide user actions.

TikTok Carousel for Wordpress logo

TikTok Carousel

Show TikTok videos with a TikTok carousel that arranges clips in a smooth, customizable layout to boost engagement and keep visitors watching.

Poll for Wordpress logo

Poll

Create interactive polls with a poll widget that gathers real time feedback, boosts engagement, and helps you understand visitor opinions quickly and clearly.

Audio Player for Wordpress logo

Audio Player

Add a no-code audio player to your site and boost engagement with music, podcasts, and voice content effortlessly.

Video Poll for Wordpress logo

Video Poll

Create interactive video polls that use engaging clips to boost participation, gather insights, and help visitors vote in a more dynamic way.

Team Member List for Wordpress logo

Team Member List

Present your team with a structured team member list that builds trust, supports credibility, and helps visitors connect with the people behind your brand.

Info List for Wordpress logo

Info List

An Info List presents key details in a clear, structured format to improve user experience and support conversions.

More plugins

plugins You Might Like

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms