I want to create a site where you can review different things in the town. Example could be a Restaurant, a park, a doctor, a school. The user creates review and uploads pic if he has. I want to create a new page for a new item. Basically it would be similar to what craiglist do. When you create a new ad, a new page is created, as in example below.


  1. Does anyone know what framework craigslist is using?

  2. How would I achieve this in PHP, MYSQL?

  3. A side question. I know of one approach that I can take but I am a little reluctant on that. For example www.mywebsite.com/review.php?item_id=12. There is basically one page and the review is taken of out the database based on the item_id supplied. Is this approach better or the craiglist approach? In short

www.myreviewwebsite.com/review.php?id=123 vs


Which one is better from marketing point of view, esthetic effect, functional, maintenance and more practical. (note I think I am going to create a separate question of no.3)

  • You seem to be asking at least two questions there - the answer to the one in the title is not going to the same as the one in your body - which is the more useful question. Jan 13, 2012 at 11:36
  • See the following answer for a good discussion on querystring/full path question: webmasters.stackexchange.com/a/479/60 Jan 13, 2012 at 11:39
  • @slow diver I've changed the title and numbered your questions. If you make number 3 (hopefully that's the right number now I've changed it) a separate question can you please edit this one to get rid of it. It's best if make it a separate question soon. Jan 13, 2012 at 12:22
  • @paulmorriss, thanks for the edit. Looks good. Sorry I just wanted to ask quick.
    – TheTechGuy
    Jan 13, 2012 at 12:41
  • 2
    If you don't have time to properly format/phrase a question on something as potentially broad as you suggest, you surely won't have time to undertake it?
    – Anonymous
    Jan 13, 2012 at 15:01

2 Answers 2

  1. No. If it consists of a lot of html pages they've probably got some custom programming creating static html files.
  2. I'm afraid I'm not going to design your site for you.
  3. The answer is, it depends. For what you want it's probably easier to use the www.mywebsite.com/review.php?item_id=12 approach, as then you can use tools like PHP and MySQL, rather than writing your own system like Craigslist. It's easier to maintain, you can use similar templates for all pages. For SEO purposes you might want to embed some words in the URL too, like this site does.
  1. I'm not aware of any imparticular framework Craigslist are using and that really shouldn't be the focus here. What you'd like to achieve is do-able in a multitude of languages and frameworks for the web.

  2. This part of your question is far too vague, this can be done in a number of different ways with varying complexity depending on the features you'd like to implement. It could be as simple as having a database with the following schema:

    Review Type (School/Business/Restaurant)
    Review Body
    Reviewer's Name

    ...then the necessary PHP to enter and recall the data.

  3. As for getting the data from a query string, the two examples you've given are very much the same with the exception of url rewrites being applied to the second. Lookup the mod_rewrite Apache extension for how to do this.

Hope that sets you on the right tracks.

  • My most important question is 2) How do I create dynamic pages like 1234.html when a new review on a new topic is created. 3) Which approach is better from SEO standpoint and looks/or otherwise.
    – TheTechGuy
    Jan 13, 2012 at 15:26
  • 2) that's not a dynamic page. You have to have something on the server side creating a static page. 3) see my answer Jan 13, 2012 at 16:20
  • well I meant it is generated dynamically (but yest it is static html). I guess if review.php?id=12 approach has no bad side effects from SEO point of view, I will stick with that approach but a well explain answer will be helpful.
    – TheTechGuy
    Jan 13, 2012 at 16:29
  • I don't know how more specific we can be. You turn review.php?id=12 into 12.html with the mod_rewrite Apache module I linked you to...
    – Anonymous
    Jan 13, 2012 at 21:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.