Category: Coding web page

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

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.

 
 

Removing WWW from URI (or domain) with PHP

Coding web page 228 views

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.

 
 

Remove WWW from domain with .htaccess

Coding web page 310 views

Another good thing about removing double content is to remove or add www prefix to your domain. Remove WWW from domain # This will remove www from your domain RewriteCond %{HTTP_HOST} ^www\.mediabox\.lv$ [NC] RewriteRule ^(.*)$ http://mediabox.lv/$1 [R=301,L] This is what I now use for all my domains – domain without www prefix. Add WWW to [...]

 
 

How to add Google Buzz button to WordPress and Blogger

How to add Google Buzz button to WordPress and Blogger
Coding web page 502 views

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…

 
 

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

Coding web page 861 views

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.

 
 
 



bt bt bt bt
plugin by DynamicWP
#