• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 227
  • Last Modified:

PHP Redirects QueryString to Page

I would like to improve SEO results for a site that is currently being fed by a database and as such has pages with things like gallery/index.php?id=55 with a title of Golden Image

How do I convert a dynamic ID driven page to go from
http://www.mysite.com/gallery/index.php?id=55 (title: Golden Image)
to
http://www.mysite.com/gallery/golden-image/

I have to assume this can be done, but I need a starting point.  Ideas?
0
mopar003
Asked:
mopar003
  • 3
  • 2
1 Solution
 
Marco GasiFreelancerCommented:
0
 
Jagadishwor DulalBraces MediaCommented:
You will need to manage your code which will load page by title not by id if the page have unique title or seo friendly link then your can do it. Can you post your table structure??
0
 
mopar003Author Commented:
I am running on a Windows IIS6.  I dont think mod_rewrite works for IIS.
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
Marco GasiFreelancerCommented:
There is an extension for IIS you can read about here: http://www.iis.net/downloads/microsoft/url-rewrite, but I can't help you since I use Apache :)
0
 
mopar003Author Commented:
Table structure is:
ID     TITLE                 CATEGORY  MOREINFO

55     Golden Image   Paintings    Lots of details about this product


so instead of gallery/?id=55, I want gallery/paintings/golden-image/

gallery/CATEGORY/TITLE/
0
 
Marco GasiFreelancerCommented:
I'm very glad my little effort helped you. Thanks for points! :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now