Let’s say I have this website about fruit. It’s database (MySQL) driven, so I have this template file, that gets populated using POST. But I want google to be able to find each food as a page. So if I’d search: banana, I would get something like this in Google:
Banana | Fruit Website
http://www.fruitwebsite.com/fruit/banana
This website will give you all information about the banana.
I know I have to rewrite
‘fruitwebsite.com?fruit=banana’ to ‘fruitwebsite.com/fruit/banana’
I also know how I have to do this and that I have to this in the .htaccess file.
The only thing I don’t know is how do I make the SEO friendly link in appear in Google. I’ve heard people say this should be done by adding the SEO friendly URL to your XML sitemap, but then my site wont’t have a title, nor a description, right? So the answer isn’t probably that easy.
I’m not an advanced PHP programmer, so if this could be done easily, but efficiently, that’d be awesome!
Thanks in advance!