Help!!.. my site is extremely slow

Am a bit of a novice so if could please help that will be great. My website is And I find it a real pain logging on/in to my website to view or create pages. I would appreciate any help I can get. Even says my website is 95 percent slower than other websites. Please help because I am getting really frustrated.

View Replies:
Steevb replied on at Permalink Reply
Try pushing it through:

Might give you some help.
47vids replied on at Permalink Reply
I just used it now and there is no difference to my site's speed
weyboat replied on at Permalink Reply
No Surprise really..
Your template is only 8.81kB in size but your content is hundreds of kB
The dashboard will not load until the page has finished loading, the page is bogged down trying to load all the images,
47vids replied on at Permalink Reply
So how can I increase my template size or what do you recommend I do.
Phallanx replied on at Permalink Reply
Check your config.php for missing quotes.
47vids replied on at Permalink Reply
How do I get access to the config.php, and what do you mean by missing quotes.
Phallanx replied on at Permalink Reply 1 Attachment
Sorry. I meant "site.php" in the "config" directory (<root>/config)

You can access the file either by FTP or using the file manager in your cPanel (or equivalent).

Defines within this file are of the form
define('name', value);

I've attached an image of my "site.php" which shows the "quotes". Where they are used; they always appear in pairs. So just check that where a quote is "opened" there is also one which "closes" the value.

I have come across numerous scenarios where a missing quote (people usually forget the closing quote) causes extremely long initial load times rather than an error.
47vids replied on at Permalink Reply
I have checked but there doesn't seem to be a missing quote or would you like to check. I could DM you my server login if you want.
adajad replied on at Permalink Reply
Testing your site out there is at least one thing you can do to speed it up some - cache static content. Your biggest problem though, is the time to first byte which is out of your control unless you switch host. For now my guess is you are on a shared host with many sites on the same server.

Anyways, add the below to your .htaccess file:
# set browser caching
ExpiresActive On
ExpiresByType image/gif A604800
ExpiresByType image/png A604800
ExpiresByType image/jpeg A604800
ExpiresByType image/x-icon A604800
ExpiresByType application/pdf A604800
ExpiresByType application/x-javascript A604800
ExpiresByType text/plain A604800
ExpiresByType text/css A604800
ExpiresByType video/x-flv A29030400
ExpiresByType video/quicktime A29030400
# end browser caching
#      300   5 MIN

I included a cheat sheet so you can change the caching to your liking.

What the above does is telling the browsers how long they should keep a cached copy of your sites content before requesting it again. The 'A' before the number of seconds means since last access of the content. If you want the content to be cached from last modification time instead, then change all 'A' to 'M' instead.

More info can be found here:
weyboat replied on at Permalink Reply
An added complication is a 301 redirect being called from to
The time to first byte for the is 2.346 seconds
and the response time is 22.594 seconds,
During the page load the address is being called twice which is adding another 23 or so seconds to the page load time,
Check your htaccess file for a 301 redirect declaration and try removing it to see if that improves your load time..
adajad replied on at Permalink Reply
*thumbs up* for weyboat.
mkly replied on at Permalink Reply
@Phallax is most likely on the right track. I would check and recheck your site.php for extra lines at the end, spaces or any extra white space outside of the
// There shouldn't be a single space, line, anything outside of the php tags
Philnext replied on at Permalink Reply
To improve my site's speed I tried this : with success.
tnblumer replied on at Permalink Reply
This suggested helped our site tremendously. Thanks!
cmcg replied on at Permalink Reply
Thanks for this link, it made a huge difference to our sites
ajahnke replied on at Permalink Reply
This made a HUGE difference - thank you so much!