500 Internal Error when uploading any picture inside the post (5 posts)

  1. rajeshbadhan
    Posted 5 years ago #

    I m unable to edit my .Htaccess file, which is located in my /log folder.

    I supposed to post this code there.

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

    # END WordPress

    I have reached to my hosting provider to grant me permission to edit the .Htaccess file but.it looks like they can't change the permissions at this time.

    can we put the .htaccess file in some other folder except the root/log folder and re-direct the link to it.

    Help is highly appreciated

  2. Alok Tiwari
    Posted 5 years ago #

    Set it to 644
    .htaccess could be placed to other folders [Depends upon your needs]
    I don't think You should consider linking { soft / hard }
    This will impact your site speed.

  3. rajeshbadhan
    Posted 5 years ago #

    Hi Alok,

    Currently that .htaccess file in my log folder root/log. I don't have permission to read. write and move.

    I want to more or recreate that .htaccess file in root/ folder.

    How will my make understand my wordpress site to user .htaccess file available in root/ folder and ignore the one placed in root/log folder.

    Thanks & Regards,

  4. Alok Tiwari
    Posted 5 years ago #

    Create a new file at root folder,
    Name this .htaccess
    place the above written text.
    Save and check permissions are 644.

  5. rajeshbadhan
    Posted 5 years ago #

    Hey Alok,

    You Know what, Its working. Many Thanks.

    Keep in touch!!

    Thanks & Regards,

    Rajesh Badhan

Topic Closed

This topic has been closed to new replies.

About this Topic