davidsteel
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Tracks] php8 compatibilityThx Ben & i will do this in the next few days!
Forum: Themes and Templates
In reply to: [Tracks] multiple headers possibleThx Ben – it works fine ??
Forum: Themes and Templates
In reply to: [Tracks] multiple headers possiblethanks Ben, but this code disables me everything and not only the menu “campervan”. i do not use the function “menu” in wordpress and have all pages set up individually or only with the function “parents”.
Forum: Themes and Templates
In reply to: [Tracks] multiple headers possibleand would you also have the code ready so that the menu (id-1862) is not displayed?
thx, dave
Forum: Themes and Templates
In reply to: [Tracks] multiple headers possiblecool, the “important” was the solution.cache, cookies & co. I had of course already deleted or deleted all caching plugins (also work in IT, but unfortunately very little knowledge in html, php, etc.).
many thanks ben & I have you respectively the company now added to my links and in the footer, because I’m just incredibly happy with the theme and the support ??
cheers, dave
Forum: Themes and Templates
In reply to: [Tracks] multiple headers possiblein the post before a apostrophe at the end is not displayed correctly …05.jpg’);
Forum: Themes and Templates
In reply to: [Tracks] multiple headers possiblethank you for the feedback and i thought it will be so easy! but unfortunately it does not work. must the size of the image be identical to the “normal” header image?
i also tried it with other IDs, but even there my header stays.
subsite
https://www.lostinspace.ch/campervan/css edit
.page-id-1862 .header-image {
background-image: url(‘https://www.lostinspace.ch/wp-content/uploads/2022/01/header_campervan_05.jpg’);
}Forum: Themes and Templates
In reply to: [Tracks] Same date for all postsThx Ben!
Forum: Themes and Templates
In reply to: [Tracks] Socail Media Icon E-Mail is goneHi Marius
OK, but can you still delete the post with my complete htaccess file?
Cheers, Dave
Forum: Themes and Templates
In reply to: [Tracks] Socail Media Icon E-Mail is goneOK, thx for your help and effort!
Forum: Themes and Templates
In reply to: [Tracks] Socail Media Icon E-Mail is goneI found the case!
With a .htaccess (1) file in the directory wp-content, I restrict the access restrictive, but then I have placed with individual folders (for example plugins\elementor) another htacces file (2) so certain functions run again.
That does not sound logical or what does the professional think ?? ?
Cheers, Dave
(1)
Order deny,allow
Deny from all
<Files ~ “.(xml|css|jpe?g|png|gif|js)$”>
Allow from all
</Files>(2)
Order deny,allow
Allow from all
Satisfy anyForum: Themes and Templates
In reply to: [Tracks] Socail Media Icon E-Mail is goneHi Ben
Thx for the hint & i edit/create several htaccess files… And i hope, i’m save with it ?? I will chek the files or do you see any lines of code that trigger the error? I hope I still remember what I was thinking at the time. I work in the IT, but I’m not a pro at such topics ??
Kind regards
Dave# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
#Zusatz Passwortabfrage
<Files wp-login.php>
AuthName “Login”
AuthType Basic
AuthUserFile /home/******
require valid-user
</Files># Kein Zugriff auf die install.php
<files install.php>
Order allow,deny
Deny from all
</files># Kein Zugriff auf die wp-config.php
<files wp-config.php>
Order allow,deny
Deny from all
</files># Kein Zugriff auf die readme.html
<files readme.html>
Order Allow,Deny
Deny from all
Satisfy all
</Files># Kein Zugriff auf die liesmich.html
<Files liesmich.html>
Order Allow,Deny
Deny from all
Satisfy all
</Files># Kein Zugriff auf das Error-Log
<files error_log>
Order allow,deny
Deny from all
</files>#Zugriff auf .htaccess und .htpasswd verbieten
<FilesMatch “(\.htaccess|\.htpasswd)”>
Order deny,allow
Deny from all
</FilesMatch># Den Zugriff auf den Include-Ordner verbieten
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^wp-admin/includes/ – [F,L]
RewriteRule !^wp-includes/ – [S=3]
RewriteRule ^wp-includes/[^/]+\.php$ – [F,L]
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php – [F,L]
RewriteRule ^wp-includes/theme-compat/ – [F,L]
</IfModule># XML-RPC Schnittstelle komplett abschalten
<Files xmlrpc.php>
Order Deny,Allow
Deny from all
</Files># Orderansicht verbieten
Options All -Indexes# Script Injections
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]# XXS, nosniff
<ifModule mod_headers.c>
Header set X-XSS-Protection “1; mode=block”
Header always append X-Frame-Options SAMEORIGIN
Header set X-Content-Type-Options: “nosniff”
</ifModule># Keine URL based exploits zulassen
RedirectMatch 403 \[
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /# Double slashes in allen URLs verbieten
RewriteCond %{THE_REQUEST} ^[A-Z]+\ /(([^/\ ]+/)*)/+([^\ ]*)
RewriteRule ^ /%1%3 [L,R=301]
</IfModule># Verhindere Hotlinking
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^https://lostinspace.ch/.*$ [NC] [OR]
RewriteCond %{HTTP_REFERER} !^https://www.lostinspace.ch/.*$ [NC] [OR]
RewriteRule .*\.(gif|GIF|jpg|JPG|bmp|BMP|wav|mp3|wmv|avi|mpeg)$ – [F]# Verhindert das einfache Auslesen von Nutzernamen
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} .*author=(.+.?) [NC]
RewriteRule (.*) /blog/?author= [NC,L,R=301]#DEFLATE Komprimieung
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/vtt
AddOutputFilterByType DEFLATE text/x-component
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/js
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-httpd-php
AddOutputFilterByType DEFLATE application/x-httpd-fastphp
AddOutputFilterByType DEFLATE application/atom+xml
AddOutputFilterByType DEFLATE application/json
AddOutputFilterByType DEFLATE application/ld+json
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-web-app-manifest+json
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
</IfModule># Caching
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault “access plus 1 month”# CSS
ExpiresByType text/css “access plus 1 year”# Data interchange
ExpiresByType application/atom+xml “access plus 1 hour”
ExpiresByType application/rdf+xml “access plus 1 hour”
ExpiresByType application/rss+xml “access plus 1 hour”ExpiresByType application/json “access plus 0 seconds”
ExpiresByType application/ld+json “access plus 0 seconds”
ExpiresByType application/schema+json “access plus 0 seconds”
ExpiresByType application/vnd.geo+json “access plus 0 seconds”
ExpiresByType application/xml “access plus 0 seconds”
ExpiresByType text/xml “access plus 0 seconds”# Favicon (cannot be renamed!) and cursor images
ExpiresByType image/vnd.microsoft.icon “access plus 1 week”
ExpiresByType image/x-icon “access plus 1 week”# JavaScript
ExpiresByType application/javascript “access plus 1 year”
ExpiresByType application/x-javascript “access plus 1 year”
ExpiresByType text/javascript “access plus 1 year”# Manifest files
ExpiresByType application/manifest+json “access plus 1 week”
ExpiresByType application/x-web-app-manifest+json “access plus 0 seconds”
ExpiresByType text/cache-manifest “access plus 0 seconds”# Media files
ExpiresByType audio/ogg “access plus 1 month”
ExpiresByType image/bmp “access plus 1 month”
ExpiresByType image/gif “access plus 1 month”
ExpiresByType image/jpeg “access plus 1 month”
ExpiresByType image/png “access plus 1 month”
ExpiresByType image/svg+xml “access plus 1 month”
ExpiresByType image/webp “access plus 1 month”
ExpiresByType video/mp4 “access plus 1 month”
ExpiresByType video/ogg “access plus 1 month”
ExpiresByType video/webm “access plus 1 month”
</IfModule>Forum: Themes and Templates
In reply to: [Tracks] Socail Media Icon E-Mail is goneForum: Themes and Templates
In reply to: [Tracks] Socail Media Icon E-Mail is goneHi Frank
Thx for your feedback but the issue with the menu & e-mail icon is still there. I also deactivate the plugins (Autoptimize & Cachify)…
Other plugins i have active:
CSS Hero
Elementor
Hide Page and Post Title
Loginizer
Redirection
Updraft Plus Backup
WP Lightbox2
WP Rollback
WP-OptimizeCheeers, Dave
Forum: Themes and Templates
In reply to: [Tracks] Socail Media Icon E-Mail is goneHi Ben
Yes, i have Cachify and Autoptimize. After clearing all possible caches i still have the problem with the social media icon & the menu icon on the top right (mobile view & small window on my pc). I add your code also into the “Additional CSS” section in the Customizer.
Cheers, Dave