Change Permalink Settings on WordPress 404 Error

Today I wanted to change the default permalink settings in wordpress to the smarter custom structure “/%category%/%postname%”. Unfortunately after that i got a page error 404.

Luckily it is not difficult to fix that problem. You just need to change the permissions of the .htaccess file to (chmod) 666 in the home directory of your wordpress. Then apply the settings again and change back the permissions of the file to 644.

Unfortunately all the previous links from the search engine or other webpages will not work anymore. After doing some search on the net I found a useful plugin to prevent that it is called “Dean’s PermaLink Migration”. You just need to install it and set the old permalink settings to “/%post_id%/” if it was set to default in that plugin. Otherwise you need to change it accordingly.

No Comments »

admin on June 7th 2009 in Wordpress

MUST_CHANGE is ON

I tried to remove the check_policy and check_expiration from a user and got following error in MS SQL Server:

The CHECK_POLICY and CHECK_EXPIRATION options cannot be turned OFF when MUST_CHANGE is ON.

I forgot to remove the must change password flag when I created the user. A simple SQL query to change the users password solved the problem:

ALTER LOGIN %USERNAME% WITH PASSWORD='%PASSWORD%'
									

3 Comments »

admin on May 11th 2008 in IT, MSSQL




Check out new movies online website. Download and buy movies now.
1