0

Some how google indexed a directory inside one of the plugins I use. I cannot figure out how to set a 301 redirect from the indexed path to the home page. has anyone else seen or dealt with this?

here is what google indexed. I have replace all personal information with generic.

http://www.domainname.com/wp-own-dir/wp-content/plugins/plugin-name-here/directory-in-plugin/

2

give an noindex in your robots.txt - Disallow: /wp-content/plugins/ and dont access the wp-content/plugins folder; also you can add an 301 redirect in your WP install via Plugin or with an extra in the htaccess

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.