tonic123 Posted April 16, 2023 Posted April 16, 2023 I'm in the process of transferring a site to Squarespace from another host. The previous site is one page with about 10 links that are just targets to the same page. The new site is now separate pages but the url redirect doesn't allow the "#" sign. Anybody know of another way to redirect?
tuanphan Posted April 16, 2023 Posted April 16, 2023 What is new site url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Solution tonic123 Posted April 16, 2023 Author Solution Posted April 16, 2023 it's not there yet, but I think this will work: <script> if (window.location.hash=='#contact') {window.location.replace("/contact")} </script>
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment