Wixlocation.to doesn't work

Hi,
Any help would be greatly appreciated.

I’ve created a page with 4 boxes.
Added onClick event to each of them directing them to internal pages.

I’ve then deleted two of the pages and created new ones with the exact same url as the ones I’ve deleted.

Saved, published, cleared cookies / cache.

The two page I’ve deleted and recreated now are now not being directed to from the boxes.
Everything is defined correctly, I’ve even deleted the onCLick event and redid it.

link: https://anatbelinson.wixsite.com/adiphysiotherapy

code:

TIA,
Anat

Are you sure you have the correct URL? Check in the setting’s SEO panel . As you can see in the screenshot, I have a page called THANKS , but the URL is copy-of-home .

Thanks,
It’s all set properly.
The two pages I haven’t changed work perfectly, as did these two pages before I deleted them and recreated them.

Did you publish? Not sure that matters, but it’s worth trying?

If you continue to have problems, please post the URL of your site. Only authorized Wix personnel can get access to your site in the editor. Please include the name of the page involved.

Hi Yisrael,
As mentioned I saved, published, cleared cookies / cache. It’s very odd :frowning:

The page where the boxes are is : https://anatbelinson.wixsite.com/adiphysiotherapy

Thanks!

A little bit strange, but I disconnected the onClick() event handlers from the boxes, and the reconnected and it worked. Something sinister happened somewhere in the bowels of the system.

I did not save my changes to your site. Try this yourself and it should work.

I’ve done it before contacting you here, but now have done it again, and it doesn’t work/ Clicking on the box leads me to the top of the home page…

THe problem is only with the two boxes that were connected to pages I’ve deleted adn then recreated the pages again with the same URL.

The two pages (מי אני and הרצאות) are fine as those pages have not changed.

The overlapping is different for the boxes and that’s what’s causing the problem.

The overlapping for הרצאות:


The overlapping for ניפוץ מיתוסים:


The event handlers aren’t triggered because they’re not getting the click.

Thanks for taking the time to help!
Can’t believe this was the issue. Shame on me…