You can use .htaccess file to redirect URLs to different URLs. Here is your trick.
First you need to on the rewrite engine.  To do so, open your .htaccess using notepad.  Then add this line

RewriteEngine On

After that you can add the redirect rules to your .htaccess.

Here is the syntax:
redirect accessed-file URL-to-go-to

RewriteEngine On
/site/index.html http://mysite/index.html

[code]// This script sets OSName variable as follows:
// "Windows" for all versions of Windows
// "MacOS" for all versions of Macintosh OS
// "Linux" for all versions of Linux
// "UNIX" for all other UNIX flavors
// "Unknown OS" indicates failure to detect the OS[/code]

[code]var OSName="Unknown OS";
if (navigator.appVersion.indexOf("Win")!=-1) OSName="Windows";
if (navigator.appVersion.indexOf("Mac")!=-1) OSName="MacOS";
if (navigator.appVersion.indexOf("X11")!=-1) OSName="UNIX";
if (navigator.appVersion.indexOf("Linux")!=-1) OSName="Linux";
document.write('Your OS: '+OSName);[/code]

If you would like to remove the dotted which is around the links, there is a trick for it.
You can see there is a dotted line box around the navigation tabs.
Mostly, it is appeared when the user click on the links.
To remove that dotted, just add below css rule to your stylesheet.

[code]a {
outline: none;

Many web hosting providers, for example BlueHost and JustHost (only $2.95/month now – when I registered, it was $6.95 Jesse!), allow customers to host more than one domain from a single purchase (add-ons). Add-on domains usually point itself to a sub-folder under public_html or www. However, the main domain recognizes public_html as its root, which may lead to some development issues. This article explains why it is good to have the main domain sitting under a sub folder and how to do code to make it in action.

Continue reading