rashigupta
Registered Member
- Nov 16, 2018
- 79
- 4
I want to block my website to visitor ,let them force to install app in adroid or windows and only then they can see website
is it possible?
is it possible?
its vice versa u r telling, and how to check they installed app or notRedirect Android Users to play.google.com/yourapplink
That's it![]()
but after installing app they should able to see websiteYes it's possible
Mobile redirect script
When visitor hits your page, the script will look at their browser user-agent, or similar footprint such as screen resolution.
If it matches that of a mobile client,
it will redirect to specific page
That specific page in your case can be a landing page of your own creation
Or straight to the Google Play Store URL of your app.
See http://mobiledetect.net/ or https://css-tricks.com/snippets/javascript/redirect-mobile-devices/
Why they should use website after installing app.They can browse the website through appits vice versa u r telling, and how to check they installed app or not
clone the page of your site but without the mobile redirect script. make visitors from the app go to that new page.but after installing app they should able to see website
its dynamic site,wordpressclone the page of your site but without the mobile redirect script. make visitors from the app go to that new page.
or add a footprint so if a visitor comes from inside app, it bypasses the redirect script.
it's not good practice to do it like this. app should not be a clone of the website identical to a web browser experience.
dont want to promote,want to force users to install appi would go with this plugin https://wordpress.org/plugins/smart-app-banners/
search terms like 'mobile app' on the wp plugin repository...lots of interesting solutions.