Hi guys,
I’m building a simple blog. So basically I have a homepage with some thumbnails of recent/featured blog posts. When you click a thumbnail, you should go to a page displaying the real content of the blog post. However, I’m not sure what’s the best way to create this page.
Is it okay to work with a querystring and the blog post ID and then just let PHP generate all the content from the database, like this:
www.myblog.com/blogpost?id=0001
This looks like a no-go having SEO in mind. Does it make any difference if I would use this:
www.myblog.com/blogpost?title=my-first-blog
Also, I don’t see a lot of blogs using querystring to display blog posts. Take Sitepoint for example, when you click a blog post you get a link like this:
www.sitepoint.com/3-javascript-orms-you-might-not-know/
How does this work, this is still a dynamic generated page, right? Is this some .htaccess rewrite trick? Or do people really generate full html-pages and store them on the server when they create a blog post?
So what’s the best approach to create this page for blog posts.
Many thanks!