All Projects → samiahmedsiddiqui → custom-permalinks

samiahmedsiddiqui / custom-permalinks

Licence: GPL-3.0 License
Set custom permalinks on a per-post basis in WordPress

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to custom-permalinks

link text
Easy to use text widget for Flutter apps, which converts inlined urls into working, clickable links
Stars: ✭ 20 (+17.65%)
Mutual labels:  url, link
mongoose-slug-updater
Schema-based slug plugin for Mongoose - single/compound - unique over collection/group - nested docs/arrays - relative/abs paths - sync on change: create/save/update/updateOne/updateMany/findOneAndUpdate tracked - $set operator - counter/shortId
Stars: ✭ 37 (+117.65%)
Mutual labels:  url, permalink
Acf To Rest Api
Exposes Advanced Custom Fields Endpoints in the WordPress REST API
Stars: ✭ 1,152 (+6676.47%)
Mutual labels:  wordpress-plugin, custom
Re-skinning url splitter
Divide / Split your WordPress Blog visitors into 4 links by using Re-skinning URL splitter
Stars: ✭ 73 (+329.41%)
Mutual labels:  url, wordpress-plugin
reachable-urls
Check URLs are reachable in text 🕵️
Stars: ✭ 29 (+70.59%)
Mutual labels:  url, link
Odyssey
A piece of software that shows a traceroute of a URL redirect path
Stars: ✭ 41 (+141.18%)
Mutual labels:  url, redirect
React Native Hyperlink
A <Hyperlink /> component for react-native that makes urls, fuzzy links, emails etc clickable
Stars: ✭ 572 (+3264.71%)
Mutual labels:  url, link
URL-Shortner-Bot-V2
A link shortner telegram bot version 2 with advanced features
Stars: ✭ 18 (+5.88%)
Mutual labels:  url, link
fbvideos
🔗 Easily extract downloadable link of publicly available videos on facebook.
Stars: ✭ 28 (+64.71%)
Mutual labels:  url, link
quill-magic-url
Automatically convert URLs to links in Quill
Stars: ✭ 86 (+405.88%)
Mutual labels:  url, link
wordpress-custom-fields-permalink-plugin
Plugin allows to use post's custom fields values in permalink structure by adding %field_fieldname%, for posts, pages and custom post types.
Stars: ✭ 37 (+117.65%)
Mutual labels:  wordpress-plugin
Identity Address DB
(China) 1. MySQL 身份证 地区 数据库(包含已被合并的区县,详见README) 2. PHP 验证身份证号是否正确 3. 从身份证号中获取 性别 生日 年龄 出生地 等信息 4.路过留个star
Stars: ✭ 38 (+123.53%)
Mutual labels:  address
lieu
Dedupe/batch geocode addresses and venues around the world with libpostal
Stars: ✭ 73 (+329.41%)
Mutual labels:  address
tall
Promise-based, No-dependency URL unshortner (expander) module for Node.js
Stars: ✭ 56 (+229.41%)
Mutual labels:  url
wp-chatbot
Simple Wordpress Plugin to add any chatbot to your web page
Stars: ✭ 17 (+0%)
Mutual labels:  wordpress-plugin
custom-sidebar
Custom Sidebar for Home Assistant
Stars: ✭ 90 (+429.41%)
Mutual labels:  custom
wp-dbmanager
Allows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automatic scheduling of backing up, optimizing and repairing of database.
Stars: ✭ 63 (+270.59%)
Mutual labels:  wordpress-plugin
craft-retour
Retour allows you to intelligently redirect legacy URLs, so that you don't lose SEO value when rebuilding & restructuring a website
Stars: ✭ 32 (+88.24%)
Mutual labels:  redirect
macro
Customize code using closures
Stars: ✭ 135 (+694.12%)
Mutual labels:  custom
ngx-linkifyjs
Angular V8 wrapper for linkifyjs - library for finding links in plain text and converting them to HTML <a> tags via linkifyjs
Stars: ✭ 40 (+135.29%)
Mutual labels:  url

Custom Permalinks

ℹ️ 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.

⚠️ 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.

ℹ️ If anyone wants the different Structure Tags for their Post Types or use symbols in the URLs So, use the Permalinks Customizer which is a fork of this plugin and contains the enhancement of this plugin.

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.

Installation

This process defines you the steps to follow either you are installing through WordPress or Manually from FTP.

From within WordPress

  1. Visit 'Plugins > Add New'
  2. Search for Custom Permalinks
  3. Activate Custom Permalinks from your Plugins page.

Manually

  1. Upload the custom-permalinks folder to the /wp-content/plugins/ directory
  2. Activate Custom Permalinks through the 'Plugins' menu in WordPress
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].