• Hi guys,

    I uploaded my site from a local host but it didnt gave a .htaccess file with it.
    The site is running but i have 2 issues:

    – When i want to install a plugin it says it has no acces to the upload folder
    – When i change the permalinks it gives a error that the page not exist.

    So i tried to create a .htaccess file in a teksteditor and this code to it:

    # BEGIN WordPress

    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>

    But now it gives this error code:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Please help me with this issue i cant figure it out for hours now!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Try starting with the basic WordPress rules:

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

    The work from there.

    Thread Starter sportfeed

    (@sportfeed)

    Now it works now!

    But now i have the problem i cant upload any images or plugins i get the errorcode the uploaded fil cant be moved to uploads folder

    Great! The .htaccess file is very sensitive, so always check after you make any changes to it, and keep a working backup.

    Of the media and plugins uploads issue, that sounds like a permissions problem. Check through your File Manager or FTP that the /wp-content/uploads/ and /wp-content/plugins/ directories have their permission set to 777 for the directories themselves and their sub-files and folders.

    Thread Starter sportfeed

    (@sportfeed)

    I setted al the permisions to 777 and it dont work :S

    OK. Then I would set them to the safer 755

    Are you sure that your hosting account is not full to your maximum capacity?

    Try disabling *all* your plugins *and* activate the WordPress Twenty-Fifteen theme. This will rule out any issue that is connected to your plugins and/or theme.

    Thread Starter sportfeed

    (@sportfeed)

    Its the only site on the server and its not a big one.

    Tried the last thing to and no result i think its a server issue at Strato.

    Contacting Strato would be a sensible next step.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Htacces problem’ is closed to new replies.