The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. White Hat / Black Hat SEO
    4. Server Side Java Script Redirects

    Server Side Java Script Redirects

    White Hat / Black Hat SEO
    2 2 892
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • zachc_coffeeforless.com
      zachc_coffeeforless.com last edited by

      I would like to use a redirect through a server based Java script to redirect visitors only referenced from a certain site. So let's say anyone clicking on a link to my site page-A from seomoz.org would automatically be redirected to page-B. All other users as well as direct and search engine traffic  would only see the regular page A. The reason I am doing this is because the linking site is linking to page A which doesn't serve the user the correct content. Rather than contacting the webmaster to change the link to point to page -B, I want to redirect them. Is there any danger of Google penalizing this for cloaking? and how would they be able to tell?

      1 Reply Last reply Reply Quote 0
      • StalkerB
        StalkerB last edited by

        Ideally, if you do have any contact with the webmaster you'd be better off asking them to change it. If you don't, starting to network with people already willing to link to you is a great way to get more links anyway.

        If you really don't want to try and speak with them (and again, you really should) then I have done something similar with affiliates; when they send a visitor I send them to a co-branded page based on the referral header, and haven't seen anything bad happen.

        Although Google is getting better at reading javascript it still doesn't seem to follow links run in real time. As you're not intending to deceive the bot your use of it is fairly legit, but I couldn't tell you how it'd be interpreted once the datacentres have a look at it.

        Here's the guidelines - http://www.google.com/support/webmasters/bin/answer.py?answer=66355 - up to you if you think you're breaking them 🙂

        1 Reply Last reply Reply Quote -1
        • 1 / 1
        • First post
          Last post
        • Magento Temporary Redirects?
          UmarKhan
          UmarKhan
          1
          2
          339

        • Server down - What will happen to the SERP?
          customerparadigm.com
          customerparadigm.com
          0
          3
          506

        • 302 redirects - redirecting numerous domains into main primary domain
          Carson-Ward
          Carson-Ward
          0
          7
          505

        • URL Redirects from Google?
          EdLeo
          EdLeo
          0
          3
          338

        • 301 Redirect ASP code
          TwoPints
          TwoPints
          0
          3
          636

        • We changed servers
          EricaMcGillivray
          EricaMcGillivray
          0
          2
          424

        • Use of 301 redirects
          AlanMosley
          AlanMosley
          0
          3
          446

        • 301 Redirect?
          john4math
          john4math
          0
          3
          550

        Get started with Moz Pro!

        Unlock the power of advanced SEO tools and data-driven insights.

        Start my free trial
        Products
        • Moz Pro
        • Moz Local
        • Moz API
        • Moz Data
        • STAT
        • Product Updates
        Moz Solutions
        • SMB Solutions
        • Agency Solutions
        • Enterprise Solutions
        • Digital Marketers
        Free SEO Tools
        • Domain Authority Checker
        • Link Explorer
        • Keyword Explorer
        • Competitive Research
        • Brand Authority Checker
        • Local Citation Checker
        • MozBar Extension
        • MozCast
        Resources
        • Blog
        • SEO Learning Center
        • Help Hub
        • Beginner's Guide to SEO
        • How-to Guides
        • Moz Academy
        • API Docs
        About Moz
        • About
        • Team
        • Careers
        • Contact
        Why Moz
        • Case Studies
        • Testimonials
        Get Involved
        • Become an Affiliate
        • MozCon
        • Webinars
        • Practical Marketer Series
        • MozPod
        Connect with us

        Contact the Help team

        Join our newsletter
        Moz logo
        © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
        • Accessibility
        • Terms of Use
        • Privacy