As this error first appeared after doing something to permalinks,
you could try to log in via FTP and delete the .htaccess file in your webspace.
Tell us if it works after that!
Thanks
Anja
Hi Anja,
Thanks for your reply.
How do I log in via FTP?
I am quite new to website building……..
My hosting is with go daddy, so am I trying to log in via there?
Everytime I try to access admin on my domain it comes up with error.
Thanks
Sam
With Go Daddy I assume you are using a cPanel?
Well, try updating your Permalinks once by going Settings > Permalinks. This will regenerate your blog’s .htaccess file.
However, there isn’t any specific method to resolve this error. Because it doesn’t tell us anything about the error.
Muhammad Haroon
OR
Create a new file “php.ini” not php.ini.txt in you wp-admin directory (you can do this via FTP) and just add the following link of code in it.
memory_limit = 64M
Hey thanks for you help everyone.
Ok so I deleted the hta access file, this now makes my domain go to 404 Page Not Found Error,
Then I went into FTP section and added the file ‘php.ini’ and put the code in it, but this made no difference.
Any more suggestions?
I cannot access the admin to go to settings then permalinks.
Thanks
Sam
Why did you delete the .htaccess file. Rather than deleting it just update the Permalinks once this will regenerate the correct .htaccess file.
Create a new .htaccess file and add the following code in it to prevent 404 errors:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress