By Marc on Tuesday, 21 March 2017
Posted in Technical Issues
Replies 9
Likes 0
Views 400
Votes 0
When we activate the URL shortner, spaces get translated to dashes.
So the username Golden Boy becomes golden-boy.
However, that URL gives a 404 error.
If I manually replace the dash with a %20 the URL works correctly.

eg username is Golden Boy

Pre URL shortner: http://www.kiwiklub.com/profile/31441-golden-boy (works correctly)
Post URL shortner: http://www.kiwiklub.com/golden-boy (gives 404 error)

However, this URL works correctly: http://www.kiwiklub.com/golden%20boy

How do we fix this so that usernames with spaces and special characters work correctly?
Hey Mar,

Actually how to access your Cpanel page because when I access that URL you provided, it didn't redirect to your Cpanel page, is there a way setup a FTP user account so we can easier to connect with your FTP to troubleshoot this issue?
·
Tuesday, 21 March 2017 19:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Unfortunately we don't use FTP at all on our servers.
However, the links should work fine from a browser (you might need to click Advanced to proceed)
·
Tuesday, 21 March 2017 23:19
·
0 Likes
·
0 Votes
·
0 Comments
·
It does the same on a second site we run, where all that's installed is Joomla 3.6.5, Rockettheme gantry 5, EasyBlog 5 and Easysocial. Both sites run on PHP7.

Unfortunately the URL shortener isn't installed on the stackideas site to test
·
Wednesday, 22 March 2017 13:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Marc,

I am sorry for the delay of this reply,

It seems like i found out why some of the user profile link work correctly even the name got space, because these user did stored their alias from this table #__social_users, now I will try to check whether we can detect if some of the user didn't have the alias data, so it will not messed the user profile link.

I will keep you update once I figure out this.
·
Wednesday, 22 March 2017 17:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Can I have the permission to run a script to update all those user who missing the user alias data from #__social_users table?

Because i suspect those user do not have stored those user alias data in previously.

Can you do a full backup from your database data so I can perform run a script on your site?
·
Wednesday, 22 March 2017 20:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Alex,

We backup everything daily so that shouldn't be a problem.
Alternatively, you can use the test site which is located at http://www.sexydate.co.za (same login details)
·
Wednesday, 22 March 2017 22:31
·
0 Likes
·
0 Votes
·
0 Comments
·
I've run a script to update all the user alias from your site, can you check again is it everything work fine now?
·
Wednesday, 22 March 2017 23:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Awesome.
That seems to have resolved the problem for most of the members.
It seems that the problem stems from the import done from Jomsocial 2 years back, where the alias wasn't created on import.
Still have quite a few where the alias is empty but I can run a script to set those aliases for members with spaces (and @ signs and other weird stuff )
·
Thursday, 23 March 2017 04:48
·
0 Likes
·
0 Votes
·
0 Comments
·
it sound like quite true is because when the user register in Easysocial, it will store the user alias in Easysocial table.

Alright, keep us update if you need any further help.
·
Thursday, 23 March 2017 11:12
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post