How can I achieve this in HTACCESS. What I want is that if a user is using a Smartphone device and access the link http://luxury.localhost/others/mypage.html
he will be redirected to http://luxury.localhost/sp/entry
but if he is just using a PC he will be redirected to http://luxury.localhost/entry
page.
Code:
# the logic is something like this
# If using smartphone
RedirectMatch /others/mypage.html /sp/entry/
# else if using PC
RedirectMatch /others/mypage.html /entry/
Please help me.
Thanks