yasglobal / make-paths-relative

This powerful plugin simplifies website maintenance by automatically converting absolute paths (URLs) for resources like links, scripts, stylesheets, and images to relative paths. This ensures your website functions flawlessly regardless of its location on a server or domain.
https://wordpress.org/plugins/make-paths-relative/
GNU General Public License v3.0
4 stars 1 forks source link

The problem with the link to the homepage #14

Open wotomg opened 3 weeks ago

wotomg commented 3 weeks ago

Instead of returning href="/", the script returns href="".

samiahmedsiddiqui commented 3 weeks ago

@wotomg Can you please share settings inside the plugin?

wotomg commented 3 weeks ago

2024-10-24_20-07

wotomg commented 3 weeks ago

I have solve this bug. In file includes/class-make-paths-relative-frontend.php on line 198 insert code $body_content = preg_replace('/href=""/', 'href="/"', $body_content);

samiahmedsiddiqui commented 2 weeks ago

@wotomg Despite attempts to reproduce the issue with plugin version 2.1.0, I have been unable to do so. To facilitate a thorough investigation and resolution, I kindly request temporary access to your development or staging website.

wotomg commented 2 weeks ago

@samiahmedsiddiqui send me mail to wotomg [at] gmail, I'll will send you a link.

samiahmedsiddiqui commented 1 week ago

@wotomg Email sent.