Forum Replies Created
-
AuthorPosts
-
I can not figure this out. I put my custom tags just before the </head> and every time I do , the <meta charset=”<?php bloginfo( ‘charset’ ); ?>” /> continues to change to meta-http-equiv
I have no idea, but maybe it is to do with my meta tags & google analytics script.
I have taken all your other advice, expect for the tags that do not offer a directory file for validation (like Pinterest), we will keep the author, keywords meta tags and the analytics tracking script for obvious reasons, but the charset-euc-jp is something we can’t seem to get rid of.
How much of a problem is this?
Header.php is now in default version 4.5.5 & all plugins disabled – I am now seeing the correct <meta charset=”UTF-8″ />
I will now try activating plugins one by one.
It seems that when I add my own <head> edits it is causing this to happen? In this case, at what line should we add our custom code to the header.php file?- This reply was modified 5 years, 7 months ago by Mike.
This line of code keeps writing to the header.php each time that I delete it !
<meta http-equiv="Content-Type" content="text/html; charset=euc-jp">
I m trying to put this in place of
<meta charset="UTF-8" />
But every time I do the file updates with the meta tag above. Is the server writing this to the file?
We are on Apache VPS, could there be an update to htaccess we need to make for UTF-8 content-type response ???
- This reply was modified 5 years, 7 months ago by Mike.
Ok…. so I manually adjusted the charset on line 3
<head> <meta charset="UTF-8" />
But when looking at the new source code, it still showing this
<head><meta http-equiv="Content-Type" content="text/html; charset=euc-jp">
Which is reference to theme source file here<head> <meta charset="<?php bloginfo( 'charset' ); ?>" />
So I am not sure how to change this correctly…
We will be removing the GEO meta tags from header, but the reason for having this was because the company was previously only operating in one state, Texas, but now is a national brand.
We add certain meta tags for SEO purposes, and for website ownership validation with Google, Bing & Pinterest.
Your reference to charset makes no sense to me, as that is part of theme head code by default: line 3
<meta http-equiv="Content-Type" content="text/html; charset=euc-jp">
Here is the hook for that line of code from theme source files:
<head> <meta charset="<?php bloginfo( 'charset' ); ?>" />
So if this is something people who purchase this theme need to change, I suggest the developer (or team) make update to the template for US versions, or whatever, but WE did NOT add that line of code, it came with the theme. If it’s not part of the theme we don’t know how it got there…
Title tag: line 21
<!-- Scripts/CSS and wp_head hook --> <title>Your Pool Builder | Swimming Pool Design & Construction Consulting</title>
None of the other meta tags should have any adverse effects on the rendering of the theme, and although you feel are uneeded, our Google results are improved significantly by having these. There is large debate whether to include meta for keywords, author, because most people think that Google ignores them, however, not the case and also Bing does consider these tags.
The stray end tag was mentioned in my previous reply as possible issue in theme source code:
<head> <meta charset="<?php bloginfo( 'charset' ); ?>" />
Where as this “/> is possibly the problem you see, I have removed it, otherwise theme header & top bar will not render correctly.
Side note:
We found a possible error in the -head- section, everytime we update the theme there are stray code in the header / menu” />
<head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <?php /* * outputs a rel=follow or nofollow tag to circumvent google duplicate content for archives * located in framework/php/function-set-avia-frontend.php */ if (function_exists('avia_set_follow')) { echo avia_set_follow(); } ?> <!-- mobile setting --> <?php if( strpos($responsive, 'responsive') !== false ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">'; ?> <!-- Scripts/CSS and wp_head hook --> <?php /* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */ wp_head(); ?> </head>
Thanks for all the advice so far, it seems to be working, all b it limping along…
Firefox on Android using wifi still does not like it, styles will not load, or blank screen infinite loading
All others seem to be working as expected…
If this problem persists I will need you to check out cpanel configuration.
Another problem we just ran into is the “color section” with image background applied will hide content blocks within the color section…
T-Mobile:
Mobile data on FF (normal browser) = yes
Mobile data on FF (incognito) = yes
Mobile data on Chrome (normal) = NO !!
Mobile data on Chrome (incognito) = yesWIFI
Mobile wifi FF normal = NO
Mobile wifi FF incognito = yes …wtfMobile wifi Chrome normal = yes
Mobile wifi Chrome incognito = yesPC all versions seems ok…for now….
W3TC is gone, Wordfence is gone, databases dropped for those in attempt to start over. Something has written to a file somewhere ??
(We have multiple other websites all with Enfold, and on the same server setup, but no problems…only this one website…)This reply has been marked as private.php ini is available to check on this domain, but here are some settings from cpanel found in htaccess:
# BEGIN cPanel-generated php ini directives, do not edit # Manual editing of this file may result in unexpected behavior. # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor) # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI) <IfModule php7_module> php_flag display_errors Off php_value max_execution_time 180 php_value max_input_time 180 php_value max_input_vars 2100 php_value memory_limit 512M php_value post_max_size 128M php_value session.gc_maxlifetime 1440 php_value session.save_path "/var/cpanel/php/sessions/ea-php71" php_value upload_max_filesize 32M php_flag zlib.output_compression Off </IfModule> # END cPanel-generated php ini directives, do not edit
Additional lines in the htaccess:
# BEGIN Protect Against 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] # END Protect Against Script Injections # BEGIN Directory Browsing Block Options -Indexes # END Directory Browsing Block # BEGIN Protect the wp-config.php file <Files wp-config.php> order allow,deny deny from all </Files> # END Protect the wp-config.php file # BEGIN Custom 403 <Files 403.shtml> order allow,deny allow from all </Files> #END Custom 403 # Block the include-only files <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> # Block the include-only files # BEGIN Disable XML-RPC.PHP <Files xmlrpc.php> Order Deny,Allow Deny from all </Files> # END Disable XML-RPC.PHP # BEGIN PROTECT ACCESS TO HTACCESS <Files ~"^.*\.([Hh][Tt][Aa])"> order allow,deny deny from all satisfy all </Files> # END PROTECT ACCESS TO HTACCESS #BEGIN PROTECT XSS <IfModule mod_headers.c> Header set X-XSS-Protection "1; mode=block" </IfModule> #END PROTECT XSS
These are obviously for security, let me know if any are conflicting or unnecessary…
Hey Cg, I found this related to “nosniff” in htaccess:
#BEGIN NOSNIFF <IfModule mod_headers.c> Header set X-Content-Type-Options nosniff </IfModule> #END NOSNIFF
I have deleted that line in htaccess. Is there anything else related to “nosniff” I need to check?
Loading from Chrome INCOGNITO seems to work (front end only)
Admin login seems stuck infinite redirect…Here are all the errors in Chrome:
https://www.yourpoolbuilder.com/46
Refused to apply style from ‘<URL>’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/css/grid.css?ver=4.5.4’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/plugins/wunderground/assets/css/wunderground.css?ver=2.1.3’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/css/layout.css?ver=4.5.4’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/blog/blog.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/css/base.css?ver=4.5.4’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-includes/css/dashicons.min.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider/postslider.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/buttons/buttons.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/buttons_fullwidth/buttons_fullwidth.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/comments/comments.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow/slideshow.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/contentslider/contentslider.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/heading/heading.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/google_maps/google_maps.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/gallery_horizontal/gallery_horizontal.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/grid_row/grid_row.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/gallery/gallery.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/hr/hr.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/icon/icon.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/iconbox/iconbox.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/iconlist/iconlist.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/image/image.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/magazine/magazine.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/promobox/promobox.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/menu/menu.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/progressbar/progressbar.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/css/avia-snippet-site-preloader.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/social_share/social_share.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullscreen/slideshow_fullscreen.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/tab_section/tab_section.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/tabs/tabs.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/toggles/toggles.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/video/video.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-includes/css/dist/block-library/style.min.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/js/aviapopup/magnific-popup.css?ver=4.5.4’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/css/shortcodes.css?ver=4.5.4’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/css/avia-snippet-lightbox.css?ver=4.5.4’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-includes/js/mediaelement/mediaelementplayer-legacy.min.css?ver=4.2.6-78496d1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/css/avia-snippet-widget.css?ver=4.5.4’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/uploads/dynamic_avia/enfold.css?ver=5c9bd83672b52’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-includes/js/mediaelement/wp-mediaelement.min.css?ver=5.1.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(index):1 Refused to apply style from ‘https://www.yourpoolbuilder.com/wp-content/themes/enfold/css/custom.css?ver=4.5.4’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.Well I added that in, and purged all caches and it did not seem to do the trick.
Anything else we can try?Actually no, at the very top of our menu, the secondary section, all I want is the text to appear blue
Here’s the link in the private section
March 28, 2017 at 10:21 pm in reply to: hreflang tag inserted into header, Google still says ERROR #768475Yeah I get it, where in the FILE do I add this??
March 28, 2017 at 9:19 pm in reply to: hreflang tag inserted into header, Google still says ERROR #768436Ok sounds good, buut please can you direct me to the exact spot to place this ??
On the server, or on the editor in wp?
Please also provide where in the file to place it.March 5, 2017 at 3:02 am in reply to: Sticky WP Text Editor does not follow on scroll, extremely annoying #755811Ok we still have an issue here, when creating a regular post it works as it should, but when using your Text Block Element in the visual builder the tool bar will not follow.
So the issue is when creating long form content within the text block element, the tool bar will not scroll with the content.
(Making posts or pages with the WP default editor is no problem)March 5, 2017 at 2:57 am in reply to: Sticky WP Text Editor does not follow on scroll, extremely annoying #755806Yes this was a plugin, I can’t remember how or why it got in the website, but I have deactivated it, and if I continue to have the issue I will let you know. Thanks Mike
I have set the menu to the setting that is causing the issue, please check it quickly so that if it is not working correctly I can change it back for the users. URL private
Ok good deal, this worked.
March 5, 2017 at 2:45 am in reply to: Sticky WP Text Editor does not follow on scroll, extremely annoying #755796I am not sure what is going on with mine, let me ask this, is the Black Studio TinyMCE Widget needed for anything in the Enfold theme? This could be causing conflict?
-
AuthorPosts