Forum Moderators: phranque
Just wondering how you go about incorporating the name of a headline into a URL?
As an example:
FROM:
[domain.com...]
TO:
[domain.com...]
'13016370' is the ID number from the DB so essentially you just select the news heading from the DB according to item number.
Any ideas?
Many Thanks.
Woldie.
If you're stuck with .htaccess, then have your page-builder create links like
/news/13016370/some_headliner_goes_here.html
and then use mod_rewrite to strip off the unneeded headline if necessary.
Another alternative is to use the script to do both functions, if you can retrieve an article by headline.
Jim