[Solved]Rewriting news URLs for showing the date

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
lukebo
New Member
New Member
Posts: 5
Joined: Sun Nov 18, 2007 5:30 pm

[Solved]Rewriting news URLs for showing the date

Post by lukebo »

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
Last edited by lukebo on Sat Nov 01, 2008 3:22 pm, edited 1 time in total.
alby

Re: Rewriting news URLs for showing the date

Post by alby »

lukebo wrote: 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:
There is this but remember that it's a hack

Alby
Locked

Return to “[locked] Installation, Setup and Upgrade”