wordpress - Page search feature results in duplicate page for SEO -


i'm using wordpress theme titled enfold features 'search' functionality. functionality results in 2 url's every page (according search engine spider). first actual page , second link drives search feature.

e.g.

http://www.bhutantravelbureau.com/about-bhutan/

&

http://www.bhutantravelbureau.com/about-bhutan/?s=

to search engine appear 2 pages same content , has negative impact on search engine rankings.

i've attempted fix using yoast seo identify pages not found in search results, , added

user-agent: * disallow: /?s= 

to robots.txt file.

unfortunately has not fixed issue. other disabling search feature, have ideas how can fix this?

you can't handle on robots.txt because search engines ignore empty query strings.

you have problem site, have every time double content, alone because domain dont handle www. , non-www subdomain. use 301-redirects , opt 1 domain (either www.domain.com or domain.com).


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -