I highly recommend “DUPLICATOR” to make full site backups.
For security, normal best practices like disabling editing from theme panel, removing admin account, making the config file unreadable from web, removing unused themes and plugins, etc.
I can also recommend “limit login attempts” which we use on all our sites.
So you have quote marks for the Google analytics. Perhaps where you pasted that into the theme or a plugin ?
Hope that helped 🙂
((((Tip jar : we accept frosted gingerbread cookies !))))
-
This reply was modified 10 years by
simchris.
Well, helps to do “view source” in your post page, see the actual rendered HTML, look for things right before the “body” at end of the head …
right away I saw this …
"<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-45153835-1', 'tech-diggers.com');
ga('send', 'pageview');
</script>"<noscript><style> .wpb_animate_when_almost_visible { opacity: 1; }</style></noscript></head>
Heh …. well, the short version would be … just install the main theme, don’t use child theme at all; don’t even upload it. (I don’t use child themes on ANY of our sites or client sites.) So, this way you have one set of things to optimize, manually minify, one set of functions, css, etc.
Just keep track of snippets with a map of which files/customizations you do. SO, when there is theme update you can paste in your functions.php changes into new file, for example; or if you mod the main style.css – make not of what you changed (e.g., search/replace default fonts). Use a good text editor with line numbering — so, you keep track of “I edited the hook at line 55 in file /theme/includes/td-whattheheck.php” etc.
Faster – no CSS redirect from child to parent; no mix of files, smaller to do backup of your site via FTP, blah blah blah.
So – that was short version. Long version would contain a lot of other commentary you don’t need to hear from me on this topic 😉
Avoid using the Envato tool kit if you can; FTP is still the best way.
Likely also want to audit your site for hacking, and also securi scan
https://sitecheck.sucuri.net//
Are you putting in the author photo from Gravatar.com in each user’s profile?
Or, using a plugin to add author photo ? Check settings for where you’re uploading the author pix ?
Link to example page might be helpful 🙂
And of course if you manually edited the header template or any other template you would want to undo that.
Also try turning off *all* plugins except for Visual Composer to see if it goes away, then you know it’s a bad plugin.
Could be a bug in WP.
Could be a bug in theme loop for categories.
I expect we’ll hear something from TagDiv soon!
Their FB page states they did test their main site with the new update, but … your milage may vary, of course.
Always best to wait a few days on WP updates unless it’s a “critical security patch” to ensure all themes and plugins will continue to work.
TagDiv tested themes with 4.4 and didn’t see any initial issues, according to their FB page.
But, obviously in “real world” — feedback helps them know about any real problems to get a fix out if it’s theme related vs WP related.
Upshot “stand by” for further info, methinks!
Look at the page source online to see where that is.
Might be a bad entry in your top menu or bad entry if using YOAST SEO.
Avoid quotes in things like your site name and slogan in the WP admin panel.
Might not be any of that, just a thought.
You could try
a) re-save permalinks to clear permalink transient settings
b) clear any caching plugin, reset/refresh any CDN setting
c) in theme panel, resave the choice for default category template(s)
Sometimes the simplest things work — might not in your case, but this often fixes bizarro gremlins after WP update!
Not with the theme and main plugins. Your pugins/add-ons may vary of course; so always useful to go to the WP website and see WHAT changed with v4.4
WHAT’S NEW IN 4.4
https://codex.wordpress.org/Version_4.4
If you look/search for my ‘Chris’ optimization’ post in the newsmag forum, I point to a working solution (recommended by Google!) to properly minify .js by reading it semantically and functionally and re-encoding it, vs the dumb way of simply removing spaces and line breaks as with CSS minification — which is why it never works right with most tools (not even mod_pagespeed does it consistently right).
I don’t have the link handy but it’s in my optimizations thread which you can search for since it’s no longer ‘sticky’ here. 🙂
It’s the only tool I’ve found the past 5 years that WORKS.
They added this option quite a few versions back, and I got used to it. It only appears on the visual editor, not the text editor, so you can still do long form writing and editing there of code without it.
There is a hack to remove it, posted here quite a bit, but it would be *nice* to have this as an on/off toggle option in future version for the admin panel. On by default, with option to disable without hacking the core code.
(adding to the suggestion box on this one) 🙂
Maybe change the file permission for index.php to read only for the site/wordpress and not the public. 644 or something like that?
is your theme directory actually at that location, or is that just an example of typing a page and WP generating a page vs a 404?
You might also simply rename index.php to index.html or something ?
Hm. Actually you do what that page accessible as it’s used by WordPress to generate default page templates.
NO themes I’ve used in the past 10 years auto-minify the css and js — as this allows developers, and others to be able to edit/modify without decoding.
You can manually minify your files if you wish. very simple to do.
Some js cannot be auto-minified. Simply does not work. There are tools which compress js very well — I mention one in my sticky post on WP optimization here in the forums. Ooops, it’s no longer sticky.
But if you search for Chris’ optimizations — should find it 🙂
Facebook is supposed to read the og tag for image, but does not always do so. Same issue with google. I turned lazy loading off.
You can set app id for fb with yoast seo, at least that is how i do it.
Probably need to hire a programmer if you cant figure out how to echo/print list of tags into your meta field.
Keywords not that important anymore for the top 5 search engines. Not used by google, bing, etc.
Yeah, sorry – forgot to mention the trick is to click the little “time ago” link for when it was posted like “just now” or “10 minutes ago” and THEN the refresh attachment option is there. Talk about NOT being intuitive! 🙂
At least they added it. All last year i would often have to delete a post, come back in a couple hours and try again. Super annoying!!
You might also try some of my suggestions for things with both WP and TagDiv themes;
https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
Well… your site is generating both 503 and 522 errors; so likely better hosting could be a good place to start.
PageSpeed Insights received a 503 response from the server.
You could create a query to print assigned categories from post using an “if single” query in the post header.php file into a manually set keywords meta tag in your header file.
<meta name="keywords" content="
{{PUT YOUR QUERY HERE FOR OUTSIDE LOOP}}
">