{"id":11995,"date":"2011-02-01T14:52:26","date_gmt":"2011-02-01T14:52:26","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/permalink-editor\/"},"modified":"2011-10-14T13:51:22","modified_gmt":"2011-10-14T13:51:22","slug":"permalink-editor","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/permalink-editor\/","author":3519717,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2.12","stable_tag":"0.2.12","tested":"3.2.1","requires":"3.1","requires_php":"","requires_plugins":"","header_name":"Permalink Editor","header_author":"Fubra Limited","header_description":"","assets_banners_color":"","last_updated":"2017-11-28 19:46:45","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=99WUGVV4HY5ZE&lc=GB&item_name=CatN%20Plugin%20Donation&item_number=catn-plugin-permalink-editor&currency_code=GBP&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted","header_plugin_uri":"http:\/\/fubra.com","header_author_uri":"http:\/\/fubra.com","rating":3.6,"author_block_rating":0,"active_installs":1000,"downloads":65937,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.2.9":"<p>Fix for bug introduced in 0.2.8 where rewrite rules were not always correctly flushed. \nThey are are now regenerated when you visit the &quot;Permalinks &gt; Settings&quot; page and click &quot;Save Changes&quot;.<\/p>","0.2.8":"<p>Rewrite rules are now only flushed when saving your permalink settings. If you are experiencing\na lot of 404 errors, please visit the <em>Settings &gt; Permalinks<\/em> page and click &quot;Save Changes&quot;.<\/p>","0.2":"<p>Due to the addition of category and tag permalink customisation, in order to keep the plugin footprint to a minimum\nthe method of storing settings has changed.<\/p>\n\n<p>This means that anybody using the global page structure settings in any plugin version &lt; 0.2, will need\nto visit the Permalink Settings page and re-enter the page structure.<\/p>\n\n<p>Apologies for making this incompatible change.<\/p>"},"ratings":{"1":"1","2":"1","3":0,"4":0,"5":"3"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.2","0.2.1","0.2.10","0.2.11","0.2.12","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.2.8","0.2.9"],"block_files":[],"assets_screenshots":{"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1777206","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1777206","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1777206","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1777206","resolution":"1","location":"plugin"}},"screenshots":{"1":"The customise button is added to the permalink edit area.","2":"Customise button allows you to edit the whole permalink.","3":"The permalink alias box appears towards the bottom of the edit screen.","4":"Define the permalink structures on Settings &gt; Permalinks options page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[537,170,2662,86,538],"plugin_category":[57],"plugin_contributors":[79759,79758],"plugin_business_model":[],"class_list":["post-11995","plugin","type-plugin","status-publish","hentry","plugin_tags-link","plugin_tags-page","plugin_tags-permalink","plugin_tags-post","plugin_tags-url","plugin_category-taxonomy","plugin_contributors-36flavours","plugin_contributors-fubra","plugin_committers-fubra"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/permalink-editor.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/permalink-editor\/trunk\/screenshot-1.png?rev=1777206","caption":"The customise button is added to the permalink edit area."},{"src":"https:\/\/ps.w.org\/permalink-editor\/trunk\/screenshot-2.png?rev=1777206","caption":"Customise button allows you to edit the whole permalink."},{"src":"https:\/\/ps.w.org\/permalink-editor\/trunk\/screenshot-3.png?rev=1777206","caption":"The permalink alias box appears towards the bottom of the edit screen."},{"src":"https:\/\/ps.w.org\/permalink-editor\/trunk\/screenshot-4.png?rev=1777206","caption":"Define the permalink structures on Settings &gt; Permalinks options page."}],"raw_content":"<!--section=description-->\n<p>This plugin adds two areas of functionality: Global page, category or tag permalink structures and individual custom permalinks.<\/p>\n\n<p>Options are added to the Permalinks Settings page allowing you to specify the structure for pages, categories, tags and authors.<\/p>\n\n<p>By default - if custom permalinks are enabled - pages are accessible in the format <code>\/page\/<\/code> or <code>\/parent\/page\/<\/code>.<\/p>\n\n<p>You can modify this format in many different ways, for example:<\/p>\n\n<ul>\n<li>Add an extension: <code>\/%pagename%.html<\/code><\/li>\n<li>Add a parent directory name: <code>\/content\/%pagename%\/<\/code><\/li>\n<li>Prefix the page name: <code>\/page-%pagename%\/<\/code><\/li>\n<li>Or using a combination of the above.<\/li>\n<\/ul>\n\n<p>This same format applies for categories, tags and authors, however the structure tokens differ:<\/p>\n\n<ul>\n<li>Categories: <code>%category%<\/code> (E.g. <code>\/category\/%category%.html<\/code>)<\/li>\n<li>Tags: <code>%post_tag%<\/code> (E.g. <code>\/tag\/%post_tag%.html<\/code>)<\/li>\n<li>Authors: <code>%author%<\/code> (E.g. <code>\/author\/%author%.html<\/code>)<\/li>\n<\/ul>\n\n<p>Each <em>permalink base<\/em> can be edited directly via these settings, for example using <code>\/people\/%author%.html<\/code> as the Author permalink structure will replace <code>\/author\/<\/code> with <code>\/people\/<\/code>.<\/p>\n\n<p>If no prefix is found, permalinks will be prepended with a default (category, tag or author) - with the exception of pages.<\/p>\n\n<p><strong>Note:<\/strong> Ensure you have included the correct structure tag somewhere in the url.<\/p>\n\n<p>Additionally, an option is added to the edit screen allow you to specify the permalink for an individual post or page.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unzip the package, and upload <code>page-permalink<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to the permalink settings page <em>(Settings &gt; Permalinks)<\/em> and set your custom global page permalink structure.<\/li>\n<li>Individual post permalinks can be edited via the edit post screen.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Unzip the package, and upload <code>page-permalink<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to the permalink settings page <em>(Settings &gt; Permalinks)<\/em> and set your custom global page permalink structure.<\/li>\n<li>Individual post permalinks can be edited via the edit post screen.<\/li>\n<\/ol><\/dd>\n<dt>Why is the customise button now showing?<\/dt>\n<dd><p>If you have not enabled custom permalinks <em>(Settings &gt; Permalinks)<\/em> and they are set to the default option,\nthe plugin will not recognise that custom permalink structures are enabled.<\/p><\/dd>\n<dt>What is a permalink alias?<\/dt>\n<dd><p>A permalink alias is an additional permalink value that can be set to redirect to the actual permalink.<\/p>\n\n<p>If a user enters the URL of an existing alias value, it will header redirect <em>(301)<\/em> them to the correct location.<\/p><\/dd>\n<dt>How can I remove a custom permalink?<\/dt>\n<dd><ul>\n<li>Click the <code>Customise<\/code> permalink button on the admin edit screen.<\/li>\n<li>Empty the input containing the permalink.<\/li>\n<li>Click on <code>OK<\/code> and update the entry to apply the changes.<\/li>\n<\/ul>\n\n<p>The default permalink structure will then be applied.<\/p><\/dd>\n<dt>Why do numbers keep appearing at the end of my permalink?<\/dt>\n<dd><p>Permalinks should by unique across your site, if you are trying to define a duplicate a numeric value will be appended to the end.<\/p>\n\n<p>For example, if there is an existing custom slug of \"\/post.html\", it will be turned into \"\/post.html2\".<\/p><\/dd>\n<dt>What features are there still left to implement?<\/dt>\n<dd><ul>\n<li>Complete removal of the Category or Tag base.<\/li>\n<li>Option to remove parent categories from the category permalink, e.g. \"\/parent\/child\/\" becomes just \"\/child\/\".<\/li>\n<li>Ability to customise the archive pages, e.g. \"\/2011-02.html\".<\/li>\n<li>Option to edit the author name in author permalinks.<\/li>\n<li>Ability to disable individual \/ custom page permalinks to speed up sites using custom structures only.<\/li>\n<\/ul><\/dd>\n<dt>What is the order of priority used for redirects?<\/dt>\n<dd><ol>\n<li>Find an existing page by the specified path, if one exists then redirect to that page.<\/li>\n<li>Check for a custom permalink if the current request returns a 404 error. <em>(Defined on the individual edit page)<\/em><\/li>\n<li>Lookup an alias permalink if no existing page is found. <em>(Defined on the individual edit page)<\/em><\/li>\n<li>Use the global permalink structures. <em>(Defined on the permalink settings page)<\/em><\/li>\n<\/ol><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.2.12<\/h4>\n\n<ul>\n<li>Bug fixes for issues introduced in the previous release (0.2.11).<\/li>\n<li><em>Updated 2011-10-14<\/em><\/li>\n<\/ul>\n\n<h4>0.2.11<\/h4>\n\n<ul>\n<li>Modified generate_rewrite_rules() in an attempt to solve the 404 issues.<\/li>\n<li>Changed permalink lookup order in <code>get_post_by_custom_permalink<\/code> function.<\/li>\n<li>Added additional support for using utf-8 characters in individual custom permalinks.<\/li>\n<\/ul>\n\n<h4>0.2.10<\/h4>\n\n<ul>\n<li>Added closing PHP tag to the plugin index file.<\/li>\n<li>Modules only loaded if rewrite rules are enabled.<\/li>\n<\/ul>\n\n<h4>0.2.9<\/h4>\n\n<ul>\n<li>Rewrite Rules are are now regenerated when you visit the \"Permalinks &gt; Settings\" page and click \"Save Changes\", or when saving a post or page.<\/li>\n<\/ul>\n\n<h4>0.2.8<\/h4>\n\n<ul>\n<li>Speed improvements introduced by only flushing rewrites rules when the permalink settings are saved.<\/li>\n<li>Bug fix for causing some 404 errors when setting custom permalinks, including th use UTF8 characters.<\/li>\n<li>Minor bug fix for notice when parsing the request url.<\/li>\n<li><em>Updated 2011-07-29<\/em><\/li>\n<\/ul>\n\n<h4>0.2.7<\/h4>\n\n<ul>\n<li>Updated the reformatting function to convert all accent characters to ASCII characters.<\/li>\n<li>Applied fix to prevent 404s for custom permalinks when WordPress is within sub directory.<\/li>\n<li>Added some backwards compatibility for versions of PHP &lt; 5.1.2.<\/li>\n<li><em>Updated 2011-04-12<\/em><\/li>\n<\/ul>\n\n<h4>0.2.6<\/h4>\n\n<ul>\n<li>Fixed issue generating permalinks when the WordPress install resides within a sub directory.<\/li>\n<li><em>Updated 2011-03-28<\/em><\/li>\n<\/ul>\n\n<h4>0.2.5<\/h4>\n\n<ul>\n<li>Category, tag and author permalink structures are now required to have a prefix (a default will be prepended).<\/li>\n<li>Category and tag permalink structures now inherit their specified base value.<\/li>\n<li><em>Updated 2011-03-02<\/em><\/li>\n<\/ul>\n\n<h4>0.2.4<\/h4>\n\n<ul>\n<li>Added more robust checking for an existing page \/ post by a given path (includung custom post types).<\/li>\n<li>Lowered the init priority to 11 in order to try and catch post types added on or before the default priority (1-10).<\/li>\n<li><em>Updated 2011-02-23<\/em><\/li>\n<\/ul>\n\n<h4>0.2.3<\/h4>\n\n<ul>\n<li>Fix for adding custom permalinks to custom post types. (Adjusted lookup query to use an array of public post types instead of 'any'.)<\/li>\n<li><em>Updated 2011-02-22<\/em><\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>Fixes issue where links were internal links were redirecting to the homepage when the front page was set to a static page.<\/li>\n<li>Added option to customise the author permalinks.<\/li>\n<li><em>Updated 2011-02-21<\/em><\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>Fixes to allow custom permalinks to work when using \"Almost Pretty\" permalinks.<\/li>\n<li>Added two new filters <code>permalink_editor_page_link<\/code> and <code>permalink_editor_request<\/code> allowing other plugins to manipulate the permalinks.<\/li>\n<li>Added ability to include extra modules, allowing this plugin to work alongside others that manipulate permalinks.<\/li>\n<li>Added donate link.<\/li>\n<li><em>Updated 2011-02-21<\/em><\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Added the ability to customise category and tag permastructs.<\/li>\n<li>Adjusted addition of filters so they are not applied if custom permalinks are disabled.<\/li>\n<li>Changed user capability check to 'manage_options'.<\/li>\n<li><em>Updated 2011-02-15.<\/em><\/li>\n<\/ul>\n\n<h4>0.1.9<\/h4>\n\n<ul>\n<li>Fixed error output when trying to access a page using a permalink alias.<\/li>\n<li>Addition on the version update dates in the change log.<\/li>\n<li><em>Updated 2011-02-14.<\/em><\/li>\n<\/ul>\n\n<h4>0.1.8<\/h4>\n\n<ul>\n<li>Changed the method used for checking file extensions.<\/li>\n<li>Fixed Edit Permalink button when creating a new post \/ page.<\/li>\n<li>Removed formatting of permalinks if rewriting is not enabled \/ default permalinks used.<\/li>\n<li><em>Updated 2011-02-07.<\/em><\/li>\n<\/ul>\n\n<h4>0.1.7<\/h4>\n\n<ul>\n<li>Modified the method of including the JavaScript file, affected the customise button in versions prior to WP 3.1.<\/li>\n<li><em>Updated 2011-02-05.<\/em><\/li>\n<\/ul>\n\n<h4>0.1.6<\/h4>\n\n<ul>\n<li>Enabled permalinks on drafts to be edited and customised.<\/li>\n<li><em>Updated 2011-02-04.<\/em><\/li>\n<\/ul>\n\n<h4>0.1.5<\/h4>\n\n<ul>\n<li>Removed unexpected output and modified contributers list.<\/li>\n<li><em>Updated 2011-02-04.<\/em><\/li>\n<\/ul>\n\n<h4>0.1.4<\/h4>\n\n<ul>\n<li>Removed debugging info.<\/li>\n<li><em>Updated 2011-02-03.<\/em><\/li>\n<\/ul>\n\n<h4>0.1.3<\/h4>\n\n<ul>\n<li>Trailing slash check now applies to all post types, including custom post types.<\/li>\n<li>Reordered get_custom_permalink_sample arguments to ensure the permalink is returned by default.<\/li>\n<li>Modified the way requests are parsed.<\/li>\n<li><em>Updated 2011-02-03.<\/em><\/li>\n<\/ul>\n\n<h4>0.1.2<\/h4>\n\n<ul>\n<li>Removed manual setting of 404 error. (Fixes lookup for non-custom permalinks)<\/li>\n<li><em>Updated 2011-02-01.<\/em><\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Fallback check to get post by custom permalink now passes original lookup parameters. (Fixes failed alias lookup)<\/li>\n<li><em>Updated 2011-02-01.<\/em><\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>This is the very first version.<\/li>\n<li><em>Updated 2011-02-01.<\/em><\/li>\n<\/ul>","raw_excerpt":"Fully customise the permalink for an individual page or post and globally set the permalink structure for pages, categories, tags or authors.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/11995","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=11995"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fubra"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=11995"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=11995"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=11995"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=11995"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=11995"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=11995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}