Page 1 of 1

htaccess with pretty url

Posted: Sun Oct 10, 2010 7:18 pm
by milagro
Hello I have a problem with pretty url after I had edit my .htaccess file and set the subdirectory RewriteBase to my cmsmsdirectory. The url of my news module doesn't display correctly  http://www.domein.com/news/2/15/article

I have made this edit becours I had a problem with a external script see this old topic

Re: htaccess with pretty url

Posted: Fri Oct 15, 2010 7:12 pm
by Rolf
Hi Milagro,

Try to use the default htaccess.txt out of the /doc folder.
Copy it to the website root and rename it to .htaccess
Change RewriteBase /yourcmsmsdirectory again
And look again...

Got a link?

Rolf  :)

Re: htaccess with pretty url

Posted: Sun Oct 31, 2010 2:37 pm
by milagro
I tried to use the default htaccess.txt out of the /doc folder, but now the pretty URL doesn't work
http://www.domein.com/news/2/15/article

Re: htaccess with pretty url

Posted: Sun Oct 31, 2010 4:48 pm
by Rolf
Rolf wrote: Got a link?

Re: htaccess with pretty url

Posted: Sun Oct 31, 2010 8:27 pm
by Dr.CSS
Do you have $config['use_hierarchy'] = true;  this is needed for many modules to produce pretty URLs, is why they set it to true as default and took out the option a while ago, but it raised a stink for those trying to do URL tricks for SEO which is going to be way better in 1.9...