• Resolved jchristfjell

    (@jchristfjell)


    Hi!
    I’m trying to get this page up and run: https://www.solor.krik.no. Have tried several different htaccess-codes, but none will work. The one I tried now I at least got an server error, not just a document downloading the index-info. Annoying as hell!

    The htaccess-code I tried last, what’s wrong here?:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello jchristfjell,

    That is the code that I use in my .htaccess files as well. The first thing I would try is to make sure that there are not any blank lines before or after that block of code in your .htaccess file. Once you have verified that, please post any changes when trying to access the website.

    Also, is this a brand new installation of WordPress?

    Thread Starter jchristfjell

    (@jchristfjell)

    Thanks. But the administrator of the top level domain had forgot to activate php on our subdomain. That was the problem.

    Glad you got it fixed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Server error, confused about htaccess-code’ is closed to new replies.