& family | The Official Homepage
In this tutorial, i’ll let you know how to put a ‘www ‘ in front of your domain name, so if you have a domain name like askme.com, then you can seperate some of your service using additional service marker like www, mail, proxy, or even private in front of your domain name.
To putting this domain marking, you can use a .htaccess file which is containts :
RewriteEngine on
# Add a leading www to domain if one is missing. #
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]# Add a trailing slash if needed #
#RewriteCond %{REQUEST_URI} ^/[^.]+[^/]$
#RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1/ [R=301,L]
Put the .htaccess in the root of your site. If you don’t know how to create a .htaccess file, it’s really easy, open your notepad from your start menu, then just copy and paste the script above into your notepad, then save the file as .htaccess file, then upload it into your root directory of your site.
Goodluck to trying!!!
Terima kasih kepada Allah, SWT yang telah menganugrahkan hidayah dan rahmat yang tidak dapat dihitung dengan akal manusia.
Terima kasih kepada kedua orang tua kami yang telah membesarkan dan mendidik kami menjadi orang yang sebagaimana sekarang ini.
Terima kasih kepada sahabat, teman dan kolega kami yang menjadikan hari-hari kami berarti dan penuh dengan pembelajaran disetiap detiknya.
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
Leave a reply
You must be logged in to post a comment.