Where does this go???

Hey,
The page name should be without the last backslash:
wixLocation.to (/createaccount);
Click here to learn more about Wix Location API.

Should the issue persists, please provide us with more info about the use case and what you would like to achieve. Moreover, note that you pasted only part of the function…

Good luck!
Tal.