{"id":2616583,"date":"2012-03-08T15:49:23","date_gmt":"2012-03-08T15:49:23","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-rssimport-fix-for-headline-links-without-full-paths\/"},"modified":"2016-08-20T05:27:42","modified_gmt":"2016-08-20T05:27:42","slug":"plugin-rssimport-fix-for-headline-links-without-full-paths","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-rssimport-fix-for-headline-links-without-full-paths\/","title":{"rendered":"[Plugin: RSSImport] Fix for headline links without full paths?"},"content":{"rendered":"<p>This is not a problem with the plugin itself but a suggestion to make it even better.<\/p>\n<p>Occasionally a company&#8217;s feeds consistently do not include the full path in the links to their articles, which results in getting the 404 error page. I&#8217;m wondering if there&#8217;s a way to add a plugin shortcode option to add text at the beginning of a path in order to complete it. For example, a feed might have this as a typical path: &#8220;\/directory\/year\/month\/article.html&#8221; whereas I would like to tell RSSImport to append &#8220;http:\/\/www.companysite.com&#8221; to each article link: &#8220;http:\/\/www.companysite.com\/directory\/year\/month\/article.html&#8221;<\/p>\n<p>Otherwise, that missing part is substituted with the url of the site which the link is embedded (&#8220;http:\/\/www.mywpsite.com&#8221;) which obviously doesn&#8217;t work.<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/rss-import\/<\/p>\n","protected":false},"template":"","class_list":["post-2616583","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2616583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2616583\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2616583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}