Redirecting pages and menu

Hi,

I found this article about redirecting visitors to a mobile-friendly version of the site.

It is great and I am using it as well to redirect to a wide-screen version.

The problem is that Wix only allows to have one menu. So how can I create specific menus and anchors to keep the navigation inside these redirected pages ?

Thank you in advance for your help,

Matthieu

Hello there!
I looked at the article. I just think you need to make a copy of your home page, then copy the code into the original home page. You should also change the url in the code to "copy of Home page url ".
(Code that goes in the original home page)

 import wixLocation from'wix-location'; import wixWindow from'wix-window'; $w.onReady(function () {  setTimeout(function () { if(wixWindow.formFactor === "Mobile"){      wixLocation.to('http://www.myMobileHome.com/copy-of-home-page');            }  }, 7500); });
 
 //You can make the "copy of home page " page hidden from search engines. 

~Hope this helps!~
Arthur😀