Help with robots.txt and media SEO issue.
-
We have a sitemap setup for our sites the problem I face is overwriting in HTACCESS so the domain.com/wp-content/blogs.dir/id/files/… when accessed via public redirects to domain.com/files/…
Our robots.txt blocks access to /wp-content so when our pages are crawled it shows those elements as blocked.
Here’s an example that Google sees in our sitemap content via post/page
https://asphaltanimals.com/wp-content/blogs.dir/40/files/2010/09/100_0416.jpg
I hope to have a rewrite setup so it shows instead and is not blocked by our robots.txt
https://asphaltanimals.com/files/2010/09/100_0416.jpg
I’ve searched for an hour or two and cannot find a straightforward answer related to this specifically.
Thanks in advance
- The topic ‘Help with robots.txt and media SEO issue.’ is closed to new replies.