Lets I have a search engine which searches for the query specified in the URL as exemplified :-
1. xyz.com/apple-ipod-touch
2. xyz.com/apple-macbook-pro
3. xyz.com/reebok-shoes
Now, depending on the URL, I wish to set the meta tags of my pages.
Please note that I don’t wish to change these meta-tags using javascript , as these have to be read by Facebook for publishing stream. So, I am expecting something which changes meta-tags in the server-side itself(like somehow through .htaccess). Is there any way to do the same ?
Any suggestions or links will do.
Please comment if I am unclear in asking my doubt.
Thanks !
Thanks !
If the pages are being created dynamically, than I would assume you’re using some sort of database to store information pertaining each product. So when you make a call, just simply placing something along the lines like
This is assuming you are using PHP, but basic scenario for other server side languages as well.