{"id":4352,"date":"2008-12-31T10:53:42","date_gmt":"2008-12-31T10:53:42","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/pathless-category-links\/"},"modified":"2008-12-31T21:39:42","modified_gmt":"2008-12-31T21:39:42","slug":"pathless-category-links","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/pathless-category-links\/","author":1551085,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1","stable_tag":"trunk","tested":"2.7","requires":"2.0.2","requires_php":"","requires_plugins":"","header_name":"Pathless Category Links","header_author":"Another Coder","header_description":"","assets_banners_color":"","last_updated":"2008-12-31 21:39:42","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.anothercoder.com\/donate","header_plugin_uri":"http:\/\/www.anothercoder.com\/wordpress\/pathless-category-permalinks-plugin","header_author_uri":"http:\/\/www.anothercoder.com\/","rating":0,"author_block_rating":0,"active_installs":50,"downloads":8318,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1566825","resolution":"1","location":"plugin","width":523,"height":345}},"screenshots":{"1":"The settings admin for the plugin. You can easily disable 301 redirects or change the base category directory, which is <em>\/category\/<\/em> by default."}},"plugin_section":[],"plugin_tags":[950,89,48128,48129,939],"plugin_category":[55,59],"plugin_contributors":[85063],"plugin_business_model":[],"class_list":["post-4352","plugin","type-plugin","status-closed","hentry","plugin_tags-301-redirect","plugin_tags-category","plugin_tags-get_category","plugin_tags-get_category_link","plugin_tags-permalinks","plugin_category-seo-and-marketing","plugin_category-utilities-and-tools","plugin_contributors-anothercoder","plugin_committers-anothercoder"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/pathless-category-links.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/pathless-category-links\/trunk\/screenshot-1.jpg?rev=1566825","caption":"The settings admin for the plugin. You can easily disable 301 redirects or change the base category directory, which is <em>\/category\/<\/em> by default."}],"raw_content":"<!--section=description-->\n<p>This plugin will remove the <em>\/category\/<\/em> base directory that WordPress adds to category links. It\u2019ll also go beyond that and automatically 301 redirect the old <em>\/category\/<\/em> links to the new, pathless category link.<\/p>\n\n<p>Once installed, the plugin will <strong>automatically<\/strong> change all your category links on the website. You do not need to modify any of your WordPress themes or code.<\/p>\n\n<p>There is also an admin panel that will let you enable\/disable 301 redirects, as well as change the text to remove from the category link.<\/p>\n\n<p><em>Change Log<\/em><\/p>\n\n<p><strong>Version 1.1  (Dec-31-2008)<\/strong> - Added the <code>Update category links with pages<\/code> setting to modify category links that contain <em>\/page\/<\/em> to become <em>\/?paged<\/em>\nVersion 1.0 (Dec-30-2008) - Initial release<\/p>\n\n<h3>Primary Benefits<\/h3>\n\n<ul>\n<li>Remove category base directories, <em>\/category\/<\/em> by default, from all category links on the website. So, <code>http:\/\/www.anothercoder.com\/category\/news<\/code> will automatically become <code>http:\/\/www.anothercoder.com\/news<\/code><\/li>\n<li>Pathless category permalinks provide improved SEO<\/li>\n<li>Automatically 301 redirect old links, e.g. <code>http:\/\/www.anothercoder.com\/category\/news<\/code>, to the new pathless category permalink, e.g. <code>http:\/\/www.anothercoder.com\/news<\/code><\/li>\n<\/ul>\n\n<p>Post comments and get help on the <a href=\"http:\/\/www.anothercoder.com\/wordpress\/pathless-category-permalinks-plugin\" title=\"Pathless Category Links homepage\">Pathless Category Links<\/a> page of my blog.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>pathless-category-links.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use the <code>Settings &gt; Pathless Category Links<\/code> section to modify plugin settings<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What if other links on my site contain \/category\/?<\/dt>\n<dd><p>You can disable the automatic 301 redirect feature via the settings. If it is enabled, then ANY link that contains the base category directory (by default <em>\/category\/<\/em>) will be redirected with the base category directory removed.<\/p><\/dd>\n<dt>It's not working?<\/dt>\n<dd><p>The first thing to check is your <code>permalink settings<\/code>. Is your permalink structure <code>\/%postname%<\/code>? If so, the plugin will not work because WordPress will not be able to tell the difference between a category page and a post page without the <code>\/category\/<\/code> in the URL. I would recommend the permalink settings: <code>\/%category%\/%postname%<\/code>, which is what I use.<\/p>\n\n<p>If your permalink settings are okay, then follow these steps.<\/p>\n\n<ol>\n<li>Disable the plugin<\/li>\n<li>Go to your category link, something like <code>http:\/\/www.anothercoder.com\/category\/news<\/code>.<\/li>\n<\/ol>\n\n<p>* Is that working? If not, check your other plugins and WordPress installation as something is wrong there.\n1. Manually remove the <code>\/category\/<\/code> from your link and go to that URL, something like <code>http:\/\/www.anothercoder.com\/news<\/code>\n* Is that working? If not, check your other plugins and WordPress installation\n1. Once you can get the URL without <code>\/category\/<\/code> working manually, re-enable the plugin and you'll be all set.<\/p>\n\n<p>You can also report bugs and get advice on the <a href=\"http:\/\/www.anothercoder.com\/wordpress\/pathless-category-permalinks-plugin\" title=\"Pathless Category Links homepage\">Pathless Category Links<\/a> page on blog.<\/p><\/dd>\n<dt>Why do my category links contain `\/?paged=[0-9]`?<\/dt>\n<dd><p>WordPress does not allow the following link <code>http:\/\/www.anothercoder.com\/news\/page\/2<\/code>, it only works with <code>http:\/\/www.anothercoder.com\/category\/news\/page\/2<\/code>. So, this is a work around to turn ONLY category links that have pages to be rewritten as <code>http:\/\/www.anothercoder.com\/news\/?paged=2<\/code> instead.<\/p>\n\n<p>The <code>Update category links with pages<\/code> setting in the <code>Settings &gt; Pathless Category Links<\/code> section allows you to disable this work around. But, if it is disabled, then your links will not have the base category directory removed, nor will a 301 redirect be performed.<\/p>\n\n<p>So, it's up to you, do you want: <code>http:\/\/www.anothercoder.com\/category\/news\/page\/2<\/code> or do you want <code>http:\/\/www.anothercoder.com\/news\/?paged=2<\/code><\/p><\/dd>\n\n<\/dl>","raw_excerpt":"A WordPress plugin to remove the base category, e.g. the \/category\/, folder from your category links. 301 Redirects are added for old links.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=4352"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/anothercoder"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4352"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4352"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4352"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4352"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4352"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}