How to solve the Problem by your own?
At first look, your code seems to be right. You store the url in wix-storage on page-A and get the data back out of wix-storage in page-b.
What you are not doing is, to use the console, to log every single step of your code for debugging purposes.
Already worked with the console?
$w . onReady ( function (){ const websiteurl = session . getItem ( website console.log("URL: ", websiteurl) ;
});
What do you get as RESULT in your CONSOLE? Is it the expected result?
If YES, and it does still not work, try to add a URL to your HTML-Component → MANUALY.
Does it work after adding the URL manualy?
If it does still not work, take a look onto the corresponding VELO-API for more i iormation.