SOLVED: Relative links to site pages?
Hi,
I tend to develop websites on a local server before deploying them on the hosting provider. However, this creates problems with links to internal pages. For instance, a "See more" button is intended to link to a static ./new-page but in Brizy any hyperlink must be provided with a complete address, e.g. https://192.168.0.111/new-page. This, of course, is a problem because once deployed this hyperlink should be https://website-name.com/new-page.
As of now, once deployed I have to edit all of these links by hand which is very time consuming.
Is there a way for relative internal links like menus work in Wordpress, for instance?
Thanks for the great work!
-
Hi Viktor,
you can use the link in this way and it will work: https://jmp.sh/tPybXAT At least, I just checked it and it works fine. Why do you say you need to add the full address? Doesn't that work for you?
Do you have the latest Brizy versions - Free 1.0.122 and PRO 0.0.39?
0 -
Excellent! That's exactly what I needed :)
As a future suggestion it might be convenient to have dropdown menu of pages to choose from as well.
0 -
Most welcome ;)
I will add your suggestion to the list. Thanks.
0
Please sign in to leave a comment.
Comments
3 comments