403 error after using Yoast

[ad_1]

Somehow I broke my site.. yesterday it was working fine and these were the only changes I made:

\-Installed Yoast

\-Created a few post categories/deleted a bunch of random ones that were unused and came over on an old theme

\-Created 2 posts in Gutenberg and a blanket post template (Oxygen), then used yoast on those posts

This morning I tried to log in and got a 403 error both on the front end and when I tried to access the login page. I raised a ticket with my host and they said this: ” It seems that some changes were amde yesterday in .htaccess file which caused this issue. We have renamed this file to .htaccess.bak and now website is working.”

The only thing I can think of that triggered this was deleting the categories, as I ignored the Yoast notification that told me to redirect pages from those categories.. But there were no posts or content connected to them. What if anything should I do now? Do I need to change the htaccess name again or is it fine with the new name?

For context, I’m building a new version of my company’s site but I’m doing it on a spare domain. First timer and I’m using Oxygen for pages but Gutenberg for the post content.

Any help would be much appreciated!

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer