• Resolved jgoldberg2013

    (@jgoldberg2013)


    Frustrated and hoping for a fresh look at this.
    I have followed the instructions to the T from the codex ebook.
    All is fine until I replace the code given into my .htaccess file.
    If I remove the file then I can log in butwith the file there I get a 500 server error. I have spend a few hours now reading blocgs and tips and they all seem to point to different issues.
    I am on an Apache Linux server with 1and1 which seems to be problomatic with this type of mod-rewrite – what I have read a number of times but tried all those tips and still no luck. I must have rewritten this file about 25 times now.
    Not sure if this makes a difference but the wordpress install is located like this. ftp://u38022651@help-alliance.de/en I think this may the error but am not sure.

    This is current code in .htaccess file.

    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).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L][L]

    Please some one help. Thanks.

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

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Ask your webhost if you’re permitted to use Multisite.

    Thread Starter jgoldberg2013

    (@jgoldberg2013)

    Yes it does allow multi sites but only on sub-directory- which is what I have done.
    I have spent the past 5 hours reading and trying to sort this out but I am not that experienced in the .htaccess editing side.
    Sadly – there are no error logs on apache server with 1and1 so no help there.
    I hve added the following after seeing a few people doing it as a fix but no luck on my side. Not sure if this is for here but still
    no luck. Again if I delete the ..htaccess file then I get login screen. HELP…

    Options FollowSymLinks
    AllowOverride All
    
    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php
    Options -MultiViews

    Thread Starter jgoldberg2013

    (@jgoldberg2013)

    I got fed upo with editing this file that I basically decided to activate network on actual site and not start from fresh.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘update .htaccess file and 500 error occurs’ is closed to new replies.