0

I've created a custom child theme.

after activating the child theme, sucuri firewall plugin blocks continuously access to child themes style.css for each visitor which ends after some hits in banned subnets. (if i should believe the sucuro logs..)

the child theme works flawless with logged-in users, none functional errors or something. no requests get blocked, and if you visit without login the page, even from different computers without cache, also tried in 10 different locations and physical different computers around the country, everything seems normal... but maybe im looking at the wrong direction...

im confused how to troubleshoot further.

child-theme’s style css:

/*
Theme Name: Stockholm Child
Theme URI: http://demo.select-themes.com/stockholm/
Description: A child theme of Stockholm Theme
Author: Select Themes
Author URI: http://select-themes.com
Version: 1.0.0
Template: stockholm/stockholm
*/
@import url("../stockholm/style.css");

child function.php

<?php
// enqueue the child theme stylesheet
Function wp_schools_enqueue_scripts() {
wp_register_style( 'childstyle', get_stylesheet_directory_uri() . 'stockholm/style.css'  );
wp_enqueue_style( 'childstyle' );
}
add_action( 'wp_enqueue_scripts', 'wp_schools_enqueue_scripts', 11);

none htaccess files are inside theme folders present at all.

theme-tree

The page I need help with: https://mill-living.de

  • also checked all chmods inside themes ftp, nothing sems strange/different like it should be – AEP Nov 8 at 10:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.