SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2011
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Dynamic Page Creation

    Hey everyone. This could very well be a super easy question, but I was thinking about it and am not sure how to approach it. Basically I have a website built on Wordpress. I want to integrate a car inventory into it, and I have the inventory stored in a mySQL database. However I do want each page to have a unique "url" corresponding to the unit for SEO sake, therefore generating an illusion of these "dynamic pages" being made when a user clicks on a particular inventory unit drawn from the database. I wasn't sure how to search for this problem, as most sites use "dynamic" and "php" in different lights usually. Could someone please point me in the right direction? Thanks.

  2. #2
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you a programmer? If not I think you have to learn PHP Programming and some knowledge of mod_rewrite of Apache to rewrite the URLs as per your requirement. Otherwise if you want it to have done as soon as possible then hire some Wordpress developer to do it for you.
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5

  3. #3
    SitePoint Enthusiast
    Join Date
    May 2011
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, I'm completely comfortable with PHP and all that. I have just not had this "problem" to tackle before and wanted to make sure I was going in the right direction with it. So the mod_rewrite method is the most effective way?

  4. #4
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, just to rewrite the URLs as per your requirement, it is the better and effective way. Then I hope you can manage how to send the values from rewrite rule and get it in the PHP and query the database accordingly. Good luck!
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •