[Solved]Rewriting news URLs for showing the date
Posted: Sat Nov 01, 2008 1:16 pm
Hi everybody,
I just turned mod rewrite on on my site with no problems at all.
Now I can see that news urls are formatted this way:
mysite.ext/news/1/66/News-Module-Installed
Url rewriting works correctly.
Is there a way to change those "1/66" (i guess they are the news category and id) into the news date, in order to have urls formatted like this:
mysite.ext/news/2008/11/1/News-Module-Installed
?
Thanks a lot in advance!
luca
I just turned mod rewrite on on my site with no problems at all.
Now I can see that news urls are formatted this way:
mysite.ext/news/1/66/News-Module-Installed
Url rewriting works correctly.
Is there a way to change those "1/66" (i guess they are the news category and id) into the news date, in order to have urls formatted like this:
mysite.ext/news/2008/11/1/News-Module-Installed
?
Thanks a lot in advance!
luca