The previous attempt to write to htaccess failed! static resources will not be directed, try to change that option again and see if that works for you.
If that does not work for you, then you should add these lines to htaccess yourself or handle static resources redirection by yourself.
This plugin will enable you to redirect your whole website from/to http to/from https, or just redirect certain pages,posts, custom post types,categories, custom taxonomies, or any other page.
Before forcing a certain redirect from http to https, make sure that https works correctly on your site by visiting the pages you want to redirect, or by visiting some of them.
If you are testing around its preferable to use 302 redirections, so web browsers won't cache the redirections locally
For seo its better to use 301 redirections, and it's better to avoid the Do not redirect option
In each front-end pages like post, category, or custom taxonomy, etc..., there will be an option of how you want to redirect, that option will override the option of the Default front-end redirection
Only change of the static resources redirection is going to cause changes to the .htaccess file, we will try to back up the htaccess file. In any case if you decide to redirect static resources I encourage you to manually backup your htaccess file
|
|
|
|
|
'ahr-redirect-homepage',
'value' => get_option('ahr-redirect-homepage'),
'contains_default' => false
)
); ?>
|
Default frontend redirection:
|
'ahr-redirect-frontend-default',
'value' => get_option('ahr-redirect-frontend-default'),
'contains_default' => false
)
); ?>
|
Default admin redirection:
|
'ahr-redirect-admin-default',
'value' => get_option('ahr-redirect-admin-default'),
'contains_default' => false
)
); ?>
|
Static resources redirection
|
'ahr-redirect-static-resources',
'id' => 'ahr-redirect-static-resources',
'value' => get_option('ahr-redirect-static-resources'),
'contains_default' => false
)
); ?>
|
|
The following lines are going to be writeen to .htaccess file
If changing Static resources redirection causes errors then set it back to DO not redirect and save: this will remove the lines that were written by this plugin.
|