Monday, August 16, 2021

How to Fix the “Sorry, You Are Not Allowed to Access This Page” Error in WordPress

Are you frustrated by the “Sorry, you are not allowed to 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 see.

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

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

How to Fix the 'Sorry, You Are Not Allowed to Access This Page' Error in WordPress

What Causes the “Sorry, You Are Not Allowed to Access This Page” Error in WordPress?

WordPress user roles and permissions define what your users can and can’t do in WordPress. For example, an author on your site wouldn’t be able to edit the post of another author, only their own posts.

If someone gave an author the link to edit someone else’s post, then they would see the “Sorry, you are not allowed to access this page” WordPress error when following the link.

However, sometimes you might see “Sorry, you are not allowed to access this page” when you should have access to view the page.

If you’re not the site owner or administrator, and you’re seeing this error, then you should contact the site owner or admin to let them know. They can explain why you don’t have access to the page, or they can change your role to grant you access.

If you are the site owner or have an admin role, but you’re still seeing the “Sorry, you are not allowed to access this page” error when trying to log in to your own website, then something has gone wrong with the permissions.

Maybe there was an issue with a WordPress update. Maybe there was a problem when a theme or plugin was updated. Or maybe something has gone wrong with your configuration.

If you’re seeing this error when you try to log in, then you won’t be able to fix the error by changing your WordPress settings in the dashboard. You’ll have to work with the files and databases directly.

This can be tricky for beginners and making a mistake could make things worse. As a precaution, we recommend you first make a complete backup of your WordPress website.

You could also start by contacting your hosting provider. They may be able to fix the problem for you.

That being said, here are some steps you can follow to troubleshoot and fix the “Sorry, you are not allowed to access this page” error in WordPress.

Checking You Have the Correct WordPress Role

If you’re able to log in to the WordPress dashboard, but can’t access specific pages, then the issue could be that your WordPress user role was changed, and you’re no longer an admin.

From the WordPress dashboard, you can see your user role by visiting the Users » All Users page, and looking under the ‘Role’ column.

View all users and user roles in WordPress

If you don’t have access to the Users page, then this means that you are not an administrator.

If you or someone else accidentally deleted your administrator account or changed your user role, then you can add a new admin user with phpMyAdmin.

Checking for a Corrupt .htaccess File

If you have an admin user role, and you’re still seeing the “Sorry, you are not allowed to access this page” error, then it could be caused by a corrupt .htaccess file. We can check this by renaming the file.

You will need to use an FTP client or the file manager feature in your WordPress hosting account. If you haven’t used FTP before, then you may want to see our guide on how to use FTP to upload files to WordPress.

Using your FTP client, you need to navigate to the root folder containing all your WordPress files. Once you find the .htaccess file you need to rename it to something else, such as .htaccess.old.

Right Click to Rename .htaccess

If you cannot find your .htaccess file, then see our guide on how to find .htaccess in WordPress.

Once you rename the file, try logging onto your WordPress site to see if that has fixed the problem. If it hasn’t, then rename it back to .htaccess and move on to the next step.

If you can log in, then you fixed the problem. The next step is to generate a new .htaccess file. To do that, navigate to the Settings » Permalinks page in WordPress.

Click Save Changes

Simply click on the Save Changes button at the bottom of the page and WordPress will generate a fresh .htaccess file.

Checking for Incorrect File Permissions

While you have your FTP client open, we’ll check to make sure there isn’t a problem with your file permissions. File permissions control who can access files and folders on your website.

The following settings are recommended for most users:

755 for all folders and sub-folders.
644 for all files.

Using your FTP client, you need to navigate to the root folder containing all your WordPress files and select the wp-admin, wp-content and wp-includes folders. Then you need to right click and select ‘File Permissions’.

Right Click to Select File Permissions

This will bring up the file permissions dialog box.

Now you need to enter 755 in the numeric value field. After that, you can click on the ‘Recurse into subdirectories’ checkbox and then select ‘Apply to directories only’ option.

