Hi,
I have the following question - I'm planning on using the news module for publishing articles. However, I don't want the url of the articles to be something of the sort http://localhost/news/14/22
I want it to be http://localhost/something/14/22
Anyone have the idea how to change this in the news module?
Thanks in advance
Question about the News module
Re: Question about the News module
I beleive you would have to go thru the news module files and change every instance of news/News.
This would in essence create a new module.
This would in essence create a new module.
Re: Question about the News module
This is a noobie question, I know, but how can I do that the easiest way?
The news module works fine for me, except for the addresses that it generates.
The news module works fine for me, except for the addresses that it generates.
Re: Question about the News module
If you have mod_rewrite (apache or lighttpd), it should be straightforward without any code modification : one configuration line (RewriteRule)
PM
PM
Re: Question about the News module
Hi, can anyone explain exactly how to do that?
where do we make the change?
thanx!
where do we make the change?
thanx!
Re: Question about the News module
With mod_rewrite (see the doc on apache site : http://httpd.apache.org/docs/2.2/misc/rewriteguide.html), something like this in .htaccess :
RewriteEngine On
RewriteBase /
RewriteRule ^something/(.*)$ news/$1
not guaranted, but somewhat on the way
PM
RewriteEngine On
RewriteBase /
RewriteRule ^something/(.*)$ news/$1
not guaranted, but somewhat on the way

PM