Wednesday, September 5, 2012

Wordpress Database Not Working After Changing The Permalink From The Settings.

Hello Everyone,

Today I have come up with another, wordpress related issues, regarding the database and permalink. So, before i start i would like to infrom you that, this solution is tested in Godaddy Server, may other servers may have some different way to resolve it.

So, it started when i changed the permalink from the settings area, initially it was Default, i changed it to "/archives/%post_id%" and the problem started, i was unable to open the website in the browser anymore, it started showing me the 500 Internal Server Error.

I checked my database if, by changing the permalink manually from there would work, but was unsucessful.
Then, i opened the wordpress wp-config.php to check all the connectivity credentials and found all was correct.
While checking this in the FTP, I found there, an auto generated XML file named "web.config" with the content related to rewrite rules for wordpress.

Although the web.config file doesn't show any extension name, i opened it in Dreamweaver.
Then I removed it from the folder, deleting this file and setting the permalinks blank from the database solve my problem and my website started working.
Then again I checked in the FTP and found that there was no web.config file over there. But changing the permalinks is creating this and then the problem starts, I still didn't find a way to this problem, may be I have some redirect plugins installed in my wordpress may causing this. Will let you know, when I get a clue to this. Still then stay tuned. Will discuss more daily real time issues over there.

Hope it will help few of you!!!
Please share if you guys get some clues.

No comments:

Post a Comment