By Harry Patel on Sunday, 07 August 2016
Posted in Technical Issues
Likes 0
Views 579
Votes 0
Hi There,

Just wondering how can I hide/remove double words in link? Please see below example.

http://abc.com/videos/videos/item/test-vid-3/item

in above link there are two videos in the link and one two items after and before title (test-vid-3), I would like to remove one videos and both items from the link, if I use custom alias than its works for particular only for one link, I would like to apply for all link in video section of easysocial.

Same thing for events too..
http://abc.com/events/events/6-general-2

please advice.

Thanks

 
It seems like that was bug, can you try download my attached file and replace into this file location and see how it goes?

JoomlaFolder\components\com_easysocial\themes\wireframe\videos\item.php
·
Wednesday, 10 August 2016 18:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey harry,

Try download my attached file and replace into following file location and see how it goes?

JoomlaFolder\components\com_easysocial\sef_ext\videos.php
JoomlaFolder\components\com_easysocial\sef_ext\events.php


Note : After you replaced these file in your site, you have to purge all the SEF cached URL from Sh404sef, so that they will help you regenerate the correct SEF URL again.
·
Monday, 08 August 2016 15:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Thanks for your reply.

Provided files are helped to remove double names in event and video but still have "item" in the link, is there any option in setting where I can hide or change "item" words.

please see below link as example.

http://abc.com/events/item/1-test-event-title?view=events

http://abc.com//videos/item/test-vid-2?view=videos

Please advice.

Many Thanks
·
Tuesday, 09 August 2016 17:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Try download my attached file and replace into following file location and see how it goes?

JoomlaFolder\components\com_easysocial\sef_ext\videos.php
JoomlaFolder\components\com_easysocial\sef_ext\events.php


Note : After you replaced these file in your site, you have to purge all the SEF cached URL from Sh404sef, so that they will help you regenerate the correct SEF URL again.
·
Tuesday, 09 August 2016 23:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Thanks for reply,

I think we got another minor issue , when we go on video page and on the bottom there are other videos, if you click on video thumbnails its works well but if you click on title than its stay on the same page.

please see below link for your note.

http://gujarati.nz/videos/test-vid-4

Please see above link and try to click on any of other videos.

Regards,
·
Wednesday, 10 August 2016 05:53
·
0 Likes
·
0 Votes
·
0 Comments
·
HI Arlex,

Its working charm, thanks for your help.

Just wondering recenlty easysocial got new version update and does new update have changes in this files?

Alos on registration page, detect location not working do I have to set somewhere in settings?

http://gujarati.nz/community/registration

Thanks,
·
Saturday, 13 August 2016 19:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

Its working charm, thanks for your help.

Just wondering recenlty easysocial got new version update and does new update have changes in this files?

JoomlaFolder\components\com_easysocial\themes\wireframe\videos\item.php

This already fixed in latest version of Easysocial 1.4.12.

JoomlaFolder\components\com_easysocial\sef_ext\videos.php
JoomlaFolder\components\com_easysocial\sef_ext\events.php

But this 2 files at above is consider customization, so you have to always do a backup on this 2 files before update.

Alos on registration page, detect location not working do I have to set somewhere in settings?

http://gujarati.nz/community/registration

Regarding this new question, I would suggest you start a new thread and provide us with your following site details.

- Update to latest version of Easysocial and replace back to your customization file.
- Try get Google map API key from your account, you can refer on our similar documentation here : http://stackideas.com/docs/easyblog/administrators/configuration/how-to-get-google-maps-API-key
- Once you get the secret key, start a new thread and provide us with your Joomla backend and FTP access
- Because that was known issue since we can't fix this in the current version, so have to manually to modify some of the file and do some compile from your site in order to make this work, but we already include a better fix in Easysocial 2.0 development version.
·
Sunday, 14 August 2016 12:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Harry, i was using sh404 for a year and i removed it finally, it was causing lot of bug then increasing my SEO.
Its my personal experience
·
Tuesday, 16 August 2016 21:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing Jan
·
Tuesday, 16 August 2016 22:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Jan, thanks for your support, with your experience would you recon any which seo plugins works best?

Thanks Arlex for your kind support.

Regards
·
Wednesday, 17 August 2016 15:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Harry, we dont use any seo plugin for the moment, i think joomla seo is enought if you dont need specific features! Maybe Arlex can tell us what they think @SI if we need seo apps ?
·
Wednesday, 17 August 2016 16:00
·
0 Likes
·
0 Votes
·
0 Comments
·
hey Harry,

What Jan said that is true because now latest version of Joomla SEO is quite better than older version.

But based on your beginning request is remove those duplicate alias and the `item` segment from the URL, this is actually quite hard to customise in the Easysocial router core file, but we can easier to modify our sh404sef plugin file to achieve this. This is the good thing you can customise the URL base on what you want through the SH404sef.

To be honestly, I do not have any suggestion for which SEO plugin is the best, I am sorry that couldn't help much you guys here.
·
Wednesday, 17 August 2016 16:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Can you also add this in Groups?

The url for groups looks like this:

groups/groups?filter=all&view=groups

By the way, how do I remove the group id in the group view widget links list of Categories?

Thanks,

Jackson
·
Friday, 26 August 2016 00:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

LAC Webadmin wrote:

Hi Arlex,

Can you also add this in Groups?

The url for groups looks like this:

groups/groups?filter=all&view=groups

By the way, how do I remove the group id in the group view widget links list of Categories?

Thanks,

Jackson


In addition to my posting above, I tried to play around with the video.php and trying to add the video category to the url like:

videos/videocategory/video-name-alias

the default is:

videos/video-name-alias

I tried to do this:


// For videos, we need to get the beautiful title
if (isset($id)) {
// Get the video alias
$videoAlias = getVideoAlias($id);

// get the video category alias
$videoCategoryAlias = getVideoCategoryAlias($id);

// Set the video alias
$title[] = $videoCategoryAlias . '/' . $videoAlias;
}


But the resulting url does not show the correct category name where the video is. Check this out:

http://webnew.lakeave.org/videos/all

Thanks,

Jackson
·
Friday, 26 August 2016 06:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Friday, 26 August 2016 09:55
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post