2

When the directive is included as part of the WordPress directives It simply needs to go before the WordPress front-controller. In fact, you should not include this as "part of the WordPress directives" as WP itself tries to maintain this block of code and could override your custom directives in a future update. You should put this custom directive ...


2

RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] # If images not found on development site, load from production RewriteCond %{REQUEST_URI} ^/wp-content/uploads/[^\/]*/.*$ RewriteRule ^(.*)$ https://www.example.com/$1 [QSA,L] The problem here is that "If images not found on development site" then the ...


1

You might just need to flush permalinks. (Navigate to Settings > Permalinks and click "Save Changes") If you can't navigate to the permalinks page because of the error, you could try one of the other suggestions here Obviously make a backup of your database before performing any of them. If that doesn't work there may be a permissions issue. It's generally ...


Only top voted, non community-wiki answers of a minimum length are eligible