• Home
  • Get help
  • Ask a question
Last post 5 hours 46 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67862
All time tickets 10487
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#835 – Interesting thing...

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 11 August 2015 21:55 UTC
amelcher
I got a msg today from a jomsocial community member who got a 404 page when he tried to open the message. I looked at the msg title and it was this:
 https://www.xxxx.org/inbox/65-your-post-n.i.c.o

obviously those periods in between the initials for the n.i.c.o are most likely what is the culprit. What setting do I have to do in the sh404 component to replace the periods with another item so it doesn't happen in the future as well?

Thanks for making such a great product :)



(BTW - I finally got Jomsocial to acknowledge the groups joomla 3.0 compliance issues and they just released a new release that addressed it and so far it appears to have been resolved on their end :)

Adam
Wednesday, 12 August 2015 09:03 UTC
wb_weeblr
Hi

You have two options:

You can have dots entirely removed, if you put them in the Strip characters list, or you can replace them with another character (preferably a dash -) if you add them to the Character replacement list
In that last list, you should add:
,.|-

at the end of the current list. This won't effect existing URLS, unless you manually customize them.

THe problem actually comes from the Joomla default .htaccess file, which allows URL rewriting only for a few suffixes: html, htm,php, feed,pdf and raw

So another option would be to comment out that line from the .htaccess file, and you don't have to change your URLs:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/component/) [OR]
## Commented out RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

I'll probably change the default value for this setting, so that dots are replaced, but that won't take effect for existing URLs (and is a backward compatiblity issue anyway).

(BTW - I finally got Jomsocial to acknowledge the groups joomla 3.0 compliance issues and they just released a new release that addressed it and so far it appears to have been resolved on their end :)
Allelujah!!!

Rgds
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.