Slim Site, Not many requests, High load time - wordpress

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.

Related

My wordpress website site URL is being changed again and again

Someone is changing my wordpress site URL to their ad spam URL. I changed it from php my admin and it was fixed, the hacker inserted a java script to every wordpress post and pages to redirect all posts and pages to their ad page, I deleted all of them. Then I installed wordfence security plugin, scanned the entire website, found some malicious codes and deleted everything. Then I changed my cpanel and wordpress password. I am using my own VPS so I also changed my root password, but still just after 12-24 hours, I can see that the wordpress site URL has been changed. I fix it and again it becomes changed.
I have mentioned what I have done, what else I can do to prevent this? Please any suggestion will be appreciated...
Your website has most probably been exploited, and the exploit is still active, as a backdoor for that Hacker..
I would check the access logs for your web requests, and especially POST requests!
which might show where is the hacker logging in via.. some Theme or Plugin that was exploited most probably.
If your web host does daily backups, it might even be worth reverting back to previous days to remove any changes... -- remember if you revert back any posts/changes from that day onwards will disappear.

Audit website my pages have HTTPS URL links to an HTTP URL

I have an wordpress website https://tricourilemele.ro . When doing an audit, my Security Score is showing an high issue: HTTPS URL links to an HTTP URL..
Looking at page source (in fact on all pages) i find these http://gmpg.org/xfn/11 and anther link - which in is in fact a page i made http://tricourilemele.ro/tricouri-personalizate/
Well... i found that http://gmpg.org/xfn/11 in my header is given by my theme - Storefront, even so it had many updates, they never changed that to https.
I tried with a plugin search / replace but i couldn't do any improves .more. i was afraid to try something else. I do not know many related to databases or so..
My problem is ...How could i change those 2 links from http to https?
Please, be
Thank you,
Marius
You'll need to find whatever file gmpg is in, and update the url to https. And then change the url accordingly for the site you created.

WordPress development site on sub-domain going to wrong domain

I am trying to set up a development site on the sub-domain development.warriorsliveon.org of warriorsliveon.org.
This is a WordPress site and I copied the plug-ins, themes, and upload folders to the new WordPress installation on the sub-domain. I also copied the database from warriorsliveon.org, did a find and replace of warriorsliveon.org to development.warriorsliveon.org.
When I go to the site , http://development.warriorsliveon.org. it either switches automatically to the follow address, or other times, lets me log into WordPress, but then goes to this address.
http://development.development.www.development.development.warriorsliveon.org/
Anyone have any ideas where I should look to resolve this issue?
I'm happy to post any code, just not sure at this point what would be useful. Any help is appreciated!
Changing the Domain Name that your Wordpress installation runs under is more complicated than just editing one or two files. The best approach is to use a tool like https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
If you download this free tool and upload to your server then it does a batch find-and-replace across every single table in your Wordpress database.
So, for example, replace http://www.warriorsliveon.org with http://development.warriorsliveon.org
You can do a dry run and it will show you all the replaces that it will make. Once you're happy then click the "live run" button and all the changes are made.
I use this tool all the time when I am moving a site from my local machine to the live server. I also use the exact same approach when migrating a site from http to https

Site not appearing with prefix www

I installed a wordpress site. The visitors can only see the site without the prefix WWW. If someone types the website name with www, there is a "site not installed page". I am with OVH hosting and they are blaming the wordpress but I am sure that someone without good knowledge answered as the problem was the same even before the wp installation took place. If I change wp url location in the backend to www.mysite.com there is a backend lockout till I edit the database directly with the url without www.
My questions:
1> How to make my website accessible with both versions of the url (www+no www)? I want the www to appear in the address bar.
2> I do not want SEO rank loss due to duplicate content.
Please help as the customer care sucks and for 2 weeks they cant solve this problem. I am sure someone out here can please provide a few steps which I can follow and implement what I want. Thanks a lot in advance.
You may want to check with your hosting provider. I think technically, they are different URLs. Your host should be able to link both I would imagine.

WP Admin extremely slow

The WP back end of a site I'm working on (It's a multisite) takes about 25 seconds to load.
Everything was working fine until yesterday and the front end still works perfectly well. All other sites on the same server run just as well, so it MUST be a WP back end issue.
I don't remember exactly what change it was that made it so slow. I remember updating WP recently (to version 3.4.2), adding some plugins on one of the sites and changing the max upload file size.
I tried to disable all the plugins, changing the themes back to default, changing the max file size back, and adding define('WP_MEMORY_LIMIT', '1024M'); (and other values) to WP-config but none of it helped.
Also tried to 'Update network', but I got an error - couldn't connect to host.
Any ideas?
I got in touch with our network admin and we resolved the issue.
I will copy his answer here. Hope it helps someone.
Does Wordpress use 'self-referential URLs' ? What I mean by this is...
is wordpress trying to access it's own templates/css using fully
qualified domain names in the URL (e.g. http://example.co.uk/someurl )
Because we use Network Address Translation (NAT) on our firewalls to
hide the real IP address of the server, it has the side effect that if
the server tries to access it's own URLs, it will try to send the
traffic to the external interface on our firewall, which is where the
DNS resolves to.
The fix for this is very simple - we just add the site url into the
/etc/hosts file so that the server knows to use it's own IP address
instead of the address on the firewall.
So he added our address to the hosts file and now it works perfectly.
Awesome.
I've seen this before where the admin pages are trying to poll external Wordpress sites for details of Wordpress upgrades, plugin updates and Wordpress news. If there's no proper access (because of firewall restrictions, bad DNS, etc) then the page has to wait for the HTTP requests (I think WP uses cURL) to timeout.
If you're still unable to identify the cause I'd recommend a catch-all solution of installing xdebug and profiling the page with webgrind, xcachegrind, etc
Had the same problem for a week and now the problem of very slow WP-admin was solved!
Before, I cannot access my sites if I use incognito or I am not logged in as WP user, but all times in the wp-admin, it takes me 40 seconds- minute or even never.
Solution that worked:
I accessed the files in the file manager using the CPanel, and I saw so many unused and unnecessary folders and themes and that's the reason that causes the very slow access to admin.
It was because during the days of being a newbie, I stuffed a lot of files in the Public Http and that made it congested.
I logged in to another CPanel account that I bought personally before, and compared the folders of the "proper" versus the "congested" and compress, backed-up and deleted all the unnecessary.
My host: Hostgator, responded well also.
Hope this would help others.
I also had a very slow Dashboad in wordpress. Reading the James C´s answer, I realized that my site is located in a corporate intranet behind a firewall to access internet.
James C answered:
"I've seen this before where the admin pages are trying to poll external Wordpress sites for details of Wordpress upgrades, plugin updates and Wordpress news. If there's no proper access (because of firewall restrictions, bad DNS, etc) then the page has to wait for the HTTP requests (I think WP uses cURL) to timeout."
My solution was avoid all the internet conections: (1) disable all the wordpress updates using the wordpress plugin "Disable all wordpress updates". (2) activate de wordpress pluging "Disable google fonts"
After these two plugin activations, the Dashboard works to a suitable speed.

Resources