• 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 » duplicate content

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

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