: Can .htaccess be changed through FTP after it was edited in WordPress in a way that breaks the site? I made the mistake of putting in the following code on my .htaccess file thru Yoast SEO:
I made the mistake of putting in the following code on my .htaccess file thru Yoast SEO:
# Remove www from any URLs that have them:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.
RewriteRule ^(.*)$ example.com/ [R=301,L]
Now there's an infinite loop and I can't access my WordPress dashboard anymore. Is it possible to access the .htaccess file thru an FTP client like FileZilla and remove the change?
More posts by @Heady270
1 Comments
Sorted by latest first Latest Oldest Best
Absolutely. Your .htaccess file is located in the root directory of the website and can be accessed via FTP.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.