I read somewhere it's better that file name to be the same as keyword or title is. My site is a photo gallery. For example in using the title "Fine Art Gallery" the page file name would be "fine-art-gallery.php" and for "Black And White With Colors" it would be "black-and-white-with-colors.php" The second file name is too long and Google don't like long URLs, so what I have to do? How long URL is suitable? If using "black-and-white.php" instead of "black-and-white-with-colors.php" is a right way?
Yes long URL are not preferable and they should be avoided as they have a negative impact on Google. Try to make it short, yes your idea is good go for it.
yes, image names wil also be great to be named after the keyword so it will also appear when a user search in google images.
Well it seems nobody has answered to how long was too long. I personally don't think your urls are too long is there are not that many token in front of them. Anyone, hard data about url length? @aliseo: you title tag is limited around 65-70 characters but your url can be much longer
Yes its useful to put keyword name in url . You can also use them in title, description, Css style sheet names like classes name etc, alt img names, hence any where in html code . It will increase the keyword density on that page and will be highly targeted page for visitor on such keywords . Regards, Najmi
Its preferable to buy a doamin with the keyword inside.. U can buy some pretty old domains of pr2 and 3 from Godaddy auctions at around $25-30.
the main thing that is most important with a page is keyword density and if you are using that keywords in url that will definitely help you in ranking but avoid long urls.
I'd try to keep them short. Don't worry too much about getting your whole keyword/phrase into the filename if it makes the URL long, there's more important places to be targeting keywords (content, page titles, alt text, h tags, etc)