Folders Should Have Permissions of 755

Click on the OK button to continue. Your FTP client will start setting file permissions to folders and sub-folders. You will need to wait for it to finish.

Next, you need to select all files and folders in the root folder of your WordPress site and then right click to select file permissions.

Right Click to Select File Permissions

The file permissions dialog box would appear.

This time you need to enter 644 in numeric value. After that you need to click on ‘Recurse into subdirectories’ checkbox and then select ‘Apply to files only’ option.

Files Should Have Permissions of 644

Click on OK to continue and your FTP client will now start setting file permission to all files on your WordPress site.

Once you’ve done this, try logging into your WordPress website again. If you’re successful, then you’ve fixed the problem. If not, then move on to the next step.

Deactivating All Plugins Using FTP

If the steps above haven’t resolved the issue, then our next step is to check whether a faulty WordPress plugin is causing the error. We’ll do that by temporarily deactivating all plugins.

First, you need to connect to your website using an FTP client. Once connected, you need to navigate to the /wp-content/ folder.

Right Click to Rename the Plugins Folder

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

You need to right click on the plugins folder and select Rename. Next, you should type in a different name. We will call it ‘plugins.deactivate’.

The Folder is Now Named plugins.deactivated

All of your plugins have been deactivated. Now try to log into your WordPress site to see if this has fixed the problem.

If you still receive the “Sorry, you are not allowed to access this page” error, then the problem isn’t caused by a plugin. You’ll need to rename the ‘plugins.deactivate’ folder back to ‘plugins’ and move on to the next step.

If you can now log in, then you know that one of the plugins is causing the error. We just have to find out which one.

Using your FTP client, rename the ‘plugins.deactivate’ folder back to ‘plugins’ then navigate inside the plugins folder. Now rename the first plugin to something like ‘plugin-name.deactivate’.

Now go back to your site to see if you can log in. If you can’t, then change the plugin’s name back and move on to the second plugin. Repeat the process until you find the one that caused the issue.

Once you’ve found the faulty one, you can switch to a different plugin that doesn’t cause the problem. Or you can contact the plugin author and work with them to come up with a solution.

Activating the Default Theme Using FTP

If the plugin solution didn’t work for you, then we’ll need to check if your WordPress theme could be causing this issue.

This step is similar to deactivating your plugins. You’ll need to connect to your website using an FTP client and navigate to the wp-content folder.

Right Click to Rename the Themes Folder

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 right-click on the plugins folder and select Rename. We’ll call it ‘themes.deactivate’.

This will activate the default theme. Now try to log into your WordPress site to see if this has fixed the problem.

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

If you can log in, then the previous theme caused the problem and you can start to troubleshoot. You could try using a different theme or reinstall the same theme and carefully configure it.

If the error returns, then report it to 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 check an error log for clues about what went wrong. Your hosting provider may be keeping logs, or you may have previously set WordPress up to keep them.

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

Update to Latest PHP

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

For more information, check our guide on how PHP updates by your web host impact your WordPress site, or contact your hosting provider.

Restore Your Most Recent Backup

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

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

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

Contact Your Hosting Provider

If you are unable to 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 to solve the problem for you.

For example, they may be able to check their server error logs or have created their own backups of your WordPress site. They will be able to advise you on how they can help and what you should do next.

For the best results, make sure you check our guide on how to properly ask for WordPress support and get it.

We hope this tutorial helped you learn how to fix the “Sorry, you are not allowed to 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 get a free email domain.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Fix the “Sorry, You Are Not Allowed to Access This Page” Error in WordPress appeared first on WPBeginner.


August 16, 2021 at 03:39PM

Friday, August 13, 2021

40+ Best Blog Examples of 2021 – Successful Bloggers to Follow for Inspiration

Are you looking for the best blog examples to help you get inspired?

WordPress is used by a lot of the biggest brands and most successful blogs in the world. By checking out successful blogs, you can get inspiration and follow in their footsteps.

In this article, we’ll share some of the best blog examples that you must check out for inspiration.

