Download & Extend

Allow crawling of /contact/ by search engines, don't disallow it in robots.txt

Project:Drupal core
Version:6.x-dev
Component:other
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:robots.txt

Issue Summary

similar topic: http://drupal.org/node/494462#new

no reason to block it. it should visitable on search engine and let users can find us.

#52 teezee

I mean, the contact module is core, but on most sites something like a contact section (contact press department, contact webmasters) with important address information will not be indexed if u would have aliases like /contact/press or /contact/webmaster.

Is it really up to Drupal core to enforce /contact/ as a disallowed path just because core contains a module that uses /contact ?

Comments

#1

Subscribe, thanks @droplet for posting :)

#2

not to mention the people who use google as the address bar or if the contact link isnt that visible and they search for "site:example.com contact"..

#3

Status:active» needs review

Here is a quick patch. Contact page must be crawled by search engine, it's definitly one of the most important page to be referenced for most of the sites I do.

AttachmentSizeStatusTest resultOperations
905576-3-remove-contact-from-robots.patch512 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 27,398 pass(es).View details

#4

Status:needs review» reviewed & tested by the community

#5

Version:7.x-dev» 6.x-dev
Status:reviewed & tested by the community» patch (to be ported)

Weird. I've no idea why that would be blocked.

Committed to HEAD. Marking down to 6.x.

#6

Status:patch (to be ported)» needs review

Easy peasy.

AttachmentSizeStatusTest resultOperations
905576-6-remove-contact-from-robots.patch683 bytesIdleFAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 905576-6-remove-contact-from-robots.patch.View details

#7

Status:needs review» reviewed & tested by the community

just started up my box to patch it and you did.. haha
patch works

#8

Status:reviewed & tested by the community» needs work

The last submitted patch, 905576-6-remove-contact-from-robots.patch, failed testing.

#9

Maybe this one will pass.

AttachmentSizeStatusTest resultOperations
905576-9-remove-contact-from-robots.patch497 bytesIdleFAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 905576-9-remove-contact-from-robots.patch.View details

#10

Status:needs work» needs review

#11

Status:needs review» needs work

The last submitted patch, 905576-9-remove-contact-from-robots.patch, failed testing.

#12

Status:needs work» needs review

try this

AttachmentSizeStatusTest resultOperations
contact.patch497 bytesIdleFAILED: [[SimpleTest]]: [MySQL] Unable to apply patch contact_32.patch.View details

#13

Status:needs review» needs work

The last submitted patch, contact.patch, failed testing.

#14

ok. "testbot work ONLY with D7 patches"

http://drupal.org/node/894166

#15

Status:needs work» reviewed & tested by the community

Oh, duh. Back to RTBC per #7.

AttachmentSizeStatusTest resultOperations
905576-15-remove-contact-from-robots-D6.patch683 bytesIgnored: Check issue status.NoneNone

#16

Status:reviewed & tested by the community» needs review

Ok, I forgot that the tests only work for d7 ( http://drupal.org/node/894166#comment-3693940 ). So here is the same patch as #9, only filename is changed to prevent the patch from beeing incorrectly tested.

AttachmentSizeStatusTest resultOperations
905576-14-remove-contact-from-robots-D6.patch497 bytesIgnored: Check issue status.NoneNone

#17

Status:needs review» reviewed & tested by the community

cross-post

#18

subscribing

#19

Status:reviewed & tested by the community» fixed

Thanks, committed and pushed.

#20

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here