Welcome to the Tidy Design News Blog
A blog for developers, marketing gurus, designers and clients... Articles and news on SEO, JavaScript, CSS, XHTML, PHP, Photoshop...

Archive for June, 2011

Redirect www.domain.com to domain.com using .htaccess

Sunday, June 26th, 2011

Just a quick blog post to share a cool little trick; how to redirect www.domain.com to domain.com using .htaccess

Ok, an Apache Web server supports URL rewriting with the mod_rewrite engine, so if you place various rules within a .htaccess file on your server, you can assist both search engines (who can usually figure out which format is preferred) and people who visit your site.

How to redirect www.domain.com to domain.com

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.domain.com [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301]

And if you wanted to re-direct domain.com to www.domain.com then you would use

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^domain.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]

Please note that both of these rules are search engine friendly, plus if you have pages within your site such as about.html or contact.php then the rule will also apply to them! There is also no right or wrong when it comes to domain.com or www.domain.com, it is personal preference!

Back from Italy

Sunday, June 19th, 2011

After two weeks relaxing in a converted farmhouse in Tolentino, Le Marche it was kind of sad returning home to a wet and windy London Stansted Airport yesterday afternoon!

During our stay in Italy the weather varied each day, from intense thunder and lightening storms to extreme heat and wall-to-wall sunshine! But the variety was nice, I found time to start writing (and complete) a children’s story book, make 25+ illustrations, take lots of photos, read, unwind and re-boot after a busy 6 months at Tidy Design! Here are a few macro shots I took:

Tidy Design

Above: Some kind of crop!

Tidy Design

Above: An unexpected dinner guest!

Tidy Design

Above: Flowers in the garden

Tidy Design

Above: Butterfly with pool and villa in background

Everyday we would observe (from a distance) an Italian farmer walking the hills opposite for 12+ hours a day, his trusty dogs and flock of sheep never far away. This observation often got me thinking about our different lifestyles, culture, the importance of self-sufficiency, and the work we do… Notepad in hand I took full advantage of limited (often zero) internet / mobile signals, jotting down new ideas and plans for the future.

Tidy Design

Above: View of pool before a BIG storm!

Tidy Design

Above: Photo of lake Fiastra

Tidy Design

Above: University of Macerata

So… now the holiday is over, a ‘back to work’ frame of mind has kicked in. Today I purchased a new note pad for the inevitable Tidy to-do lists… Rosie spent a small fortune stocking up the cupboards with coffee and food for the weeks ahead.

During the second half of 2011 Tidy Design has plenty to look forward to, it is these exciting events, occasions, projects and goals that make coming back from an amazing holiday such as this, not such a bad thing!

I am confident that one day we will re-visit the hills of Tolentino, Italy… For now we have photos, memories and suntans to remind us how important it is to graft harder and reach goals in our life.

Re-charged and refreshed it is back to work for Tidy Design!

We like to keep busy!

We have developed and licensed out a Hotel Booking System.

We created Montgomery Moon and setup the site Business Networking Link to help support start-ups.

To find out more about our other tidy adventures and business ideas please visit MJWARD UK

About Tidy Design

Based in Southsea, Portsmouth we are a small but highly motivated team of web design and SEO dudes who love what we do!

Our aim is to provide real value and inspiration to people looking to get on the web and grow their business.

Read more.

Blog Admin

© 2012 Tidy Design
Log in

 twitter icon