+2 votes
5 views

I have a situation where i have an page-about.php page on my site and i have a separate about page for mobile, page-about-mobile.php.

When i share a link to this page on social media, a user clicking on the link on his desktop must go to the desktop version page-about.php and if a user clicks on that link on mobile he must go to the page-about-mobile.php.

What are my options to do this? Is this possible?

I have seen a few posts about possibly being able to do it with .htaccess but i’m wondering what the best solution would be to this.

A normal page redirect i could do in .htaccess with the following:

Redirect 301 /oldpage.php http://www.yoursite.com/newpage.php

by (1.7k points)   | 5 views

Please log in or register to answer this question.

Related questions

+2 votes
0 answers
+3 votes
1 answer
asked Mar 30 by toheed (1.2k points) | 22 views
+1 vote
1 answer
0 votes
0 answers
+2 votes
0 answers
asked Jun 20 by athar (3.1k points) | 9 views
+2 votes
0 answers
+2 votes
0 answers
asked Jun 20 by athar (3.1k points) | 13 views
+3 votes
0 answers
+3 votes
1 answer
asked Jun 19 by athar (3.1k points) | 13 views




Welcome to Meansflow - Where Developers and Students Learn, Share, & Build Careers, where you can ask questions and receive answers from other members of the community.
113 questions
85 answers
38 comments
103 users