Today I have transferred one of miy blog from another server. After successful transferred, I visited home page. It came nicely. But a problem occurred when I tried to login into admin page. It showed me “You don’t have permission to access /wp-admin on this server.”
I wondered coz there were no mistake to transfer process. Anyways I deleted all of my uploaded files and then uploaded all files again. But nothing comes. Only Internet bandwidth and time wasted. Then I searched internet and found a solution. Here I share experience how to solve you don’t have permission to access / wp-admin on this server.
I have no .htaccess file in my wp-admin/ directory. To create .htaccess file, first create a text file on desktop. Then I put the following inside it.
<IfModule mod_security.c> SecFilterInheritance Off </IfModule>
Now save the file with any name.
Then I have Uploaded the file to my wp-admin directory.
After finish uploading just rename the uploaded file to .htaccess.
Thast all.
If you ahve an .htaccess in your wp-admin/ directory:
Just Edit it, and add the following:
<IfModule mod_security.c> SecFilterInheritance Off </IfModule>
save the new .htaccess file.
Now you can access on your admin panel.
The post How to solve you don’t have permission to access / wp-admin on this server appeared first on Cool! Blogging.