Views block exposed filters get indexed?

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by halisemre on May 10, 2009 at 4:39am

Hello recently I am hectic about my drupal sites seo.

Recently I have created a block in my site with exposed filters and I noticed that googlebot is trying all the filters and sometimes giving me...

"Message Illegal choice in field_age_value_many_to_one element"

should i block the spider crawl those filters?

Thanks

Categories:

Comments

The handbook page Search

Posted by smk-ka on May 10, 2009 at 2:22pm

The handbook page Search engine optimization (SEO) for Views contains information on how to prevent this, basically the answer is: yes.

Stefan Kudwien
unleashed mind

-Stefan

Thanks for your fast reply I

Posted by halisemre on May 10, 2009 at 8:35pm

Thanks for your fast reply I have already read that page but as I stated in the thread

I have a question?
If i use
Disallow: /?
Allow: /
?page=
Disallow: /?page=&*

http://www.mysite.com/?page=1 is ok
http://www.mysite.com/?page=2 is ok

but what about

http://www.mysite.com/?page=0
it is the same as http://www.mysite.com/ so it is kind of you are duplicating the frontpage.

Is there a way to eliminate this problem?

In the mean time this discussion seams to be private. I am new to this groups and how can i make this public so everyone can benefit

Block "page=0" like

Posted by Z2222 on May 10, 2009 at 10:39pm

Block "page=0" like this:

Disallow: /*page=0$

There is a more simple way to write the rules in that SEO for Views handbook page. Here' is what the handbook page says:

# Disallow all URL variables except for page
Disallow: /*?
Allow: /*?page=
Disallow: /*?page=*&*

[EDIT: removed mistake...]

You could rewrite it as:

Disallow: /*&

That would block all URLs with more than one parameter.

--
My Drupal Tutorials

First Page

Posted by mikeytown2 on May 11, 2009 at 7:06pm

Does Disallow: /*& work on the first page, since the page variable isn't in the url?

Posted by Z2222 on March 25, 2022 at 1:07am

yes it works on the first

Posted by halisemre on May 11, 2009 at 7:57pm

yes it works on the first page.

There is a great tool to test it.

In Google WebMaster Tools page there is "Tools" link click on it then choose "Analyze robots.txt" in there you can find your latest downloaded robots.txt you can find for your site.

If you want to try some new disallow combinations just enter there and in the box below enter the urls to test if it is blocked or not.

in the mean time do you guys

Posted by halisemre on May 11, 2009 at 8:39pm

in the mean time do you guys think Disallow: /frontpage is a good idea

Do you guys think this is a okey robots.txt I have attached a image because for some reason "*" character strips out upon submission

/frontpage

Posted by Z2222 on May 12, 2009 at 1:04am

You don't need /frontpage if you have the Global Redirect Module installed. Global Redirect will automatically redirect it in a search engine friendly way.

--
My Drupal Tutorials

well for some reason the

Posted by halisemre on May 12, 2009 at 1:49am

well for some reason the robots also indexing the http://www.example.com/frontpage?field_
?field_ is from the views exposed filter search query so I have included disallow: /frontpage*

Posted by Z2222 on March 25, 2022 at 1:07am

J. Cohen I really appreciate

Posted by halisemre on May 12, 2009 at 9:47pm

J. Cohen I really appreciate your feedback.

Search Engine Optimization (SEO)

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /