Hello,
I have a problem with my Mu Installation (subdirectory installation) :
When an user access his blog, it's ok.
http://blog.enseignons.be/morale
But as soon as he wants to access previous articles, the url is wrong :
http://blog.enseignons.be/morale/morale/page/2/
I guess it's because of the / missing at the end of the url. How could I add this / to all the blogs ?
Sorry, I didn't look in the trac :
http://trac.mu.wordpress.org/ticket/331
This htaccess solved the issue, but created a new one for images, etc.
It adds a / at the end of .jpg or .jpeg or whatever.
How can we create a non-dirty solution ?
lunabyte
Member
Posted 17 years ago #
You could write a quick function to analyze the URI, and if the last part contains a dot (indicating a file), then strip the trailing slash.
Yep, but i'm really a s*** in .htaccess
:(
Someone could help me in this ?
I commented the line that appears there and it fixed the issue for me. So far I don't see anything wrong, but I dont know what commenting that line out does.
I havent tried the htaccess.
Edit: I'd really like to know what editing it out could cause :D
As i did not find a function for this, in my opinion, this ticket is not solved for directory installations ..;
Am I the only one in this case ?
Thanks for your help