Disallow m.slipperyonion.com

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kostly
    Confirmed User
    • Oct 2011
    • 474

    #1

    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?
    Slippery Onion - Upload Images for Free Backlinks
    Our Kinky Life - Our Adult Sites
  • Paz
    Confirmed User
    • Jun 2012
    • 457

    #2
    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.

    Comment

    • Kostly
      Confirmed User
      • Oct 2011
      • 474

      #3
      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.
      Last edited by Kostly; 03-25-2013, 07:32 AM.
      Slippery Onion - Upload Images for Free Backlinks
      Our Kinky Life - Our Adult Sites

      Comment

      • Tent Pitcher
        Confirmed User
        • Nov 2012
        • 213

        #4
        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

        Comment

        • PeR930
          Confirmed User
          • Dec 2012
          • 283

          #5
          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.

          Comment

          • Kostly
            Confirmed User
            • Oct 2011
            • 474

            #6
            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.
            Slippery Onion - Upload Images for Free Backlinks
            Our Kinky Life - Our Adult Sites

            Comment

            • PeR930
              Confirmed User
              • Dec 2012
              • 283

              #7
              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.

              Comment

              • PeR930
                Confirmed User
                • Dec 2012
                • 283

                #8
                Or put meta robots noindex on all your m.slipperyonion pages, but canonical is better.

                Comment

                Working...