Monthly Archives: August 2022

How to make all pages permanently SSL.WordPress

Has SSL been installed on your website? The introduction of SSL is recommended for all websites because of its security and SEO advantages. Full-page SSL is particularly desirable for shopping and crowdfunding websites where personal data and payments are involved. The following code is recommended for full-page SSL. Put this in the “.htaccess” file. ※Be…

How to save rewriting links.WordPress

If you are building multiple WordPress sites, you face the problem of having to ‘rewrite URLs’ when duplicating them. The following code is recommended to solve this problem before it happens. Please describe it in the theme’s ‘functions.php’ file. /* Description in functions.php */ add_shortcode(‘url’, ‘shortcode_url’); function shortcode_url() { return get_bloginfo(‘url’); } add_shortcode(‘tdir’, ‘tmp_dir’); function…

This site uses cookies to offer you a better browsing experience. By browsing this website, you agree to our use of cookies.