{"id":7569,"date":"2010-01-04T18:15:07","date_gmt":"2010-01-04T18:15:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/relative-links-fix\/"},"modified":"2010-02-22T17:11:09","modified_gmt":"2010-02-22T17:11:09","slug":"relative-links-fix","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/relative-links-fix\/","author":2821235,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3","stable_tag":"1.3","tested":"2.9.2","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"Relative Links Fix","header_author":"Joshua Hill","header_description":"","assets_banners_color":"","last_updated":"2010-02-22 17:11:09","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=99KW4AJ74J7E8&lc=US&item_name=Joshua%20Hill%20%28khaotica%2ecom%29&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted","header_plugin_uri":"http:\/\/khaotica.com\/2009\/12\/relative-links-fix-wordpress.html","header_author_uri":"http:\/\/khaotica.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2540,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1332,2158,175,18126,1429],"plugin_category":[46],"plugin_contributors":[92018],"plugin_business_model":[],"class_list":["post-7569","plugin","type-plugin","status-publish","hentry","plugin_tags-editor","plugin_tags-firefox","plugin_tags-links","plugin_tags-paste","plugin_tags-relative","plugin_category-editor-and-writing","plugin_contributors-achellios","plugin_committers-achellios"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/relative-links-fix.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Wordpress bloggers will sometimes copy headlines from a Wordpress-generated homepage and paste them into the post-editing window.  In Firefox, this has the unfortunate result of converting absolute urls into relative ones.  For example, copying a headline from http:\/\/khaotica.com converts the permalink for this article:<\/p>\n\n<p>http:\/\/khaotica.com\/2009\/12\/firefox-relative-links-fix-wordpress.html<\/p>\n\n<p>...to a relative link:<\/p>\n\n<p>..\/2009\/12\/firefox-relative-links-fix-wordpress.html<\/p>\n\n<p>This creates broken links when the post is viewed on the archive page and RSS feed. The links will also be broken for subscribers who receive posts via email.<\/p>\n\n<p>Enter the Relative Links Fix. This plugin will replace relative urls with the proper absolute urls every time you save or publish a post. If you use Wordpress and can't shake those copy-paste habits, this is the plugin for you.<\/p>\n\n<p>As always, donations are appreciated. I promise to spend them exclusively on soda (the creative fuel that powers developers everywhere).<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>linksfix.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I correct relative urls in my post?<\/dt>\n<dd><p>After the plugin is activated, simply publish or update the post.  The plugin automatically corrects relative urls in the post each time it is saved to the database.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3<\/h4>\n\n<ul>\n<li>Corrected bug for Wordpress subdirectory<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Plugin now corrects img src links in addition to href links.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Tested in WP 2.9; updated description and FAQ.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Original release.<\/li>\n<\/ul>","raw_excerpt":"Corrects Firefox behavior in which pasting formatted content in the editor converts absolute URLs to relative URLs.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/7569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=7569"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/achellios"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=7569"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=7569"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=7569"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=7569"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=7569"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=7569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}