restrict website using app possible?

rashigupta

Registered Member
Joined
Nov 16, 2018
Messages
79
Reaction score
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?
 
Redirect Android Users to play.google.com/yourapplink
That's it ;)
 
Yes 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/
 
Yes 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/
but after installing app they should able to see website
 
but after installing app they should able to see website
clone 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.
 
clone 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.
its dynamic site,wordpress
 
i 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.
dont want to promote,want to force users to install app
 
Back
Top