![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Mar 2008
Location: France
Posts: 308
|
Mobile page for old non-responsive sites
Hi guys,
As many of you, I've got a lot of old TGPs which have not been built for mobile traffic. So for years I've sold mobile traffic to plugrush. But now I've got a lot of responsive blogs on other domains. So what's the correct way to drive mobile traffic to my responsive blogs from my TGPs without getting hurt by Google. I was thinking creating a simple mobile page that links to all my mobile sites. Is it a correct way to do it? And what's the correct htaccess way to drive mobile traffic on a domain to a specific page? Thanks for your help. Fred
__________________
Stop doing what you like and start doing what brings you money! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 | |
Registered User
Industry Role:
Join Date: Mar 2017
Location: Ohio
Posts: 50
|
This code in your .htaccess will redirect based on the MIME types the user's browser supports.
Code:
RewriteEngine On # Mobile check RewriteCond %{HTTP_ACCEPT} "text\/vnd\.wap\.wml|application\/vnd\.wap\.xhtml\+xml" [NC] RewriteCond %{REQUEST_URI} ^/$ RewriteRule ^ your domain full url%{REQUEST_URI} [R,L] Quote:
Code:
redirect 301 oldpageurl (eg - /directory/file.html/php/whatever) httpfullurlofnewpage |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Mar 2008
Location: France
Posts: 308
|
Thanks Alastik ;)
__________________
Stop doing what you like and start doing what brings you money! |
![]() |
![]() ![]() ![]() ![]() ![]() |