Relative links in Elementor widgets
-
Hello! If I add a relative link into an Elementor widget, it’s staying work as relative, for example if I enter a link ‘some-link’ it will be interpreted as https://example.com/some-link if the widget is on the home page,
and as https://example.com/a/b/c/some-link if the widget is on the https://example.com/a/b/c/ page.But I need it will work as https://example.com/some-link on any page with this widget. Using full URLs or “absolute” path does not solve the problem because if I migrate a site from https://example.com/ to https://example.com/wordpress/ – then https://example.com/some-link is broken.
It would be great the Elementor plugin can convert links entered as relative into full URLs simply prepending them with home_url() on frontend on the fly. Is it possible?
- The topic ‘Relative links in Elementor widgets’ is closed to new replies.