URLs to the main body of my site are working fine, for example if I have a link to the following file (relative to the root):
/folder/some-psge/
is correctly replaced with:
https://FQDN/folder/some-page/
However, if I have a link to a file or folder within the wordpress area of my website, initally it works correctly, for example:
/wordpress/wp-content/index.php
is replaced by:
https://FQDN/wordpress/wp-content/index.php
when the page is saved. However, if I edit the page subsequently the link:
https://FQDN/wordpress/wp-content/index.php
is replaced by:
https://FQDN/wp-content/index.php
Notice the “/wordpress” part of the URL has been removed. I suspect this is a configuration issue, but haveing scoured the documentation of forum messages I can’t work it out.
Note that my siteurl is set to: https://FQDN/wordpress, but home is set to: https://FQDN/
Great plugin though. Thanks
Spindles7
]]>Hello,
Your plugin is very usefull !! Thanks. I don’t understand that wordpress works with absolute urls…
I have an issue with WPML extension for multilanguage website (when using directory for each language). And we have a fix that you could implement on your plugin perhaps.
Please see here : https://wpml.org/forums/topic/medias-disapears-after-update/page/2/#post-7438035
Thanks
Hi,
Does this plugin suppose to work in real-time to convert relative to absolute links?
I’m asking because, if it doesn’t, it wouldn’t treat relative links that are generated by other plugins (page builder addons for instance) or relative menu links.
Thanks!
]]>After using the plugin every content area in the backend and frontend is getting the domain added to it. Everytime a content page is edited it continually saves another url to the post content area. It seems as though there is a check missing for an actual url somewhere in the code.
Thanks,
Justin
Hi,
I tried to use this plugin in a hosted site on wordpress.com. I installed the plugin and tried using all the filters using Code Snippit as well as functions.php in a child theme, but seems none of them worked. Please advice.
]]>Hello!
Links are not converted to relative on content pages https://savedrive.ua/
Parse error: syntax error, unexpected '[' in absolute-relative-urls.php on line 87
really fixit?
]]>Is it possible to remove additional domains?
Use case is having a QA and production server. When a user copies raw HTML from a page in QA and pastes it in production, it would be nice if the plugin caught the domain of the staging server and made it relative on the production server.
Can this be done? I looked in the readme, but didn’t find any other documentation that mentions doing this. Ideally, I’d like to list all the domains we’re using (dev, staging, qa, etc.) and have the plugin remove any of those domains from the URL when saving pages/posts.
]]>I was loving this plugin until I tried to including in the editing area the complete URL to my site, not related to a tag in any way, and it deleted the text every time I updated the page.
]]>When a URL is added without specifying http: or https:, (eg: //twitter.com/user), base URL is added before (https://www.example.com//twitter.com/user) rendering it not found.
I think if a link starts with // then it should be ignored.
]]>