PDA

View Full Version : meta tags question


phpnewb
01-03-2007, 03:29 AM
should there be different meta tags on each page of my site or should I have the same ones on every page

felgall
01-03-2007, 05:13 AM
It depends on which meta tags you are using and what you are using them for. You probably want the name="description" meta tag to be different for each page as many search engines use this as the page description. The name="pics-label" meta tag needs to be the same on each page so that browser know whether the site is allowed to display or not (depending on the content rating setting in the browser). The http-equiv="" group of meta tags are used to override page headers normally set server side and so should only be used if you don't have access to set the headers correctly server side (and even then it can only change some of the header info). The name="robots" meta tag should only be used if you want different settings for each page as otherwise using a robots.txt file is more efficient. The others can be left out completely as they are almost never referenced from anywhere and leaving them out will allow the page to load faster.