• SimpleMediaCode.com
  • Services
  • WordPress
  • Hosting
  • Contacts
  • SMC @twitter
  • facebook.com/SimpleMediaCode
  • SimpleMediaCode.DK

Web development blog of SimpleMediaCode.com

Internet marketing, web development and maintenance of online communication

  • About blog
    • Write for Us
  • News
  • WordPress Themes
  • WordPress Plugins
    • Post Thumbnails In WordPress Feeds (WordPress plugin)
    • Draugiem.lv/lapas Fan page
  • Code Snippets
  • Internet marketing
  • Contact me
    • Write for Us
Blog and Code of web developer » Coding web page

Cache expiration on static images and content with .htaccess

January 11, 2011 at 10:07 pm | Coding web page
by Rolands Umbrovskis

You can tray this example,which I am using on my content delivery network (CDN) server ME2J.com…. Cache expiration on static images and content with .htaccess

Mini-optimization of statistics / analytics counters on your web page

September 20, 2010 at 4:34 pm | Coding web page
by Rolands Umbrovskis

Today working on site optimization, made small javascript optimization for several counters on website. Problem: You are using 2-4 statistic counters on Your page. Most of them are using javascript and for noscript mode image (GIF). Solution: Split them and … Mini-optimization of statistics / analytics counters on your web page

WordPress theme feature vs. WordPress plugin. What is best?

June 7, 2010 at 3:20 pm | Coding web page, Social network applications and plugins
by Rolands Umbrovskis

As WordPress developer I came to point where I have to decide: make some functions as WordPress theme features or make them more optional and theme independent as WordPress plugins. Both options have pros and cons…. WordPress theme feature vs. WordPress plugin. What is best?

Removing WWW from URI (or domain) with PHP

April 20, 2010 at 4:40 pm | Coding web page
by Rolands Umbrovskis

Few weeks ago I wrote how to remove WWW from domain with .htaccess. In some cases or hosting plans it’s not possible to view or use .htaccess file (e.g. some low cost or free hosting providers). Solution is PHP code which redirects all www requests to non www page…. Removing WWW from URI (or domain) with PHP

Remove WWW from domain with .htaccess

March 30, 2010 at 6:47 pm | Coding web page
by Rolands Umbrovskis

Another good thing about removing double content is to remove or add www prefix to your domain. Remove WWW from domain This is what I now use for all my domains – domain without www prefix. Add WWW to domain … Remove WWW from domain with .htaccess

How to add Google Buzz button to WordPress and Blogger

February 25, 2010 at 1:49 pm | Coding web page
by Rolands Umbrovskis

Already some days are working Google Buzz. I made short search on Google for possibility to add Google Buzz button to Blogger template. As I didn’t find it on first page, I decide to rewrite some of previous Blogspot template code, which I made earlier. And for WordPress blogs too…… How to add Google Buzz button to WordPress and Blogger

Remove index.html and/or index.php from the URL

February 22, 2010 at 7:56 pm | Coding web page
by Rolands Umbrovskis

Inspired by my discussion with Kaspars on his homepage konstruktors.com how to better remove index file. So I’ll post both versions, because they use different methods: with and with out RewriteEngine On…. Remove index.html and/or index.php from the URL

Categories

  • Coding web page
  • Facebook.com applications and pages
  • General posts
  • Hosting
  • Internet marketing
  • News
  • Online Tools
  • Social network applications and plugins
  • WordPress code
  • WordPress plugins and widgets
  • WordPress themes

Recent Posts

  • We have version control server (SVN)!
  • Blog moved to SimpleMediaCode.INFO
  • Content Strategy: The New SEO
  • 4 Marketing Channels Your Small Business Hasn’t Tried Yet
  • Server downtime at IHG Delta DC
  • Inviting guest bloggers to SimpleMediaCode blog
  • 5 Reasons Businesses Should Migrate to Google Apps
  • SimpleMediaCode.com has moved to WordPress
  • Redesign of our main WordPress theme (MB3 / meblog2) and moving forward
  • Cache expiration on static images and content with .htaccess
  • Mini-optimization of statistics / analytics counters on your web page
  • How to display Post Thumbnails in WordPress feeds [CODE]
  • Websites optimization: Every page is a Landing page
  • Looking for better hosting under $6/mo; Say Goodbye to GoDaddy hosting!
  • From MedaBox.lv/en to SimpleMediaCode.com