40+ best blog examples of 2021 - successful bloggers to follow for inspiration

Why Do the Most Successful Blogs Use WordPress?

WordPress is the most popular website builder and content management system (CMS) in the world. Over 42% of all websites on the internet use WordPress.

With WordPress, you can set up a new blog quickly without writing any code. Most popular bloggers use WordPress for its flexibility, easy-to-use admin panel, and thousands of themes to customize the design.

There are also thousands of free and premium WordPress plugins available to extend the features and functionality of your blog.

That being said, let’s take a look at the best successful blog examples to follow for inspiration. Hopefully these blog examples will help you in starting your own blog.

You can use the quick links below to jump to your blogging niche of choice.

Best WordPress Blog Examples

WordPress blogs offer tips, tricks, and tutorials that cover the ins and outs of WordPress. They help to answer common WordPress questions and show readers how to make the most out of their WordPress websites.

Most WordPress blogs make money with affiliate marketing, and selling their own products like themes, plugins, and more.

1. WPBeginner

WPBeginner

WPBeginner is the largest free resource for WordPress tutorials to help beginners master the basics and beyond. You’ll find over 2,000 different WordPress tutorials to help you get started with WordPress.

2. IsItWP

IsItWP Blog

IsItWP is another top WordPress blog that also offers a collection of helpful WordPress tools. You’ll find a WordPress theme detector, speed test tool, and even a WordPress security scanner.

3. WPForms Blog

WPForms Blog

WPForms is the best contact form plugin for WordPress. There’s also a WPForms blog that will help you get the most out of the plugin and learn tips to grow your WordPress business quickly.

Best Marketing and Social Media Blog Examples

Marketing and social media blogs teach business owners how to get more customers, improve their WordPress SEO, get more social media followers, and more.

Usually, these blogs are monetized with online courses, recommending affiliate products and software, and selling digital marketing services.

4. OptinMonster Blog

OptinMonster Blog

OptinMonster is the best WordPress popup and lead generation plugin. The OptinMonster blog is filled with valuable tips to help you optimize your website for conversions and make more money.

5. Social Media Examiner

Social Media Examiner Blog

Social Media Examiner is one of the top social media blogs. The blog covers nearly every topic related to social media and how to grow your followers.

6. Detailed

Detailed Blog

Detailed is an SEO-focused marketing blog that provides a lot of useful and unique information about what’s currently working in the world of SEO.

Best Business Blog Examples

Business blogs teach small business owners how to grow their businesses online. You’ll find topics related to making money online, getting more traffic, growing your email list, and much more.

Most business blogs make money by selling online courses and through affiliate marketing by recommending products and services they use.

7. BlogTyrant

BlogTyrant

BlogTyrant is the number one online resource for tips and tricks about growing your WordPress blog. The posts cover topics like getting started blogging, increasing your traffic, growing your email list, and making money online.

8. Neil Patel

Neil Patel Blog

Neil Patel is one of the top digital marketing blogs. It has blog posts on nearly every topic related to digital marketing, including content marketing, eCommerce, SEO, social media, paid advertising, and more.

9. Michael Hyatt

Michael Hyatt Blog

Michael Hyatt is the blog bearing the same name as the successful publishing CEO. This blog is dedicated to helping business owners become better leaders and succeed at work and life.

Best Lifestyle Blog Examples

Lifestyle blogs cover a wide range of different topics that speak to a specific audience. For example, you can have a blog aimed at women in their 30s and cover topics like food, fashion, and motherhood.

A lot of lifestyle blogs make money with display ads and affiliate marketing. As your site grows, you can bring on multiple authors and create a multi-author blog.

10. Wit & Delight

Wit and Delight Blog

Wit & Delight is a lifestyle blog founded by Kate Arends in 2014. Since then, it’s grown to over 3.3 million visitors and has blog posts on topics like interior design, health and wellness, food, beauty, and much more.

11. Art of Manliness

Art of Manliness

