By using this site, you agree to our Privacy Policy and our Terms of Use. Close

Forums - General - Why do websites have a link to the main page on the main page?

What's up with that?  Is there something about it that I don't understand?

Someone please explain.



Switch: SW-5066-1525-5130

XBL: GratuitousFREEK

Around the Network

so you can return to the main page if you are in some other part of the site, its easier than pressing back 10 times



Wii/Mario Kart Wii Code:2793-0686-5434

I'm talking about the main page.



Switch: SW-5066-1525-5130

XBL: GratuitousFREEK

another way to refresh?

I guess...



Cougarman said:
so you can return to the main page if you are in some other part of the site, its easier than pressing back 10 times

*facepalm* No, he said why do they have a link to the home page ON the home page..... Edit: beaten to it....

OT: It's because they use a server-side command that includes the html code of an external page into the code of every page on the site and that page almost always includes a link to the main page. (an overview of the PHP version of this command can be found here) The reason for using this method is so if you want to change the header/nav bar of your site, you don;t have modify the code of hundreds (or thousands) of pages to make the change. You can simply modify one page and be done with it. The odd side effect of this, though, is the weird link to the main page ON the main page....

 



Not trying to be a fanboy. Of course, it's hard when you own the best console eve... dang it

Around the Network

^ i thought he meant the home page link almost every site has



Wii/Mario Kart Wii Code:2793-0686-5434

@Retrasado
Thanks, it's all clear to me now.



Switch: SW-5066-1525-5130

XBL: GratuitousFREEK

Interesting.............