It is usually but possible that mod_rewrite is not enable at your server. Most of the times programmers upload htaccess on a server and when try to check it. It seems like that the htaccess isn't working or server isn't reading anything from the htaccess file.
If you have the access of apache server files, you can verify by checking the mod_rewrite module is enable in httpd.conf.
Make sure another setting in httpd.conf which is AllowOverride None . In this case you will change it to AllowOverride All.
Now we will focus on the server errors due to htaccess.
- 500 Internal Error: This can occur if you don't write the htaccess properly. Always write htaccess using Notepad, because wordpad and some other text editors can same the file with different encoding pattern. There can be another issue which is the operating system, keep it in your mind that IIS has different htaccess writing commands.
- 403 Forbidden Error: In some cases Google doesn't crawl the site properly that will create load on the server, due to the reason some host stop the crawling of google and you may see 403 Forbidden Error during the loading of website or in error logs. To solve this issue you can modify your htaccess by adding the following files.
order deny,allow
deny from 66.249

No comments:
Post a Comment