Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Google Indexing

  • 16-02-2010 11:19AM
    #1
    Registered Users, Registered Users 2 Posts: 338 ✭✭


    Hi,
    I'm developing a site at the moment and it has a number of user profiles with a calendar function for each user. Google is picking the site up recently and is indexing a page for every date for every month for every user. Each profile has a main page and that is the most important really, and I don't think these calendar pages really need to be indexed by google, and I definitely do not want them appearing in google above the main page.

    How would I fix this? Somehow disable indexing on the calendar pages perhaps?


Comments

  • Registered Users, Registered Users 2 Posts: 4,277 ✭✭✭km991148


    jimmybeige wrote: »
    Hi,
    I'm developing a site at the moment and it has a number of user profiles with a calendar function for each user. Google is picking the site up recently and is indexing a page for every date for every month for every user. Each profile has a main page and that is the most important really, and I don't think these calendar pages really need to be indexed by google, and I definitely do not want them appearing in google above the main page.

    How would I fix this? Somehow disable indexing on the calendar pages perhaps?

    yep - see here for example (first link on google for "stop google indexing"..)
    http://www.antezeta.com/blog/avoid-search-engine-indexing


  • Registered Users, Registered Users 2 Posts: 338 ✭✭jimmybeige


    The calendar uses a file called calendar.php. There are htaccess rewrites for all user profiles accessing this file at an address something like username/calendar.htm. It's just a simple rewrite to calendar.php.

    Would I just prevent the calendar.php file from being indexed in the robot.txt file? I wouldn't have to add a seperate disallow for every username1/calendar.htm, username2/calendar.htm etc?


  • Closed Accounts Posts: 22 paul.mcguinness


    Place robots.txt file on the root directory of the server & put this inside it:

    User-agent: *
    Disallow: /calendar.php

    (assuming calendar.php is on the root, if not amend the path accordingly)

    Google will actually penalize you for having links with no relevant content. querystring's etc should be used with care


Advertisement