When I try to upload a post in wordpress, I get 403 forbidden error - wordpress

I have a serious problem. Actually my problem is that whenever I try to upload a post in wordpress, I think the problem could be because of the inactivity as formatting the post takes the while, and by the time I press the publish button, I get the error.
I tried replacing the .htaccess file, but it didnt help.
I deactivated all the plugins, tried checking by deactivating the plugins one by one but yet the problem was not solved.
I checked for the permission but the read, write and execution permissions are all fine. The problem still persists.
I get 403 forbidden error.
I have tried checking the permission, replacing the .htaccess file, deactivating plugins, but could not get a permanent solution out of these.
Wordpress experts please help me out.

Related

Wordpress 404 error on domain.com/wp-admin

My WordPress site having issue so not able to reach out to the domain.com/wp-admin, it's redirect to 404 error. I have been tried out for delete ".htaccess" file however it's not working.Cache and cookies of the browser also have been clear out. Would need some advise how can I reach out to my domain.com/wp-admin.
I have been tried for using domain.com/wp-admin.php. Disable plugin however it's also not working from my end to redirect on my side
Usually, a 404 error on /wp-admin/ is caused due to missing .htaccess in your website's root directory, so first thing first, make sure that you have a valid WordPress .htaccess ( https://wordpress.org/support/article/htaccess/ ).
After that, make sure that you do not have a plugin for a custom admin login as it might also cause this behavior. If the issue still persists after that, try accessing the admin login page at: yourdomain.com/wp-login.php
If none of the above work, you should ask your hosting provider for further help.

Wordpress Wp-login.php 500 internal server error

I have run into a bit of a weird problem on a site i created a couple of years ago. No new plugins have been added recently or anything else changed on the site for the last 6 months. Besides from the site admins adding content to the page.
But now, they cant acces the wp-login page. They just get a blank page and a 500 error.
I have looked around the web for some solutions, and have tried the most common ones i come accros:
Tried turning plugins off.
Tried changing the theme to default.
Tried deleting .htcacces file.
Checked if the wp-login.php was updated as to the wordpress codex
Some people have reported that they could acces the login page, by trying to access a specific wp-admin page and then get redirected. This does not work for me either.
None of the solutions above gave any results, so i am now at a bit of a loss.
The frontend of the site is working just fine btw.
Any ideas?
Have you tried increasing the PHP memory limit?
you did not mention it and maybe it could help
Create a file called php.ini
Paste memory=64MB in there.
Upload it into your /wp-admin/ folder using FTP
If this answer helps you. it's a memory issue and you need to figure out what takes your PHP memory limit.

How to fix Redirect URL is not valid ! error when trying to access wp-login.php?

When I try to access the wp-login.php page, I get the following error:
"Redirect URL is not valid !"
I've tried everything here
clear cookies
deactivate all plugins
revert back to the Default Theme
delete .htaccess file
update site URL
But none of the above did anything. I thought that deactivating all plugins would solve the issue because not too long before this issue started I had just installed and begun configuring the WP Cassify plugin. However, when I went to rename the plugins directory, I did not see the WP Cassify plugin listed, which is weird.
Does anyone have any suggestions as to what else I can try to fix this issue?
I fixed this by renaming the wp-cassify plugin (and essentially deactivating it by doing so).
That simple!

403 error in website homepage

I am facing a problem with the homepage of http://www.personaleyes.com.au/. The site is made with WordPress. All other pages except the homepage have the status code of 200 but only the homepage has the error code of 403. FYI, the page opens as usual but SEO tools & Google WMT detect 403.
To find out the problem, I did the followings:
Deactivated and reactivated each of the WordPress plugins to find
conflict (15 in total)
Checked permission. Folder permissions
are set to 755 and file permissions to 644
Resetting the .htaccess
I downloaded the site and deployed in our server. When checked this
homepage, it shows 200 as the status code
I have also disabled
security plugin(wordfence security) to check as I found out in a
forum that sometimes these plugins may cause this problem
Checked the site for corrupted files. Found out in a forum that the same error occurred because of a corrupted index.php file.
Any additional input on how to troubleshoot this problem will be highly appreciated.
Thanks
I took a look at personaleyes.com.au and in your case it appears to be a .htaccess misconfiguration. Nothing appears to be wrong on the WordPress side of things as it is sending you a response and the page loads successfully.
Since .htaccess is recursive, do take a look at the parent directories of your WordPress installation too.

403 error in Wordpress 4.0 options.php

I want to disable comments site-wide on a Wordpress site, but I keep getting this one annoying problem.
I've looked around and all of the results are for older versions of Wordpress. I have a fresh install of Wordpress 4.0 onto a namecheap hosting server.
When I try to disable comments in Settings > Discussion by unchecking the box and clicking on the submit button below, I get redirected to a page that says:
You don't have permission to access /wp/wp-admin/options.php on this
server.
Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.
One suggestion from a few threads from 5-7 years ago was to modify the .htaccess and permissions. I tried, it still is returning the same error. Those suggestions were for older, less secure versions of Wordpress, so I'm thinking there should be a different workaround for 4.0. I also for some reason don't have SSH access to the server, probably because of some stupid namecheap / cpanel restriction.
I went ahead and contacted namecheap directly and they corrected it quickly - I don't think there's anything you can do. Specifically, they said:
We have whitelisted Mod Security rule which has been triggered. Please try preform necessary actions one more time.
Hope that helps.
Check your Privileges of wordpress database users.
Check also file & folder permission.
( a folder permission 755 and file permission 644 )

Resources