Last updated on August 16th, 2021 by Editorial Staff | Reader DisclosureDisclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how hostingvietnam.vn is funded, why it matters, & how you can tư vấn us.

Bạn đang xem: 7 ways to fix the ‘sorry you are not allowed to access this page’ error

Shares 301 tóm tắt Tweet share Facebook Messenger WhatsApp e-mail

Are you frustrated by the “Sorry, you are not allowed to lớn access this page” error in WordPress?

This error usually displays when you’re trying to see a page in your WordPress dashboard that your user role doesn’t have permission to lớn see.

However, you might see the error sometimes even when you’re supposed to lớn have access to lớn that page. This error can be caused by lot of different reasons which makes it tricky for beginners khổng lồ troubleshoot.

In this article, we’ll show you how to fix the “Sorry, you are not allowed to lớn access this page” error in WordPress.


Once there, you will see a folder called themes. This is where WordPress stores all themes installed on your website.

This time you need to lớn right-click on the plugins folder and select Rename. We’ll hotline it ‘themes.deactivate’.

This will activate the mặc định theme. Now try to log into your WordPress site to lớn see if this has fixed the problem.

If you still receive the “Sorry, you are not allowed khổng lồ access this page” error, then the problem isn’t caused by a theme. You need khổng lồ rename the ‘themes.deactivate’ folder back to lớn ‘themes’ and move on lớn the next step.

If you can log in, then the previous theme caused the problem & you can start khổng lồ troubleshoot. You could try using a different theme or reinstall the same theme và carefully configure it.

If the error returns, then report it lớn the theme author. They may be able to help you solve the problem or fix a bug in the theme.

Final Troubleshooting Steps

If you’re still reading, then unfortunately the other steps haven’t solved your problem. Here are a few more things you can try.

Check Error Log

You may be able to kiểm tra an error log for clues about what went wrong. Your hosting provider may be keeping logs, or you may have previously phối WordPress up to lớn keep them.

For more details, check our guide on how to lớn set up WordPress error logs, or contact your hosting provider.

Xem thêm: Android 6 - Giới Thiệu Phần Mềm Đánh Trống Trên Điện Thoại

Update to lớn Latest PHP

If your WordPress site is running an older version of PHP, then it may be causing problems. Upgrading lớn the latest version may be helpful.

For more information, check our guide on how PHP updates by your website host impact your WordPress site, or tương tác your hosting provider.

Restore Your Most Recent Backup

If you’ve made a recent backup of your WordPress website, then restoring it lớn an earlier version is likely lớn fix the “Sorry, you are not allowed khổng lồ access this page” error.

The problem is, you will thua any changes to your settings and content made after the backup.

For more information, check our beginner’s guide on how lớn restore WordPress from backup.

Contact Your Hosting Provider

If you are unable khổng lồ fix the error on your own, then you should contact your WordPress hosting company to see if there is anything they can do.

Many providers offer excellent technical support and may be able lớn solve the problem for you.

For example, they may be able to check their vps error logs or have created their own backups of your WordPress site. They will be able to lớn advise you on how they can help và what you should vị next.

For the best results, make sure you kiểm tra our guide on how to properly ask for WordPress tư vấn and get it.

We hope this tutorial helped you learn how to lớn fix the “Sorry, you are not allowed khổng lồ access this page” error in WordPress. You may also want to bookmark our ultimate troubleshooting guide of the most common WordPress errors, or see our guide on how to lớn get a không tính tiền email domain.

Xem thêm: Đổi Tên Facebook Khi Đã Xác Nhận Tên, Hướng Dẫn Cách Thật

If you liked this article, then please subscribe khổng lồ our YouTube Channel for WordPress clip tutorials. You can also find us on Twitter and Facebook.

Shares 301 giới thiệu Tweet nói qua Facebook Messenger WhatsApp email