I have just created sub folder called "blog", so access link is example.com/blog.

I have installed WordPress in blog folder, configure database and all but when access above link then I am getting error called

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.

I am using godaddy server ,Also I have checked for .htaccess file but there is not .htaccess file created for main domain. Should I need to create separate .htaccess for sub folder "blog" to solve this error?

If yes then what code I need to put in .htaccess for sub folder internal server error remove.

1 Answer 1


you need to create .htaccess file. Create .htaccess file and paste below code in it

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

# END WordPress
  • May I need to add : Options +FollowSymLinks at top? in .htaccess? Commented Dec 29, 2014 at 12:20
  • no need to add anything
    – Yatendra
    Commented Dec 29, 2014 at 12:32
  • Okay..Let me add. Commented Dec 29, 2014 at 12:32
  • Blog is working but all post redirects to not found page. Commented Dec 29, 2014 at 12:37
  • have you upload already created database ?
    – Yatendra
    Commented Dec 29, 2014 at 12:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.