Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »


View Poll Results: How to increase page speed
minimum plugins 0 0%
w3 total cache 0 0%
theme with minimum images 0 0%
all the above 0 0%
Multiple Choice Poll. Voters: 0. You may not vote on this poll

Old Nov 5, 2012, 10:48 PM
drashok's Avatar
18 posts · Nov 2012
Mumbai, India
Greetings of love.
My site was "Account Suspended" for high CPU usage.
I have chosen Montezuma version 1.1.3
on my wordpress 3.4.1, which is on shared hosting.

I am using w3 supercache. Shall I change it to w3 Total cache?
I have kept only few plugins.

Leverage browser caching and Enable Keep-Alive are the things I have to work on.

Leverage browser caching
F (33)
Server High
Enable Keep-Alive
C (71)
Server High
How can I get two sidebars?
How can I have a dropdown list on mouseover on menu in the header like shown in preview of montezuma?
I wish to know if I can add devanagari font (Indian language kiranfonts.com) to the list of fonts.
Kindly tell me how to improve as per the recommendation of Gtmetrix google page speed.
5. Important:
Ton of thanks for the magnificent theme you have provided.
I truly appreciate.

Best wishes,
Dr. Ashok Koparday
Consultant Sexual Medicine
Old Nov 6, 2012, 05:18 AM
3 posts · Sep 2012
Hi, for Leverage Browser Caching you can add this code to your .htaccess:

# Expire headers 5184000 seconds = 2 months
<IfModule mod_expires.c>
ExpiresActive On 
ExpiresByType image/x-icon "access plus 5184000 seconds" 
ExpiresByType image/gif "access plus 5184000 seconds"  
ExpiresByType image/jpg "access plus 5184000 seconds"  
ExpiresByType image/png "access plus 5184000 seconds"
ExpiresByType text/css "access plus 5184000 seconds"
ExpiresByType text/javascript "access plus 5184000 seconds"
ExpiresByType application/javascript "access plus 5184000 seconds"
ExpiresByType application/x-javascript "access plus 5184000 seconds" 
This code sets an Expires Header with a value of 2 months.

To enable Keep-Alive you can add this code to your .htaccess:

# BEGIN Keep-Alive

<ifModule mod_headers.c>
Header set Connection keep-alive

# END Keep-Alive
This should work fine for you If you like, you can send me a pm with your siteurl and I have a look on it in the next days.
Old Nov 11, 2012, 05:58 AM
drashok's Avatar
18 posts · Nov 2012
Mumbai, India
Hi Preview,

Greetings of love.

Page Speed Grade and YSlow improved remarkably by doing exactly as you said.

I installed W3TotalCache today.
The Page Speed Grade is lesser now.

Where am I going wrong?

Best wishes,
Dr. Ashok Koparday
Consultant Sexual Medicine.
Old Nov 13, 2012, 08:27 PM
drashok's Avatar
18 posts · Nov 2012
Mumbai, India

I reinstalled W3TotalCache and the YSlow Grade shot up to A.
Page Speed Grade also improved.

Then my theme montezuma collapsed after clicking 'reset' in the header on dashboard montezua menu.

I reinstalled 'montezuma' deleted and uploaded fresh wp admin and wp includes. I uploaded and activated W3TotalCache and WP Minify. The Page Speed and YSlow are abominably low.

I guess I will have to deactivate the cache plugins and once again edit .htaccess as you suggested.

Thanks for being,

Best wishes,
Dr. Ashok Koparday
Old Nov 14, 2012, 08:08 AM
3 posts · Sep 2012

I wrote you in a private message that I don't use cache plugins because you can do most of it on your own. It is really hard to achieve 100% there, about 80% is a really good mark and you should not worry about little details if you once have this score. Then you should better think about less plugins, optimized images and a long-term strategy to keep up that score.

So here we go for a detailed analysis for your site based on what gtmetrix told me.

Add Expires Header and Leverage Browser Caching you can add the two codes to your .htaccess file

Combine Images using CSS Sprites:

You can do it by yourself via Photoshop or some other programs and scripts. I don't recommend it to you, because gtmetrix suggests only images in plugins. So you have to recode the sprites positions in the plugin and when you do an update everything is gone.

Remove query strings from static resources:

This means that some of your urls look like: example.com/wp-options/plugins/exampleplugin/javscript.js?ver=0.0.1

You can remove this by adding the following script at the end of your theme's function.php. Go to Appereance -> Editor -> functions.php

