I am working with mod_rewrite for the first time. I am going to present a scenario. Just let me know whether it's possible or not.
suppose I have a database table with three attributes table(id,title,parentid).
and my url to access the particular content looks like this:
example.com/content.php?id=some_value
Now, for some_value id , title is some_title. Is it possible that such that
example.com/some_title/
can be renamed to above url.OR
example.com/content.php?id=some_value&title=some_title
I may also have url such as :
example.com/content.php?id=some_value&title=some_title&parenttitle=parent_title
In which case entered url should be something like this:
example.com/parent_title/some_title/
If I haven't made myself clear do let me know. Again this is my first attempt at mod_rewrite. So even a small information will be very helpful.