{"id":61224,"date":"2011-08-11T12:25:46","date_gmt":"2011-08-11T12:25:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/cleanpaths\/"},"modified":"2011-08-11T12:25:46","modified_gmt":"2011-08-11T12:25:46","slug":"cleanpaths","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/cleanpaths\/","author":8205170,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"","stable_tag":"trunk","tested":"","requires":"","requires_php":"","requires_plugins":"","header_name":"cleanpaths","header_author":"","header_description":"","assets_banners_color":"","last_updated":"2011-08-11 12:25:46","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":552,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":[],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-61224","plugin","type-plugin","status-closed","hentry","plugin_committers-benirvin"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cleanpaths.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"","raw_excerpt":"<p>Currently, WordPress uses full schema:\/\/host\/path to all scripts, css, some media files, while many plugins also use various different (often incorrect) methods to include those files.  This leads to a dev site often having three or four different hostnames in use all at once (host.tld, devhost.tld, www.host.tld, www.devhost.tld), while some places just use the path (with or without an initial slash).<\/p>\n<p>This plugin provides a method for standardizing and cleaning all urls output by WordPress and attempts to clean misbehaving plugin paths as well.<\/p>\n<p>It should eventually be configurable to allow use of full urls where required (eg, in feeds) and paths without the hostname everywhere else, although currently it is fairly limited.  Ideal for dev\/staging sites using temporary hostnames, WPMU sites in particular.\n<\/p>","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/61224","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=61224"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/benirvin"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=61224"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=61224"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=61224"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=61224"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=61224"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=61224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}