Stop Google From Indexing WAP2 Version of Your Site

Discussion in 'robots.txt' started by iloveRP.com, Oct 22, 2008.

  1. #1
    We have an SMF site that has thousands of threads and posts. We found out that thousands of these pages were indexed by Google using the WAP2 version. The problem with WAP2 or WAP is that the forum site itself does not appear, but only the text of your site, and there is no exit link for your site visitors to go to the real page of your forum site. Well, if you're running some ads in your forum site, wap2 indexed pages would kill your revenue. To stop Google from indexing your site, use the following robots command. This only applies to those who are using SMF-powered forum sites.

    User-agent: Googlebot
    # Don't index mobile versions
    Disallow: /index.php?*;wap
    Disallow: /index.php?*;wap2
    Disallow: /index.php?*;imode
     
    iloveRP.com, Oct 22, 2008 IP