WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Point in the right direction (6 posts)

  1. gnfb
    Member
    Posted 1 year ago #

    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

  2. .htaccess done gone wrong :)

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

  3. gnfb
    Member
    Posted 1 year ago #

    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]

  4. gnfb
    Member
    Posted 1 year ago #

    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]

  5. gnfb
    Member
    Posted 1 year ago #

    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

  6. I studied anthropology and creative writing ;) We come from all weird places.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.