Art of Manliness started back in 2008 and has grown into one of the largest men’s lifestyle blogs. It covers topics ranging from style, fitness, skill-building, and everything in between.

12. Camille Styles

Camille Styles Blog

Camille Styles is a very popular multiple author lifestyle blog. It covers topics like wellness, food, interior design, style, and travel. There’s also a unique shop page that’s monetized with affiliate marketing.

Best Food Blog Examples

Usually, food blogs are niche focused and tend to cover a specific diet or style of eating, like paleo, vegan, or simple 10-minute recipes. Food blogs are hugely popular and share delicious recipes with their readers.

Since recipe blogs get a lot of traffic, many food blogs make money with display ads or selling third-party cookbooks.

If you want to start your own WordPress food blog, then see our guide on how to start a food blog.

13. i am a food blog

i am a food blog

I am a food blog is a food and recipe blog run by a husband and wife team. It combines travel and food to highlight unique recipes worldwide, along with stunning step by step images.

14. Smitten Kitchen

Smitten Kitchen

Smitten Kitchen is a popular food blog run by Deb Perelman for many years. The recipes are beginner-friendly and can be made with simple ingredients. The success of the blog led to publishing a popular cookbook.

15. Minimalist Baker

Minimalist Baker

Minimalist Baker is a recipe blog that focuses on simple and fast recipes. There’s also a unique recipe index that lets you search through all the recipes on the site with ease.

Best Parenting and Mom Blog Examples

Parenting and mom blogs offer life advice and helpful tips for new parents.

The parent blogging space is huge, and most blogs that stand out take a unique angle. You’ll find niche parenting blogs for new dads, single moms, toddler raising, and more.

Blogs in this space are monetized with display ads, affiliate product recommendations, and even online courses and coaching.

16. Mommyish

Mommyish Blog

Mommyish is a popular mom blog that offers all kinds of content related to being a mom. Including topics like childrearing, pregnancy, product reviews, and parenting hacks.

17. Imperfect Families

Imperfect Families

Imperfect Families is a parenting blog run by Nicole Schwartz, an online parent coach and professional therapist. The blog offers plenty of helpful advice for new parents and also offers online courses for sale.

18. Fatherly

Fatherly Blog

Fatherly is a very popular online magazine-style blog dedicated to young fathers. It was even named one of Oprah’s favorite things in 2018. Articles range from advice for new dads, best gear posts, and more.

Best Health and Fitness Blog Examples

Health and fitness is one of the most popular and lucrative niches online. Most health and fitness blogs focus on a specific niche. For example, you have paleo, gluten-free, running, fitness over 40, and much more.

If you’re starting a health and fitness blog, then see our collections of WordPress themes for fitness blogs, yoga studios, and Crossfit gyms.

Health and fitness blogs can make money in a variety of ways, including creating a membership site, and starting a podcast and getting sponsorships.

19. Born Fitness

Born Fitness Blog

Born Fitness is a popular fitness blog that makes improving your health and fitness simple. There are tons of articles related to getting in shape, eating better, and cooking.

20. Ben Greenfield Fitness

Ben Greenfield Fitness Blog

Ben Greenfield Fitness is a blog and podcast dedicated to helping people achieve the highest levels of performance in life. The blog features in-depth articles and interviews with industry experts.

21. Blogilates

Blogilates Blog

Blogilates is a women’s fitness blog that features helpful fitness articles, workout calendars, and healthy recipes. There are also free workout videos and fitness challenges readers can join.

Best Travel Blog Examples

Travel blogs offer tips and advice for all kinds of travelers. Most blogs in this space are based on personal experience and offer trip recommendations, must-see destinations, and more.

They can be monetized with affiliate programs, Google Adsense revenue, and more.

For more details on starting a popular travel blog, see our guide on how to start a travel blog.

22. Nomadic Matt

Nomadic Matt Blog

Nomadic Matt is a budget travel blog that’s helped millions of people around the world travel affordably. It features in-depth travel guides, travel tips, destination guides, and more.

The blog’s popularity led to launching a New York Times best-selling book.

