Hello everybody,
I have pretty url's set for my CMSMS installation, which creates a news url like:
/news/10/98/item.html
/news/13/98/item.html
/news/12/98/item.html
I would like to change this into:
/projects/item.html
Is there a way I can achieve this?
Thanks,
Philippe
News module pretty url
-
chandra
Re: News module pretty url
Make a look at the News module Backend once again
- you can define an individual url for every article if you write a new article.
Re: News module pretty url
Hmm, I suppose that's with the new version of News.
I am using CMSMS 1.8.2 and have tons of modifications which I am afraid might not work on a CMSMS update and could cost me days to fix. I rather keep everything working perfectly the way it is now and look for a Htaccess rewrite option.
I suppose it should be a bit like the following:
I am using CMSMS 1.8.2 and have tons of modifications which I am afraid might not work on a CMSMS update and could cost me days to fix. I rather keep everything working perfectly the way it is now and look for a Htaccess rewrite option.
I suppose it should be a bit like the following:
Code: Select all
RewriteRule ^(news+[0-9]+[0-9]+)$ /projects/$1/ [R]-
staartmees
- Power Poster

- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: News module pretty url
It isn't advisable to keep the old version 1.8.2; it's already 4 years old. Upgrade to 1.11.10 asap for the safety of your website. Also version 1.8.2 is no longer supported, http://forum.cmsmadesimple.org/viewtopi ... 40&t=30336
-
chandra
Re: News module pretty url
Replacing the numbers is not a good idea cause this is needed to identify the template id and the article id
Re: News module pretty url
You can not use .htaccess mod_rewrite to change urls that CMSMS generates.
Perhaps you're able to redirect to an url without the numbers but you will loose functionality like chandra says.
Perhaps you're able to redirect to an url without the numbers but you will loose functionality like chandra says.