function _remove_script_version( $src ){
	$parts = explode( '?', $src );
	return $parts[0];
add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
Don't forget to make the closing php-tag (?>) afterwards! I forgot it a couple minutes before and my site crashed, but with the closing php-tag it works fine!

Try this out and re-test your page. If you then want to have some more speed advise please contact me per private message and we discuss details.
Old Nov 14, 2012, 11:00 AM
drashok's Avatar
18 posts · Nov 2012
Mumbai, India
I just sent you PM.
Soon I will begin work on what you suggested.
I appreciate your support.
Old Nov 14, 2012, 03:59 PM
88 posts · Jun 2012
Hi! Let me know your host and i will help you. You can first check on my site speed
Old Nov 15, 2012, 10:46 AM
1 posts · Nov 2012
Send a message via ICQ to viktor.helwer
You can add mod_pagespeed from Google to your Server
Old Nov 18, 2012, 02:53 AM
drashok's Avatar
18 posts · Nov 2012
Mumbai, India
How does one do add mod_pagespeed from Google to your Server?
Dr. Ashok Koparday
Old Nov 18, 2012, 09:58 PM
drashok's Avatar
18 posts · Nov 2012
Mumbai, India
Hi viktor.helwer,
I read about mod_pagespeed that you suggested. It is beyond my limited knowledge.
Thank you all the same for your suggestion.

Best regards,
Ashok Koparday
Old Dec 3, 2012, 10:16 AM
1 posts · Dec 2012
Hi to all,
not sure this is the right place for my concern, but we try to improve pagespeed, right?
So I've been working on my htaccess file lately with some quite rewarding scores (from very bad to quite ok). One thing keeps on bugging me though : Eventhough my keepAlive is set on the server and the google pagespeed tool agrees, my gtmetrix Page Speed only rates a 75% just because "The host studio-449.com should enable Keep-Alive. It serves the following resources.".
Below my code in .htaccess :
<ifModule mod_headers.c>
Header set Connection keep-alive

I've een looking throuroughly the web and forums to my dismay so far, everything I try does not change anything. Even my host (websiteout) does not have a clue what to do.

Thanks so much,
any insight is welcome.

Below my complete htacess just in case
AddCharset UTF-8 .html
AddDefaultCharset UTF-8

<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*

# les proxies ne doivent pas décompresser le contenu à la place de l'internaute
Header append Vary "User-Agent env=!dont-vary"

<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType text/html "access plus 1 seconds"
ExpiresByType image/gif "access plus 2592000 seconds"
ExpiresByType image/jpeg "access plus 2592000 seconds"
ExpiresByType image/png "access plus 2592000 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 604800 seconds"
ExpiresByType application/x-javascript "access plus 604800 seconds"

<ifModule mod_headers.c>
<filesMatch "\\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=2592000, public"
<filesMatch "\\.(css)$">
Header set Cache-Control "max-age=604800, public"
Header append Vary: Accept-Encoding
<filesMatch "\\.(js)$">
Header set Cache-Control "max-age=604800, private"
Header append Vary: Accept-Encoding
<filesMatch "\\.(xml|txt)$">
Header set Cache-Control "max-age=216000, public, must-revalidate"
<filesMatch "\\.(html|htm|php)$">
Header set Cache-Control "max-age=1, private, must-revalidate"

<ifModule mod_headers.c>
Header unset ETag
FileETag None

<ifModule mod_headers.c>
Header unset Last-Modified

<ifModule mod_headers.c>
Header set Connection keep-alive
Old Dec 4, 2012, 03:08 PM
88 posts · Jun 2012
If you are in hostgator i can help you
Old Dec 11, 2012, 11:30 PM
37 posts · Sep 2010
My resolution for Page Speed is W3 Total Cache plugin + Cloudflare, a free CDN servie and traffic accelerator. (https://www.cloudflare.com)

I get 80-100% speed grade from ySlow & G Page Speed using the GT Metrix testing tool - http://gtmetrix.com/ on all of my 20 sites using Ata 3.6 + themes

I have over 30 plugins, tons of images on most sites and lots of content.
Old Dec 12, 2012, 04:33 AM
88 posts · Jun 2012
If you are using hostgator, just turn on cloudfare from your cpanel and sleep
Old Dec 26, 2012, 02:52 AM
76 posts · Jun 2010
When I turned on cloudflare in hostgater Cpanel, I could not log into my wp-admin panel anymore. And suddenly my website url changed from http://thaihealingmassage.com to http://www.thaihealingmassage.com/wp...ndex.html_gzip
There is something not quite working right. At least for me it has not been working right out of the box.
Old Nov 10, 2014, 08:25 AM
1 posts · Nov 2014
You can enable keepalive via two methods:
- Through server access
For example, when you run a Apache server you can edit the config file of Apache to enable keepalive and to tweak its settings. Start with these settings:
KeepAlive: on
MaxKeepAliveRequests: 60
KeepAliveTimeout: 3 seconds

You should change the settings to suit your server needs.
- By adding a few lines of code to your .htaccess file
<ifModule mod_headers.c>
Header set Connection keep-alive
(source: http://www.giftofspeed.com/enable-keep-alive/ )

By the way, it's not always the most beneficial (when it comes to page speed) to enable keep alive. Sometimes it's better to just keep it off. You should experiment with this to see which gives you the best page speed.


enable keep-alive, gtmetrix, leverage browser caching, page speed, sidebars two

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiring - Improve site speed and tweak plugins jrmallory Customization, Design, Programming... 5 Sep 26, 2012 06:17 PM
Atahualpa and Google Page Speed. MickR Atahualpa 3 Wordpress theme 0 Nov 13, 2011 10:08 AM
Improve footer with page names Guybrush Post-Kicker, -Byline & -Footer 3 Apr 15, 2011 08:45 AM
How to improve Google Page Rank benivolent Forum How-To 4 Apr 4, 2010 12:23 PM

All times are GMT -6. The time now is 08:00 PM.

Powered by vBulletin® Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.