• Resolved gnfb

    (@gnfb)


    so I have created blogs.newzealandspectator.com
    I want to end up with.
    blogs.newzealandspectator.com/joebloggs
    blogs.newzealandspectator.com/fredtime
    blogs.newzealandspectator.com/paulbarry
    etc
    just like the http://blogs.reuters.com/us/

    i have setup mu before but i seem to be having issues

    i have installedd wordpress in a folder /blogs
    but when i create a site it allows it but
    well see for yourself
    http://blogs.newzealandspectator.com/gnfosterbrown/

    next step

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

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    .htaccess done gone wrong 🙂

    Make sure yours is correct for a subdirectory instance of WP Multisite.

    Thread Starter gnfb

    (@gnfb)

    this is the .htaccess file in the /blogs folder

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) blogs/$2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ blogs/$2 [L]
    RewriteRule . index.php [L]

    Thread Starter gnfb

    (@gnfb)

    changed to this example

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    Thread Starter gnfb

    (@gnfb)

    and now it all works !! Fantatstic now back to the real work rather than this messy programming stuff yuck! I suppose it would help if my degree was in Computer science rather than photography and business LOL

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I studied anthropology and creative writing 😉 We come from all weird places.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Point in the right direction’ is closed to new replies.