Advanced Https Redirect

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

Redirection type:

What type of redirection do you want across all the pages?

Homepage redirection:

how do you want to redirect the homepage or the front-page?
'ahr-redirect-homepage', 'value' => get_option('ahr-redirect-homepage'), 'contains_default' => false ) ); ?>

Default frontend redirection:

What is the default redirection for front-end pages like posts? notice that you can always override this option in posts or tags pages.
'ahr-redirect-frontend-default', 'value' => get_option('ahr-redirect-frontend-default'), 'contains_default' => false ) ); ?>

Default admin redirection:

How do you want to redirect admin pages?
'ahr-redirect-admin-default', 'value' => get_option('ahr-redirect-admin-default'), 'contains_default' => false ) ); ?>

Static resources redirection

How do you want to redirect static resources like images and music? This option will work by editing the .htaccess file
'ahr-redirect-static-resources', 'id' => 'ahr-redirect-static-resources', 'value' => get_option('ahr-redirect-static-resources'), 'contains_default' => false ) ); ?>