How do I set buttons with a relative url?
Hi,
How do I set the button link to point to a url relative to the site? Right now I am using a subdomain but I will be moving to a custom domain and I don't want to have to relink everything to that custom domain.
Also trying to understand what Site URL / Page URL mean in this screenshot.

Regards
-
Hi,
If you want to link the button to the page of this project/site, I can recommend adding only the slug of the page. This one https://jmp.sh/R0lMOdx. In such a way, when you will move the site to another domain, these link will still work fine and will link the visitor to the right page.
The Site URL - is a dynamic element and it stores the URL of the site. If the Site URL will be changed, the information stored in the "Site URL" will be changed too with the new domain name.
The Page URL - the same is a dynamic element and it stores the URL of the current page. For example, if you are on the "Contact us" page, this link will attach the link to this page. It is more commonly used for the Posts element or other dynamic data.
Best regards,
Sandra0
Please sign in to leave a comment.
Comments
1 comment