WordPress.org

Ready to get started?Download WordPress

Forums

SEO Ultimate
[resolved] Multisite: different .htaccess & robots.txt for every blog? (3 posts)

  1. B_Dark
    Member
    Posted 1 year ago #

    hello,

    i have setup a multisite how can i make every blog/site that i create, can use different .htaccess & robots.txt ?

    http://wordpress.org/extend/plugins/seo-ultimate/

  2. Jeffrey L. Smith
    Member
    Plugin Author

    Posted 1 year ago #

    Hi B-Dark:

    What you propose in itself is problematic and the cons may out way the pros and is outside the scope of the plugins features.

    I suggest using http://www.managewp.com to implement that type of functionality from one dashboard including updates, plugins, backups, posting, etc...

  3. B_Dark
    Member
    Posted 1 year ago #

    Hello SEO Design Solutions

    you have absolutely right, my problems this..

    #Redirect wp
    <IfModule mod_alias.c>
    RedirectMatch 301 ^/tag/$      http://site3.com/
    RedirectMatch 301 ^/search/$   http://site3.com/
    RedirectMatch 301 ^/category/$ http://site3.com/
    </IfModule>

    or somthing like this

    #Robots
    <IfModule mod_rewrite.c>
    RewriteBase /
    RewriteCond %{REQUEST_URI} !^/robots.txt$ [NC]
    RewriteCond %{REQUEST_URI} robots\.txt [NC]
    RewriteRule .* http://site3.com/robots.txt [R=301,L]
    </IfModule>

    What do I have to write on .htaccess so every site of the multisite will use them for this site? Right now everything are coming back in the site site3.com. How can I make these commands work independently for every site?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.