WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] .htaccess file issues (4 posts)

  1. jennym91
    Member
    Posted 8 months ago #

    [Moderator Note: Topic title amended. Your problem is no more urgent than anyone else's.]

    Hi. I am the webdesigner of http://gurumagazine.nl/. After uploading the plugin W3 Total Cache I got an internal message error. I contacted the hosting provider, one.com and they said that it was some issues with the .htaccess file, but that they could not help me because I had a MU site.

    The original MU .htaccess file did not work from the beginning, so I used one I found on the internett. So after talking to one.com I uploaded the .htacces file that usually works. However now only the subdomain (http://members.gurumagazine.nl/) works and not the main site.

    Here is my .htaccess:
    RewriteEngine On
    RewriteBase /customers/1/1/1/gurumagazine.nl//httpd.www/
    RewriteRule ^index\.php$ - [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

  2. Joel Williams
    Member
    Posted 8 months ago #

    Hi,

    There are some examples here of generic .htaccess files for multisite:

    http://codex.wordpress.org/Multisite_Network_Administration#.htaccess_and_Mod_Rewrite

    You'll need to look at the sub-domain example, it's a guess but it looks like your RewriteBase is incorrect.

    Always make a copy/backup of your original htaccess before making any changes just in case you need it in future.

  3. jennym91
    Member
    Posted 8 months ago #

    Thanks for answering. The problem is fixed. Don't really know how but updated to wordpress 3.7.1.

  4. Joel Williams
    Member
    Posted 8 months ago #

    Great!

Reply

You must log in to post.

About this Topic

Tags

No tags yet.