Imagine my current flat-file no-CMS website with an URL like http://example.com/en/tomato
.
This is of course very unsexy and could be anything really from tomato soup, tomato the music band, tomato the movie, or more unlikely but still... just about tomatos!
So, I want to make it more specific for both real humans as well as search engines. Given: both the language code and short filename code are essential and cannot be replaced so somewhere there has got to be en
and tomato
preciding/following whatever delimiter like /
for .htaccess to do the correct invisible redirects to /tomato.php?language=en
.
Some options occured in my mind for the added words in URL:
A example.com/en/tomato/just-about-tomatos
B example.com/en/tomato/just-about-tomatos.htm
C example.com/just-about-tomatos/en/tomato
D example.com/en/tomato_just_about_tomatos
E example.com/en/tomato-just-about-tomatos
Question1: Which of these is the best for humans as well as search engines?
Question2: Which single elegant rule should make this happen in .htaccess?
Thanks for your suggestions and answers! Much appreciated.