What is needed to create a keyword rich url via mod-rewrite? Can you use elements from your database for this?
Here's an example of my question. let's say I have a link that looks like this:
and when I mod-rewrite something like this I get:
In that example, all of the components of the mod-rewritten url are contained within the original dynamic URL but what if I wanted to have the new URL read more like this:
As you can see, I have a car parts database where record ID#12345 actually contains a radiator cap replacement for a Honda, manufacturer's part number L7523.
That information was not contained in my original dynamic link but within my database itself.
Is doing something like this possible with mod-rewrite and how hard is it to accomplish?
Here's an example of my question. let's say I have a link that looks like this:
Code:
hxxp://www.mysite.com/record.php?id=12345
Code:
hxxp://www.mysite.com/record/12345
Code:
hxxp://www.mysite.com/honda/L7523-radiator-cap-replacement
That information was not contained in my original dynamic link but within my database itself.
Is doing something like this possible with mod-rewrite and how hard is it to accomplish?