5 YEARS AGO
Currently wixLocation.to API take a URL as argument. The URL could be internal or external.
The problem is internal URL might change over time (new naming convention, SEO adjusment, page status) but the feature built should not break if the URL of the page change.
Imagine you build a funnel that takes the user from one page to another. If someone changes one URL (step2 => personal-data-step, step3 => confirmation-step this will break the funnel. Most of the time people are not aware of that hard linking done by code or forget to update them
The final URL might be unknown at development time: URL might be done by a different person than the one who develops the website. Currently, we need to check EVERY link on the website once URLs has been changed. This is extra work that can potentially break the app
Being able to redirect the user to a given page whatever the URL page should be possible using:
wixLocation.toPage("TARGET_PAGE_ID")
This will make Wix app more reliable and robust.
Pending
API
1 Votes
Top Requests
-
Lorem Ipsum.
-
Lorem Ipsum.
-
Lorem Ipsum.
-
Lorem Ipsum.
Log in to your Wix account to leave a comment
Thanks for posting! Your comment will be shown once it’s reviewed.
Comments
Add your comments and suggestions here.