Posts Tagged "shtml"

Expanding the Mailto tag

Expanding the Mailto: tag Introduction The Mailto tag is used as a way to include an email address on a web page which can be clicked on thus opening the visitors default email client with the email address pre-filled. The mailto code can e expanded to include multiple email addresses, email addresses to CC and BCC, the email subject and even a message body. Mailto: Tag The following is the basic mailto tag: <a href=”mailto:name@abc.com”>Mailme!</a> Which would result in: Mailme!…

Like to share it
Read More

301 redirect with htaccess

How to redirect web based page with .htaccess Following are the code to paste (be careful to write on .htaccess it can be messed up whole website if anything goes wrong) into .htaccess file 301 redirection for any domain : RewriteEngine On RewriteCond %{HTTP_HOST} !^www.olddomain.com RewriteRule ^(.*)$ http://www.newdomain.com [R=301,L] newdomainRewriteRule ^$ http://www.newdomain.com [R=301,L] RewriteRule ^index.htm$ http://www.newdomain.com [R=301,L] RewriteRule ^index.php$ http://www.newdomain.com [R=301,L] RewriteRule ^index.html$ http://www.newdomain.com [R=301,L] RewriteRule ^index.shtml$ http://www.newdomain.com [R=301,L] RewriteRule ^index.asp$ http://www.newdomain.com [R=301,L] RewriteRule ^default.asp$ http://www.newdomain.com [R=301,L] RewriteRule ^index.aspx$ http://www.newdomain.com…

Like to share it
Read More

Default page name for technology used in Internet

Following are the detault pages for website of technology based : 1) HTML Based default pages : a) index.htm b) index.html c) default.htm 2) PHP Based default pages : a) index.php 3) SHTML Based default pages : a) index.shtml 4) Classic ASP Based default pages : a) index.asp b) default.asp 5) .Net(Framework) Based default pages : a) index.aspx b) default.aspx 6) Coldfusion Based default pages : a) index.cfm 7) CGI/Perl Based default pages : a) index.pl b) default.pl Shashi Dhar…

Like to share it
Read More