0
How to give a valid link to a website like google.com?
Guys how can i add a link in a website like now it shows that C://index.html but i want this http://www.yoy.com pls give me ans
4 Réponses
+ 2
Quazi Taneem Ahsan you start out with http://www.yoy.com/index.html and you do what is called a 301 redirect to clean up the landing page using a meta tag for a permanent move url
meta http-equiv="refresh" content="0; url=http://www.yoy.com"
this can also easily be done in c# inside the script tags as:
script language="C#" runat="server">
// ASP.net permanent relocate
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.yoy.com");
Response.End();
}
0
You must contact the hosting company, buy or rent the domain name you want (in your case, www.yoy.com) and an SSL certificate. Then upload your code to the interface of the hosting company and your site will be available at this address for other users
0
Anna/Аня that's fine but say you go to Wix or GoDaddy ... they have a built in web administrator platform you still even after registration need to do a 301 redirect to your new domain name otherwise you will have yoy.wix.com or yoy.godaddy.com as well as www.yoy.com which will cause duplicate search engine errors and often lead to sandboxing your website indexing...
0
BroFar I described the big picture, without nuances.