Skip to content
  • English
    • Greek
Call us now! +44 (0) 2037347158
WPCS 1.1.9
SBZ Systems
  • Software
  • eCommerce
  • Support
    • EMDI
    • General Issues
    • Remote
    • Client area
  • Company
    • News
    • Partners
    • Quality Management
    • Contact

More results...

  • Software
  • eCommerce
  • Support
    • EMDI
    • General Issues
    • Remote
    • Client area
  • Company
    • News
    • Partners
    • Quality Management
    • Contact

More results...

Force redirect to www using .htaccess

  • Post published:14/10/2015
  • Post category:Free source (Delphi, PHP, Perl) / Web development

Edit your .htaccess file and add the following:

1
2
3
4
# Redirect to wwww
RewriteEngine On
RewriteCond %{HTTP_HOST} ^[0-9a-zA-Z-]+\.[a-zA-Z]{2,}$
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

 

Categories
  • Android development
  • Asterisk (Issabel, FreePBX, Elastix, Trixbox)
  • Databases issues and tips
  • Firebird
  • Free applications
  • Free source (Delphi, PHP, Perl)
  • Linux general issues
  • OpenOffice / LibreOffice / Microsoft Office
  • Tax Mechanisms issues
  • Third party useful software
  • Useful attachments in Word format
  • Web development
  • Windows general issues
Latest
  • Opencart X-Shipping rules settings for shipping.
  • White page on opencart HTTP ERROR 500
  • Decimal Round Up (PHP)
  • Secure CMS changing the admin address
  • Changing RSS feed url on WordPress
  • Export fields from brands, manufacturers – WooCommerce WordPress SQL script
  • DNS setup for gmail, hotmail, yahoo in DirectAdmin.
  • Convert tables from innodb to MyISAM – WordPress
  • Programmatically selecting a TTreeView node by index – Delphi
  • Field appearance under certain conditions and line change – FastReport

SBZ SYSTEMS

20 Iasonidou Str. (1st floor)
16777 Elliniko, Athens, Greece
Tel.: +30 2118002930
272 Bath Street, G2 4JR
Glasgow, United Kingdom
Τel.: +44 (0) 2037347158

SUPPORT

  • EMDI
  • General
  • Remote
  • Client Area

COMPANY

  • About
  • News
  • Quality Management
  • Contact

OTHER

  • Sitemap
  • Jobs
  • Payment policy
  • Terms & Conditions
                        

Copyright © 2023 - SBZ Systems
Support