23. Adventurous Kate

Adventurous Kate

Adventurous Kate is a travel blog for women interested in solo travel. It has many articles from years of solo travel and covers topics like travel destinations, best travel resources, and more.

24. Asher & Lyric

Asher & Lyric Blog

Asher & Lyric is a popular travel blog dedicated to helping families travel safer and smarter. There are in-depth travel and packing guides for most vacation destinations around the world.

Best Fashion Blog Examples

Fashion blogs cover fashion trends, style tips, and more. This style of blog is usually niche-focused, like men’s fashion, or affordable fashion.

Many fashion blogs make money with affiliate marketing and recommend their outfits and clothing items to their readers.

For more details on starting a fashion blog, see our step by step guide on how to start a fashion blog.

25. Dappered

Dappered Blog

Dappered is a popular men’s fashion blog that offers advice and fashion tips for men on a budget. The articles feature style tips, clothing reviews, and even a dedicated forum where readers can share style information.

26. The Style Fairy

The Style Fairy Blog

The Style Fairy is an Ireland-based style blog from professional stylist Noami Clarke. It features fashion, beauty, and lifestyle tips. Plus, it highlights images from her popular Instagram account and includes an online store.

27. Jo-Lynne Shane

Jo-Lynne Shane Blog

Jo-Lynne Shane is a women’s fashion blog that offers fashion advice and tips on the latest fashion trends. Articles also include recent sales, outfit suggestions, and more.

Best Tech and Gaming Blog Examples

Tech and gaming blogs cover the latest of what’s happening in the technology and gaming industry. Some blogs cover the latest news, while others provide in-depth game reviews, product reviews, and more.

A lot of tech and gaming blogs use WordPress magazine themes to showcase a wide range of content and authors.

If you want to start a gaming blog, then see our step by step guide on how to make a gaming website with WordPress.

28. That Video Game Blog

That Video Game Blog

That Video Game Blog is a popular gaming blog that provides gaming reviews for nearly every console. The reviews are very in-depth and helpful. There’s also gaming lifestyle content and accessory reviews.

29. The Next Web

The Next Web

The Next Web is a popular tech and news blog that features articles and insights into the tech world, coding and development, AI, startups, and more.

30. Android Police

Android Police

Android Police is a magazine style tech blog that covers everything to do with Android. There are articles about the latest news, deals and coupons, reviews, device features, and more.

Best Career Blog Examples

Career blogs offer advice and guidance for job seekers and employers to help them make the most out of their careers. These blogs are often monetized by personal coaching and selling online courses.

These blogs can focus on specific niches of careers, like creatives, corporate careers, and remote jobs, or take a more broad approach to careers and jobs.

If you’re looking to launch a graphic design career and build your website, then check out our list of the best WordPress themes for graphic designers and our picks of the best WordPress portfolio plugins.

31. 99u

99u Blog

99u is a blog from Adobe that’s a great career resource for graphic designers and other creatives. There are interviews, in-depth guides on inspiration, collaboration, portfolios, and more.

32. HR bartender

HR bartender Blog

HR bartender is a career and workplace blog run by HR consultant Sharlyn Lauby. The blog covers many different topics related to the workplace like career advice, how to be a better leader, and more.

33. Undercover Recruiter

Undercover Recruiter Blog

Undercover Recruiter offers content about job and career development for employers and job seekers. The blog posts cover topics like hiring, preparing for a job interview, recruiting new employees, and more.

Best DIY Blog Examples

DIY blogs cover topics like home remodeling, decorating, and more. The articles are written in the “how-to” format and show readers how to complete similar projects.

This style of blog also has high quality images that show each project at different steps. Some DIY bloggers also branch out into YouTube, and get a lot of traffic from Pinterest.

For more details on connecting WordPress to Pinterest to get traffic, see our guide on how to verify your WordPress site on Pinterest.

34. I SPY DIY

I SPY DIY Blog

