Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    1) Don’t block wp-content in robots (if you MUST then block wp-content/plugins and so on, but not blogs.dir)

    2) By default, WP should already be redirecting you to /files/ and not blogs.dir. If it’s not, what’s in your .htaccess?

    Thread Starter Jarod Thornton

    (@jarmerson)

    Thank you for the prompt reply.

    I thought I might need to declare sub-directories for wp-content rather than that directory itself.

    If I access the URL for the image directly it does not redirect.

    My HTACCESS includes

    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    Our HTACCESS is quite large but includes the correct MU rules I believe.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Yeah that’s the right rule.

    Are only some sites using the blogs.dir or are all?

    Thread Starter Jarod Thornton

    (@jarmerson)

    We have ~130 sites and they are all using the same.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    All 130 sites are using blogs.dir and NOT /files/…

    Okay something got set up wrong initially, but I honestly would NOT try to change that at this point. I’d change the robots rules.

    Thread Starter Jarod Thornton

    (@jarmerson)

    I was able to include specific file extensions in the root /wp-content as well as sub directories i.e. /cache /plugins etc.

    Thank you for your assist.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Help with robots.txt and media SEO issue.’ is closed to new replies.