Turns out the file was the problem, as @TheDeadMedic suspected. The permissions were 640. After changing them to 644, the problem was solved!
Thanks for the help.
Related Posts:
- How can i redirect one url to another url using .htaccess or add_rewrite_rule
- Override htacces rule only for specific directory
- mod_rewrite loop, redirecting http to https on certain section of wordpress blog
- How can I use an .htaccess file in Nginx?
- htaccess – Redirect to subfolder without changing browser URL
- Getting a 500 Internal Server Error on Laravel 5+ Ubuntu 14.04
- Place static HTML files in path below WordPress page
- htaccess rewrite for author query string when WP is in subfolder
- Rewrite /?rest_route=/ link to /wp-json/ without changing default permalink structure in apache
- Remove year and month in URL using .htaccess
- index.php not loading in main folder of wordpress
- Rewrite rule not working
- WordPress multisite causing Error 101 (net::ERR_CONNECTION_RESET): Unknown error [duplicate]
- .htaccess redirects disappeared after re-saving permalinks
- Protect Upload Folder Files With Ampersand Problem
- Remove File Extension for Page Outside of WordPress
- WordPress URL/Folder ReWrite using Htaccess
- WordPress mod_rewrite is canceling/overwriting my other mod_rewrite rule
- Redirect from different port to subdomain – htaccess
- WordPress 404 on Subdomain
- Only expose routes with prefix /wp-json on WordPress using Apache
- What’s the opposite of required valid user in .htaccess authentication
- Restrict uploaded files into a custom folder to logged in users by htaccess: looking for Nginx – not only Apache – solution
- How do I test to ensure that my wp-config file is protected?
- .htaccess Security Header Rules
- .htaccess in subdir gets ignored by WordPress’ own .htaccess in /
- blocking access to all post/tag URIs via htaccess
- Site in subfolder – all pages work except home
- Directing subdomain to main domain and keeping the subdomain format with .htaccess
- WordPress – Promoting A Dev Build In A Subdirectory To Production / Root Directory
- htaccess, site and staging in subdirectories
- How to write .htaccess so that https is on for subpages only but not the home page
- How to create a redirect in the .htaccess file, with 2 exceptions
- Redirect old domain with query paramaters
- 404 error Additionally 403 Forbidden error on a URL
- Custom rewrite rule, url returning 404
- mod_rewrite doesn’t work as I want even with JSON API Plugin disabled
- Does WP suppresses .htaccess if permalinks are disabled?
- I have a page using a pretty url and a mod_rewrite rule matching it. I expected it to give an error but it’s working. Why?
- Redirect – remove custom query string
- disable WordPress 404 for one specific page/folder to receive actual php errors
- .htaccess Non-‘www’ to ‘www’ Subdomain Redirection Only Works for Homepage
- fix 302 redirection error on https
- Access sub-domain when root public_html is protected with .htaccess password
- Accepting special characters in querystring
- WordPress permalinks confusion
- How can I create a smarter .htaccess file that will add a directory?
- Configure .htaccess to have a WordPress single site installation with all subdomains pointing to the same pages?
- Rewriting subfolders to specific parent folder in WordPress
- Redirect WordPress site to a landing (construction) page using htaccess, with access to /wp-admin and /invoice
- htaccess redirect to path
- URL Rewrite 404
- Unable leverage Browser Caching on AWS Bitnami stack (Apache) through W3TC and Cloudfront CDN
- How to move wordpress website from hosting account to localhost
- How to block wordpress admin by htaccess
- htaccess mod_rewrite not working
- Add-on domain works in WordPress but links still lead to subdomain
- Can’t get pretty permalinks to work without index.php
- WordPress redirection
- How To Add CSP frame ancestors in WordPress Website? [closed]
- Subfolder install not working
- Browser Caching .htaccess
- .htaccess redirect http to https
- 404 Not Found The requested URL was not found on this server
- WordPress on a subdirectory of Laravel – WordPress pretty permalinks inner page shows laravel
- Static raw HTML page
- .htaccess file redirecting to parent directory
- WordPress in sub directory wp-admin problem
- Temporary .htaccess blocking is disabling WP Crons from running?
- Attach to wp-login.php and xmlrpc.php
- XMLRPC filtering through htaccess not working
- Corrupt .htaccess file
- Cache policy not updated according to PageSpeed
- When is it necessary to have Header unset Vary in .htaccess
- Redirect http to https does not work on subdir where another instance of WordPress installed
- redirect the homepage using .htaccess outside of WordPress
- Https Redirect infinite loop in Mobile browsers
- .htaccess rewriting old RSS feed URL to WordPress feed URL
- How can I set Cache TTL for woff and woff2 font files with htaccess?
- How to turn this .htaccess rule into a dynamic rule with add_rewrite_rule, et al?
- Disable directory browsing of uploads folder
- Local PC cache stays filled with old WordPress Site data
- .htaccess rewriterule being ignored – tyring to remove dates from WP posts
- WordPress JSON API restrict to specific domain
- Rewrite Rules not redirecting rewrite
- How do i allow access to a single file in my root directory? [closed]
- Selectively Disabling PHP via .htaccess in Root Directory
- Shared hosting, multiple sites, can’t log in to WP due to .htaccess redirection
- What causes 404 errors that forces you to rebuild a .htaccess file?
- Xampp is not loading media
- execute cron jobs when .htaccess login protected?
- change URIs of migrated site
- Steps for WordPress over SSL
- Fixing Access-Control-Allow-Origin (CORS origin) for multiple subdomains
- insert_with_markers() WordPress & htaccess help
- WordPress login bug. Need an emergency solution
- 403 forbidden due to .htaccess?
- Where is the htaccess in wordpress.com hosting?
- Debug errors for “Destination directory for file streaming does not exist or is not writable”
- .htaccess seems to be required but I can not find it