I SPY DIY is a DIY blog run by a husband and wife team. The posts feature new projects, entire home renovations, and other lifestyle posts. Every post has step by step images showing you how to do the same thing.

35. Young House Love

Young House Love Blog

Young House Love is a popular DIY blog running for over 14 years. There are over 3,000 DIY projects highlighted across the blog. There’s even a great before and after section that shows the progress that was made.

36. Collective Gen

Collective Gen Blog

Collective Gen is a DIY blog led by Geneva Vanderzeil and has millions of readers across the world. It has covers topics like DIY interiors, style, upcycled goods, travel, wellness, and more.

Best Photography Blog Examples

Photography blogs feature tips, tutorials, buying guides, and interviews for inspiration. They often make money by selling online courses, using display advertising, and affiliate marketing.

If you’re building your own photography blog, then make sure to see our picks of the best WordPress themes for photographers.

37. Flickr Blog

Flickr Blog

The Flickr blog is a companion to the Flickr photo sharing service. The blog features photos, interviews, and collections from around the world.

38. Digital Photography School

Digital Photography School

Digital Photography School is a photography blog with tips and tutorials for beginner to advanced photographers. It has over 5 million monthly readers.

39. PetaPixel

PetaPixel Blog

PetaPixel is a popular photography and camera news blog. It has articles about nearly every area of photography like camera reviews, photography website tips, in-depth guides, and much more.

Best Finance Blog Examples

Finance blogs help people earn more, save more, and spend less. Personal finance blogs can cover a single area of finance like paying off debt, reviewing the best software, recommending index funds, and more.

As finance blogs become popular and get more traffic, they usually branch out into related topics.

If you’re starting your own personal finance blog, then see our list of the best WordPress themes for financial sites.

40. The Penny Hoarder

The Penny Hoarder

The Penny Hoarder was founded in 2010 and has grown into one of the largest personal finance blogs on the internet. The articles cover topics like making money, budgeting, saving money, debt, retirement, and more.

41. I Will Teach You To Be Rich

I Will Teach You To Be Rich

I Will Teach You To Be Rich is the blog of best-selling author Ramit Sethi. It’s been running since 2004 and provides actionable personal finance advice and articles about starting a business, advancing your career, and more.

42. Mr. Money Mustache

Mr. Money Mustache Blog

Mr. Money Mustache is the blog of personal finance expert Peter Adeney. The blog takes a unique perspective on personal finance and has a large and loyal following of readers.

Building Your Own Blog with WordPress

Looking at all of these popular blogs, you may be wondering how you can start your own WordPress blog?

Luckily, starting your own blog is easy with the right tools.

You’ll need three main things to get started:

  • A domain name: This is the address for your website (ours is wpbeginner.com)
  • Web hosting: So you can store your website files, and visitors can access your site
  • A blogging platform: Software that lets you simply build a blog without having to code

Normally, a domain name costs around $15-20 per year, and web hosting starts from $7.95 per year.

This can be a big investment, especially when you’re just getting started online.

Luckily, Bluehost has agreed to offer our readers a free domain name and a big discount on hosting. You can get started for as little as $2.75 per month.

→ Click Here to Claim This Exclusive Bluehost Deal ←

When it comes to choosing the best blogging platform, we recommend choosing WordPress.

Now, there are two main types of WordPress blogs. WordPress.com is the hosted version and WordPress.org is self-hosted. For more details, see our guide on the difference between WordPress.com vs WordPress.org.

We recommend using the self-hosted WordPress.org version because it gives you all the features you need right out of the box (this is what we use at WPBeginner).

For more details, see our in depth guide on how to start a WordPress blog.

If you’re looking for even more creative inspiration, then make sure you check out our ultimate list of WordPress website examples.

We hope this article helped you find some of the best blog examples to get inspired. You may also want to see our guide on how to get a free email domain, or check out our comparison of the best email marketing services for small business.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post 40+ Best Blog Examples of 2021 – Successful Bloggers to Follow for Inspiration appeared first on WPBeginner.


August 13, 2021 at 03:30PM