Skip to content

Instantly share code, notes, and snippets.

@sushinger
sushinger / .htaccess
Created June 8, 2022 05:30 — forked from seoagentur-hamburg/.htaccess
UPDATE 2022/05: Perfect .htaccess file for highspeed and security. You can use it for every WordPress-Website without problems. Highspeed and Security - testet on hundreds of Websites. If you are using a WordPress Multisite, change the last part of this file.
########################################################################
# OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2.0.4 - 05/2022
# ----------------------------------------------------------------------
# @Author: Andreas Hecht
# @Author URI: https://seoagentur-hamburg.com
# License: GNU General Public License v2 or later
# License URI: http://www.gnu.org/licenses/gpl-2.0.html
########################################################################
@sushinger
sushinger / functions.php
Created November 3, 2019 12:19 — forked from hostz-frank/functions.php
Impressum-Link neben Datenschutz-Link auf der wp-login.php
/**
* Impressum-Link zum Privacy Policy Link auf Login-Seite hinzufügen (wp-login.php).
*/
add_filter( 'the_privacy_policy_link', function( $link, $privacy_policy_url ) {
return $link . '&nbsp; | &nbsp;<a href="/impressum/">Impressum</a>';
}, 10, 2 );