![]() |
![]() |
![]() |
||||
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. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Oct 2011
Posts: 474
|
Disallow m.slipperyonion.com
How do I tell google that m.slipperyonion.com is identicle to slipperyonion.com and to revert back to slipperyonion.com when a link lists m.slipperyonion.com?
__________________
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Jun 2012
Posts: 457
|
Hi,
You can't do both and still have the two site indexed. I think your best bet would be to follow advice for webmasters and use hidden meta tags as follows; On the www site have tags such as; <link rel="alternate" media="only screen and (max-width: 640px)" href="http://m.example.com/page-1" > and on the mobile page, have an equivalent tag on the equivalent page: <link rel="canonical" href="http://www.example.com/page-1" > Or you can send similar signals with sitemaps (click here) If you want to leverage the link weight pointing from the m site to the www as well, then I think the best way would be to just link though from the mobile site. Cheers, Paz. |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Oct 2011
Posts: 474
|
Thanks, what I ultimately want is a way to have juicyads mobile .htaccess code redirect only once every few days based on a cookie (set in .htaccess). Essentially
If MobileCookie Exists then do nothing else Set MobileCookie = 72 hours and if mobile redirect. It hasn't been easy and I have tried paying someone to do it with little to no luck.
__________________
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Nov 2012
Location: New Orleans
Posts: 213
|
If I understand correctly, you need to redirect any inbound traffic directed at your mobile site to your actual site. I would add something silimar to your .htaccess:
RewriteCond %{SERVER_NAME} ^m\.slipperyonion\.com$ RewriteRule .? http://www.slipperyonion.com [L,R=301] Hit me up or reply here if you need a more detailed explanation.
__________________
Tent Pitcher - Adult Search Engine |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Dec 2012
Posts: 283
|
I don't think you understand correctly tent pitcher.
Kosty just use the canonical tag on your mobile pages to point to the same page on the main site. |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Oct 2011
Posts: 474
|
Ill get an infinate loop. Currently I have a redirect that is going to m.slipperyonion.com if they are mobile. What I want is to have one site, slipperyonion.com and no mobile site but still redirect people via htaccess.
__________________
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Dec 2012
Posts: 283
|
Its not an infinite loop unless you also use canonical from main site to mobile, so dont do that way. The canonical is only for search engines. Your htaccess is only for users.
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Dec 2012
Posts: 283
|
Or put meta robots noindex on all your m.slipperyonion pages, but canonical is better.
|
![]() |
![]() ![]() ![]() ![]() |