![]() |
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?
|
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. |
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. |
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. |
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. |
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.
|
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.
|
Or put meta robots noindex on all your m.slipperyonion pages, but canonical is better.
|
All times are GMT -7. The time now is 06:31 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc