Leverage browser caching and Eliminate render-blocking JavaScript and CSS

Here are the fixes that I found:

Eliminate render-blocking JavaScript and CSS in above-the-fold content

This one is a common problem in most WordPress sites because many WordPress plugins come with their own Javascript and CSS files. What happens is that once you activate these plugins, all of the Javascript and CSS files are pushed into the header, and have to be loaded before the page can load.

The quick fix to this is to download the install the free Autoptimize Plugin. Once activated, just go into the settings and check the “Optimize Javascript code” and “Optimize CSS code” checkboxes, and it will automatically combine all CSS & Javascript files into a single file to reduce load time.

Total time taken: Less than 1 minute

Leverage browser caching

This one is another common issue, that can be fixed by setting an expiry date or maximum age for static resources (like images) in the HTTP headers to allow better browser caching. That sounds pretty complicated, but all you have to do is copy and past the following code into your .htaccess file, and you’d done (credit Thomas Griffin):


ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"


If you need help updating the .htaccess file, I would visit the link above, but it’s really as simple as logging into your site via FTP, editing the file, and re-uploading it.

Total time taken: Less than 1 minute

Comments { 0 }

How to autoplay audio on your wordpress site

The audio feature within WordPress allows you to embed audio files and play them back. This was added as of WordPress version 3.6.

WordPress included the feature as a shortcode which makes use of the markup I explained earlier. The shortcode will link to specific media file or files and output the HTML.

The default shortcode looks like this:

To link to your files you can declare the source of the files within the shortcode which would like like this:

You can also simply include a link to an audio file like below and WordPress will render it as audio and display a player.

This is my latest song


Some more content

To make sure your audio plays in all browsers you need to reference other types of audio for the same file like so:

Notice how the src"" attribute was dropped and new attributes were added. In this case it is mp3=" ", ogg=" ", wav=" ".

Options for Playback.

The audio shortcode allows for some options for playback.


The src is an optional field but is wise to use especially if you have multiple browsers to support. The following types can be defined to allow for graceful fallbacks if a certain browser can’t render a specific audio type.

  • mp3
  • mp4
  • ogg
  • wav
  • wma


The option to automatically loop the playback of a file exists. By default this option is turned off. Personally if you loop audio playback I think you will just annoy your users so it may be best to avoid this all together.



In very rare circumstances you may want to autoplay audio when a user visits a specific page. By default this option is turned off.



You may want to preload audio in some circumstances. There are a few options available if you choose to do so:

  • – This is the default. The audio won’t load when the page loads but soon after.

  • – The audio loads along with the page.

  • – Only metadata loads when the page loads.

Comments { 0 }

Inbox Blueprint Email Marketing System by Anik Singal & Jimmy Kim

inbox-blueprint-logoOk so here is the low down on Inbox Blueprint by Anik Singal & Jimmy Kim.  It is a complete email marketing system is a course that teaches you how to start from nothing and build a complete email marketing business.  Anik states that each email subscriber is worth about $1 per month.  So if you have 1000 email subscribers then you should be making about $1000 per month.

This is a complete course.  There are live webinars.  5 case studies of students that started making sales within 48 hours.  8 complete steps, bonuses and a helpful resources section.  What the videos below to get a sneak peak at the members area.

Also click the button to get the free gifts that Anik and Jimmy are giving away just for visiting the Inbox Blueprint Get-Inbox-Blueprintwebsite.

Subscribe below to see a full review of the members area!

Comments { 0 }

How to redirect all website pages to one page using the htaccess file

I was asked by a client to temporarily shutdown his website and display an under maintenance mode page.  Now if this was a wordpress site then it would have been a piece a cake.  I would have just installed a maintenance plugin and activated it and all the pages would have been redirected to the maintenance mode page.

But this was an html site.  And at first thought, you would think that you could just upload a new index.html page that has some text on it that says the site is currently under maintenance.  But the problem with that is that you can still access all the internal pages.

Another option would have been to move all the files and pages into a new folder or zipped folder so there is no trace of the original pages.  This creates a problem also.  Your pages could get de-indexed from the search engines and it would take some time to get them indexed again when the site goes back up.

So I wanted to just change the .htaccess file to redirect all the pages to a specific one.  There are a lot of htaccess codes out there that say this is the code that does that but most of them don’t work to redirect all pages.  So here is the correct code to place in your .htaccess file.

RewriteEngine On
RewriteCond %{REQUEST_URI} !=/index.html
RewriteRule .* /index.html

Where is says “/index.html”, you would place whatever page or url you want all your pages to redirect to.

Now this is not a 301 redirect which transfers all link juice to a new domain name so if that is what you are looking for then this is not that.

Hope this helps in what you were looking for.

Comments { 0 }

Manually installing wordpress with Network Solutions

I have a client who’s website is hosted with Network Solutions, you can login here… https://www.networksolutions.com/manage-it/index.jsp.  They are a good host but not my first choice because as I found out, they block a lot of scripts.  But anyways, my client wanted to fix his website because his margins were all messed up and he wanted to be able to easily edit the website himself in the future.  The site was an html site and not a lot of people can just edit an html site on their own.  So I set him up with a wordpress site.  It was easy as I just copied and pasted all the info from one platform to the other.

The trouble I had was when I tried to install wordpress on Network Solutions servers.  Firstly they have an automated wordpress install feature which is great but they do not allow you to install wordpress in the root domain (the main domain name).  You can only install it on a subfolder or subdomain.

So to install wordpress in the root, I had to manually install it.  I won’t go into how to do this other than to say that you need to create a database and write down all the username and passwords and then go to the wordpress.com site and download the latest version of wordpress.  Once all the wordpress files have been transferred to the root domain folder then you need to connect wordpress to the database.  This is where I had a little trouble so I want to tell you about it so you don’t get stuck like I did.

When you get to the configure database page,  see image below…  in the database host field, you would normally enter “localhost”.  But when working with Network Solutions, you need to enter your IP Address with no http:// in front of it.  This will then allow wordpress to talk to your webhost and complete the install.  Just a quick fix but it took me some time to figure out.  Enjoy.

Comments { 0 }

Optimize Press 2.0 Will Change Your Business

op20If you ever wanted to have those cool looking squeeze pages, landing pages, blogs, web pages that you see on the internet that look like they cost thousands of dollars to make, then today is your lucky day.

Get THE Best Optimize Press Website Builder Here!

It’s called OptimizePress2.0 and this product will change your business world. It will make you look more professional. No more will you have to be scared to tell someone your website address.  Building one of these point and click web pages will help bring in those clients that only do business with top notch professional companies.

Watch the video of OptimizePress Review- THE Best Website Builder Here!

Click the link above and watch the video and you will be amazed at what you can easily create to make you look like a superstar.

Here are just few of the powerful features that OptimizePress has…

  • Create high converting landing/squeeze pages
  • Create full scale marketing sites and sales pages
  • Deliver free training or courses with progress bars
  • Create high impact webinar registration pages
  • Protect your content in secure membership portals
  • Use the unique LaunchSuite to create product launch funnels
  • Grow your audience with their premium blogging system
  • All your pages will be mobile responsive automatically
  • WordPress theme and a wordpress plugin plus a membership plugin

Go Now…

Get THE Best Website Builder!  Click one of the links above!


Comments { 0 }

Video Genesis – A Total Video Production Product

Andy and Mike have put together a fantastic product that teaches you how to film, edit and produce what they call the 13 types of video.  It is called Video Genesis There will be a big launch for this product and I am putting together the best Video Genesis Bonus ever.  Bonuses total well into the thousands of dollars and they include physical items, digital items and a personal consultation with me about anything in your business.

Check out my Official Video Genesis Bonus Website Here to read about all the awesome bonuses for this launch.

Video Genesis Download

Comments { 0 }

SEMRUSH.com Puts Virus on Thousands of Computers?

About a 10 days ago my malwarebytes anti-malware program popped with a message that said, “Successfully blocked access to a potentially malicious website.  IP Address:   Type: Outgoing”.  At first I thought, great, the program is paying for itself and doing its job.  But then the message popped up again and again and again.  It seemed like every time I opened up a new tab or window or went to a new website, the message would appear.

So I did a few basic things like ignore it, restart my computer, runs a system scan, but nothing seemed to work.  That is when I did a little more digging.  I typed the IP Address into my phone web browser (I didn’t care if my phone crashed) and I saw a little counter in the top left corner of the page that told how many active connections it had, how many connections it was reading, writing and waiting.  I refreshed it a couple of times and it was connecting to about 700 sites every time I refreshed the page.  This seemed a little fishy to me.

I then did a Google search for the IP address and found a lot of different results.  One said the IP Address was from another country but the one that caught my eye was the image below….



The IP Address belonged to SemRush!  Could they have been hacked?  I have the SeoQuake toolbar installed on my computer.  I immediately removed the extension add-on from my Firefox browser thinking that would do the trick but after I restarted Firefox, I was getting the same popup as before.  So I figured I would just ignore it and then the weekend came and I forgot about it.

So now it’s early Monday morning and the SeoQuake is still inactive and I am getting the popup still.  I did one more Google search for the IP Address and found that someone made a forum post on the MalwareBytes website explaining that he was getting the same results as I.  He has a different seo toolbar installed and he was getting the same malwarebytes message.  http://forums.malwarebytes.org/index.php?showtopic=126793

He uninstalled it and it stopped for him.  You can read the forum post by clicking the link above.  So, I had a problem.  I was still getting the message.  I have SeoBook Toolbar installed.  So I disabled it and restarted Firefox and so far I have not gotten the popup from Malwarebytes.

Could it be that SemRush SeoQuake and the SeoBook Toolbar have been hacked?  I don’t know but something is not right.  A lot of seo tool bars pull data from SEMRUSH.com so it would make sense that many seo toolbars would cause this problem.   Now I have no seo toolbar installed.  I am bummed.  Maybe someone else has had this issue and fixed it.  Please let me know below.  Thanks.

Comments { 1 }

Google Adwords Little Known Keyword Trick

Anyone who has done an a Google Adwords campaign know that you name a campaign, add some keywords, write an ad, add some money to your account and then your off to the races.  Well there are many ways to modify and target specific keywords instead of just putting the broad match keyword where you can get unwanted results and unwanted clicks.

The chart below is straight from Google’s help page on how to add keyword modifiers to your Adwords campaign.

About keyword match types

Each match type, which is specificed by a special symbol, will trigger your ad to show for a customer’s search in different ways.

The chart below serves as an introduction to the different match types, and we’ll give more information on each option in the sections below.

Match type Special symbol Example keyword Ads may show on searches that Example searches
Broad match none women’s hats include misspellings, synonyms, related searches, and other relevant variations buy ladies hats
Broad match modifier +keyword +women’s +hats contain the modified term (or close variations, but not synonyms), in any order woman’s hats
Phrase match “keyword” “women’s hats” are a phrase, and close variations of that phrase buy women’s hats
Exact match [keyword] [women’s hats] are an exact term and close variations of that exact term women’s hats
Negative match -keyword -baseball are searches without the term baseball hats

But I don’t want to explain the above match types today.  What I want to talk about today is the {Keyword:xxxxxx} function that you can add to your ad campaigns.

So what this tag does is you add it to your ad that you are writing.  I have an example below…

Effective {Keyword:Anti-Aging}
Hormone & Custom Vitamin Treatments
To Combat Aging. Call Us Today!

When you add this to you ad, you are telling Google to place whatever keyword the searcher typed into Google (that you have in your keyword repository) and place it in the ad that shows up in the results.  This can be powerful in that the keyword the person is looking for shows up in your ad so you have more of a chance of that person clicking thru to your ad than an ad that doesn’t have what the person is looking for.

It will also save some time from writing lots of ads and ad groups.  But your ad group keywords should be closely related because you are writing only a few ads.

The word “Anti-Aging” that comes after the “Keyword:” is the default keyword that will show if the keyword that the person typed in is too long for the ad.  It is probably best to use exact match or phrase match with this technique so you can keep the keywords short so they show in the ad.  The broad match and broad match modifier can produce really long tail keywords that are sometimes too long for the ad, therefore your default keyword will always show.

You can or choose not to add a word at the beginning or end but remember that it will take up space on the line for your keyword to show.

I hope this adds another tip to your Google Adwords strategy to get more click throughs from your ads.

Comments { 0 }

Internet Explorer is Unforgiving for Web Design

As I had just finished up a site for a client, which I think came out great, (http://Lynchfit.com), my client called me up a few days later and said that someone told him that they could not sign up to his mailing list.  When they clicked the field to insert their name and email, it did something funny and it wouldn’t let them sign up.  We were using good old Aweber and I thought it might have been the javascript conflicting with another code/script on the page.  Well, long story short, the widget I had the Aweber form in had a home page link in it which when clicked refreshed the page therefore creating an endless loop.  I fixed that but I always like to check how all my sites look in the 4 major browsers, IE, Firefox, Chrome and Safari.  The site looked great in all three but Internet Explorer.  I was getting an extra empty widget on the home page.  What the Heck?  I went through tons of code and even was on a chat with tech support from where I purchased the initial template from and they said they couldn’t help and that they would submit a ticket to the original coder to take a look.  Well who wants to wait for that while my clients site look like crap on IE.

So I did some more testing and more testing.  I removed parts of the home page one by one trying to eliminate the issue and I got it down to one area.  As i am looking at the coding, I am thinking to myself, what am I missing?  Everything looked good.  Then as I am about to call it quits for the night, I see the problem.  I left our a damn closing h3 tag!  Can you believe it.  All the other browsers are smart enough to know that at the end of a coding block with a div tag or a paragraph tag that your text size is completed, but not IE.  It is unforgiving.  I guess that it is kind of good in a way because it makes you have clean code.  But it is not good for your patience and time.

So remember your closing tags!

Comments { 0 }