Results 1 to 7 of 7

remove url from site_map (block search engine bots to access url)

This is a discussion on remove url from site_map (block search engine bots to access url) within the General Discussion forums, part of the vBSEO SEO Plugin category; Is there a way to remove 2 urls from site_map or block 2 urls in robots.txt (or any other advice) ...

  1. #1
    Member
    Real Name
    Daky
    Join Date
    Oct 2007
    Posts
    36
    Liked
    0 times

    Question remove url from site_map (block search engine bots to access url)

    Is there a way to remove 2 urls from site_map or block 2 urls in robots.txt (or any other advice)

    From Webmaster tools:

    member.php?username='%5BNemanjA 503 error Apr 27, 2011

    member.php?username='Tobijas%22 503 error May 1, 2011

    Because of this i am getting errors from MySQL


    Invalid SQL: SELECT postid FROM forumpost WHERE username=''[NemanjA'; MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[NemanjA'' at line 3 Error Number : 1064 Request Date : Monday, May 9th 2011 @ 07:43:17 AM Error Date : Monday, May 9th 2011 @ 07:43:17 AM Script : URL Referrer : IP Address : 66.249.68.71 Username : '[NemanjA Classname : vB_Database MySQL Version :


    Invalid SQL: SELECT postid FROM forumpost WHERE username=''Tobijas"'; MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Tobijas"'' at line 3 Error Number : 1064 Request Date : Monday, May 9th 2011 @ 03:31:39 AM Error Date : Monday, May 9th 2011 @ 03:31:39 AM Script : URL Referrer : IP Address : 66.249.68.71 Username : 'Tobijas" Classname : vB_Database MySQL Version :


    Please advise

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    member.php urls should not be in the sitemap at all, as they should be something like members/name/ instead

    You can block member.php in robots.txt safely.

  3. #3
    Member
    Real Name
    Daky
    Join Date
    Oct 2007
    Posts
    36
    Liked
    0 times
    Hello Brian,

    Thank you for fast reply.

    My current robots.txt is :

    User-agent: Mediapartners-Google*
    Disallow: /login.php
    Disallow: /member.php
    Disallow: /memberlist.php
    Disallow: /newthread.php
    Disallow: /newreply.php
    Disallow: /printthread.php
    Disallow: /private.php
    Disallow: /profile.php
    Disallow: /register.php
    Disallow: /search.php
    Disallow: /sendmessage.php
    Disallow: /showpost.php
    Disallow: /external.php


    Friend of mine use this:
    User-agent: *
    Disallow: /admincp/
    Disallow: /clientscript/
    Disallow: /cpstyles/
    Disallow: /customavatars/
    Disallow: /customprofilepics/
    Disallow: /images/
    Disallow: /modcp/
    Disallow: /ajax.php
    Disallow: /attachment.php
    Disallow: /calendar.php
    Disallow: /cron.php
    Disallow: /editpost.php
    Disallow: /global.php
    Disallow: /image.php
    Disallow: /inlinemod.php
    Disallow: /joinrequests.php
    Disallow: /login.php
    Disallow: /member.php
    Disallow: /memberlist.php
    Disallow: /misc.php
    Disallow: /moderator.php
    Disallow: /newattachment.php
    Disallow: /newreply.php
    Disallow: /newthread.php
    Disallow: /online.php
    Disallow: /poll.php
    Disallow: /postings.php
    Disallow: /printthread.php
    Disallow: /private.php
    Disallow: /profile.php
    Disallow: /register.php
    Disallow: /report.php
    Disallow: /reputation.php
    Disallow: /search.php
    Disallow: /sendmessage.php
    Disallow: /showgroups.php
    Disallow: /subscription.php
    Disallow: /threadrate.php
    Disallow: /usercp.php
    Disallow: /usernote.php

    Should i use his version?

    After i change robots.txt, what should i do to fix this?
    Do i need to re-submit anything?

    Thanks,
    D

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2

  5. #5
    Member
    Real Name
    Daky
    Join Date
    Oct 2007
    Posts
    36
    Liked
    0 times
    Thanks Brian.

    So, after i fix my robots.txt i don't have to do anything else?
    Search Bots will stop accessing that url ?

    Regards

  6. #6
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    it won't be immediate, but yes, member.php should start to show up under 'restricted by robots.txt' instead of the current 404 area

  7. #7
    Member
    Real Name
    Daky
    Join Date
    Oct 2007
    Posts
    36
    Liked
    0 times
    Great !

    Thank you so much for helping me out.

    Best regards

Similar Threads

  1. Replies: 7
    Last Post: 04-10-2011, 08:25 PM
  2. vBulletin 3.x Search Engine Bots Activity Log down a whole lot after 3.0 upgrade
    By tavenger5 in forum Troubleshooting
    Replies: 15
    Last Post: 12-11-2010, 08:01 PM
  3. can i remove: Search Engine Friendly URLs by vBSEO 3.0.0
    By dansolomon in forum Pre-Sales Questions
    Replies: 5
    Last Post: 05-10-2007, 05:01 PM
  4. Search Engine Bots Acting as Users
    By Keith Cohen in forum General Discussion
    Replies: 2
    Last Post: 02-23-2006, 03:56 PM
  5. Search Engine Bots
    By Mike in forum General Discussion
    Replies: 1
    Last Post: 11-16-2005, 03:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •