{"id":152248,"date":"2022-01-23T22:46:01","date_gmt":"2022-01-23T22:46:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/relative-home-siteurl\/"},"modified":"2022-01-23T22:47:56","modified_gmt":"2022-01-23T22:47:56","slug":"simple-relative-urls","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/simple-relative-urls\/","author":15411602,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.4","stable_tag":"1.0.4","tested":"5.8.15","requires":"5.0","requires_php":"7.0","requires_plugins":"","header_name":"Simple Relative Urls","header_author":"Andrzej Misiewicz","header_description":"Changes database options 'home' and 'siteurl' to relative site url","assets_banners_color":"","last_updated":"2022-01-23 22:47:56","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/endriu84\/simple-relative-urls","header_author_uri":"https:\/\/pandasoft.pl","rating":0,"author_block_rating":0,"active_installs":0,"downloads":457,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description"],"tags":{"1.0.4":{"tag":"1.0.4","author":"amisiewicz","date":"2022-01-23 22:47:56"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2662683,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2662683,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.4"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[207041,1429,538],"plugin_category":[],"plugin_contributors":[207042],"plugin_business_model":[],"class_list":["post-152248","plugin","type-plugin","status-closed","hentry","plugin_tags-localtunnel","plugin_tags-relative","plugin_tags-url","plugin_contributors-amisiewicz","plugin_committers-amisiewicz"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/simple-relative-urls.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Simple Relative Urls<\/strong> plugin changes:<\/p>\n\n<ul>\n<li>home and siteurl<\/li>\n<li>script src urls<\/li>\n<li>style link urls<\/li>\n<li>images src urls<\/li>\n<\/ul>\n\n<p>It uses wordpress filters.\nIt doesn't interact with database.\nIt is fast, it doesn't search and replace generated html.\nIt doesn't change hardcoded urls (for example in post content).\nIt is flexible.<\/p>\n\n<p>Plugin was originally created to enable wordpress to work with a <a href=\"https:\/\/www.npmjs.com\/package\/localtunnel\">localtunnel<\/a> npm package<\/p>\n\n<blockquote>\n  <p>localtunnel exposes your localhost to the world for easy testing and sharing! No need to mess with DNS or deploy just to have others test out your changes.<\/p>\n<\/blockquote>\n\n<h3>Example use cases<\/h3>\n\n<p>If Your development tasks don't involve images, don't download them from a server. Just install the plugin and add this line of code to your wp-config.php file<\/p>\n\n<pre><code>define( 'SRU_IMG_SRC_RELATIVE', false );\n<\/code><\/pre>\n\n<p>Your local copy will then display images from their oryginal source.<\/p>","raw_excerpt":"This plugin makes urls (home url, js, css, images) across website relative. Works great with localtunnel npm package.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/152248","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=152248"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/amisiewicz"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=152248"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=152248"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=152248"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=152248"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=152248"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=152248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}