PHPackages                             mnagdycnn/longer-permalinks - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mnagdycnn/longer-permalinks

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

mnagdycnn/longer-permalinks
===========================

A plugin that extends the slug characters limit, espacially for non-English characters in the 'post\_name' field from 200 to 3000 characters

086PHP

Since Mar 24Pushed 2y agoCompare

[ Source](https://github.com/mnagdycnn/longer-permalinks)[ Packagist](https://packagist.org/packages/mnagdycnn/longer-permalinks)[ RSS](/packages/mnagdycnn-longer-permalinks/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

### Longer Permalinks

[](#longer-permalinks)

Contributors: antithesisgr, Mohamed Nagdy

Author link:

Tags: permalinks, long, slugs, slugs length, long title, post\_name size, titles, non-latin, url, permalinks limitation, long url, long slug

Requires at least: 4.0

Tested up to: 6.1

Stable tag: 1.31

License: GPLv2 or later

License URI:

Allow long permalinks in your WordPress. Useful especially for using non-latin characters in permalinks. Respects future relevant core updates.

**Description**

This plugin allows you to use longer URLs (permalinks), by allowing much more characters in your titles and slug. The important is that this is done in a way that is future compatible with WordPress core updates. There is a 200 characters limitation on WordPress core nowadays and this limit is raised to 3000 with the plugin. Plugin is always extending the current WordPress core code - your long URLs will work even after WordPress core updates. This plugin is really useful especially in non-latin slugs because of the required url escaping that increases the length of your permalinks a lot.

**Features**

- Upon activation the available slug length (post title) will become 3000, allowing long permalinks.
- Required functionality is automatically applied without changing WordPress core files.
- Even after core updates, plugin will automatically apply required changes and just keep your long URLs working.
- Plugin requires at least MySQL 5.0.3

**Installation**

1. Upload plugin folder to the `/wp-content/plugins/longer-permalinks/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. That's it!

**Changelog**

**1.31**

- The plugin won't have to write files

**1.30**

- Make the backup file in written in uploads directory inside wp-content

**1.28**

- Refactoring and minor improvements

**1.27**

- Refactoring and minor improvements

**1.26**

- Refactoring code

**1.25**

- Bugfix: correct handling of autosaves and revisions on WP core updates

**1.24**

- Bug fixes for WordPress Multi-site compatibility

**1.23**

- Tested on WP 5.5.1

**1.22**

- Bugfix: lock name should not exceed 64 chars for some MySQL flavors/versions
- Tested on WP 5.4

**1.21**

- Important bugfixes.

**1.20 &amp; 1.19**

- Important changes to handle extra load on database upgrades and first installation. We now use explicit db locks to handle concurrent requests on those situations gracefully. (not tested on active database clusters like Galera Cluster or any STATEMENT based replication setups)

**1.18**

- Tested on 5.3.2

**1.17**

- Fix for WordPress upgrade process that needs a separate step for the database upgrade - "Database Update Required" cases (credits: @margroup for investigating the problem and testing the solution)
- Proper handling on WordPress upgrades to avoid unnecessary database locks
- Source code refactoring
- Uninstall actions update

**1.16**

- Minor regex adjustment

**1.15**

- IMPORTANT: Please update plugin to latest version BEFORE upgrading your WordPress to 5.x if you want to avoid truncated long permalinks.
- Plugin Major update: long permalinks suvrive the WordPress 5.0 upgrade.

**1.14**

- Provide more thorough admin output on edge cases
- Icon added
- FAQ updated
- Minor speed improvement
- Tested on 4.9.1

**1.13**

- Bug fix, fclose was not needed.

**1.12**

- Bug fix, $wpdb was not global (credits: @takisbig).

**1.11**

- Minor changes

**1.1**

- Tested on 4.7.3

**1.0**

- Initial release

**Frequently Asked Questions**

= What can I do with this plugin? = You can enjoy a lot more characters in your slugs and permalinks, without the default core limitation and have future core compatibility at the same time. = What do you mean by "future core compatibility"? = The plugin is using PHP reflection to dynamically apply the required changes in WordPress core every time you update your WordPress. It automatically detects any WordPress updates and reapplies the required changes anytime this is needed.

**Screenshots**

No screenshots.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/487db8e6293ad81084091ac26d46b0715abdbe01310bb8617d4b3d3d0ec129d5?d=identicon)[mnagdy](/maintainers/mnagdy)

---

Top Contributors

[![gecon](https://avatars.githubusercontent.com/u/2857875?v=4)](https://github.com/gecon "gecon (73 commits)")[![mnagdycnn](https://avatars.githubusercontent.com/u/119845405?v=4)](https://github.com/mnagdycnn "mnagdycnn (17 commits)")[![takisbig](https://avatars.githubusercontent.com/u/15304757?v=4)](https://github.com/takisbig "takisbig (1 commits)")

### Embed Badge

![Health badge](/badges/mnagdycnn-longer-permalinks/health.svg)

```
[![Health](https://phpackages.com/badges/mnagdycnn-longer-permalinks/health.svg)](https://phpackages.com/packages/mnagdycnn-longer-permalinks)
```

###  Alternatives

[snicco/better-wp-hooks

1118.6k2](/packages/snicco-better-wp-hooks)[thalidzhokov/exchange-rates-cbrf

ExchangeRatesCBRF Class to get exchange rates of the Central Bank of Russia

102.7k](/packages/thalidzhokov-exchange-rates-cbrf)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
