• Resolved benjaminniess

    (@benjaminniess)


    Hi,

    I’m using the latest version on your plugin and it seems that when I try to set a robots.txt behavior for a specific site of my network, I still see the default robots.txt that I configured on the network.

    I saw on the includes/class_public.php that the option loaded line 48 is the ms_robotstxt_manager_robotstxt option and in my database this option is the network one. I changed the get_option the use the ms_robotstxt_manager_append instead and it worked.

    Thanks for you help

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter benjaminniess

    (@benjaminniess)

    Hi,

    Did you manage to investigate on my issue?

    Thanks again.

    • This reply was modified 8 years, 5 months ago by benjaminniess.

    Experiencing the same problem … which makes the plugin pretty worthless right now. If I wanted an identical robots.txt file for all the sites on my network, I’d just stick one in the top-level directory. :-/

    (Benjamin, I tried your suggestion, but it does not seem to be working for me.)

    Really hope the plugin developer addresses this ASAP. This is a major problem that is going to have a severe impact on how our sites get indexed. Very displeased that a mistake of this enormity made it into the release.

    Thread Starter benjaminniess

    (@benjaminniess)

    Hi @jzahlaway,

    Without any response from the plugins author, I created a fork on github and fixed the issues : https://github.com/benjaminniess/multisite-robotstxt-manager

    You can download the fixed version here.

    Then, if you want to have a different version of the robots.txt file on each site, you need to set the main network setting to “{APPEND_WEBSITE_ROBOTSTXT}”. In each site, settings, you can then setup it as you want. I didn’t really understand why it works like that but I guessed it by reading the code.

    Message for the plugin’s author : You created an helper class but you were still using methods from the old class so I had to instantiate the helper class and call it from the admin class. I sent you a pull request on github.

    Plugin Author tribalNerd

    (@tribalnerd)

    I’ve updated the plugin and published the changes. Thanks Benjamin for the fix. ~Chris

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change not possible for a specific website’ is closed to new replies.