0

Wordpress automatically creates a directory using the current date yyyymmdd for posts and images. Whenever I scan the website with an SEO tool, the bots find each directory name and show them as an end point/page. Each of these endpoints are being redirected to my home page, but I'd rather have them not be seen at all. I obviously want the pages in the folders to continue to be indexed.

Where are the bots finding these directories? How can I turn off their being found by bots? (

2 Answers 2

1

You need to read-up on Permalinks in WordPress (note the capital P). Your .htaccess file is not properly setup and that's why its routing everything to the home page. To know more about this, I'd suggest you please go through this link on permalinks.

1

This ended up being created by my theme creating links similar to "Posted 2 April 2020, Written by" below each blog title in the main blog list page. The text "Posted 2 April 2020" had a hyperlink to each post's date directory.

I was able to find a setting to turn the date hyperlink in the theme's meta tags. Now the bots don't find any hyperlinks to these directories.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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