sh404sef and MC 3.0

callweb
callweb
Offline
0
Hi, i have sh404sef installed and it kind of works but not as i wanted.

Since there is a plugin for the 2.1 version i don't understand if with MC 3.0 i need to install anything or if it already included with the package or it just works because it's compatible with no special plugin.

My site is multilingual so my url is: website.com/en/b/37-artist-name/23-album-name/237-song-name

I can go manually to sh404sef and change url but this would be impracticable as i will have too sings and in 4 languages.

I i will like to have automatically would be: website.com/en/artist-name/album-name/song-name (skiping letter and component ID's)

i don't have default ID because i have several home menu for the languages.

Is this possible to configure??

Thanks 4 Support

Accepted Answer

Friday, March 31 2017, 09:31 AM - #Permalink
0
the only thing I can think of is:
in the plugin file, on line 45, you find this:

$titol_menu = (empty($titol_menu) || $titol_menu == '/') ? 'MusicCollection':$titol_menu;


you can replace this MusicCollection part for whatever you want.
The reply is currently minimized Show
Responses (8)
  • Accepted Answer

    Tuesday, March 28 2017, 09:02 AM - #Permalink
    0
    well, our sh404sef plugin should already do this. do you have sh404sef configured so it will use the plugin for MC instead of "normal" routing?
    The reply is currently minimized Show
  • Accepted Answer

    callweb
    callweb
    Offline
    Tuesday, March 28 2017, 01:24 PM - #Permalink
    0
    In my downloads area i don't have any sh404sef plugin and in the MC extensions there is a plugin for version 2.1 which i can't down download (says i'm not allowed), so i guess i don't have it installed. Can you objectively confirm if i should install that 2.1 plugin on my MC 3.0?

    If so can you send me the file?

    In sh404sef configuration/components it's configured to use sh404sef plugin if it is available. My guess is that it's not available. is there any further configuration i should do?

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 29 2017, 09:49 AM - #Permalink
    0
    fins the file attached.

    yes I can objectively confirm that.
    The reply is currently minimized Show
  • Accepted Answer

    callweb
    callweb
    Offline
    Wednesday, March 29 2017, 01:23 PM - #Permalink
    0
    This zip file as no installation support files. Can you please tell where should i put the php file?

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    callweb
    callweb
    Offline
    Wednesday, March 29 2017, 02:38 PM - #Permalink
    0
    Nevermind previous post, the instructions are in the downloads page.

    I've installed it and my url is now (in ex.): mysite.com/en/musiccollection/b/boy-teddy

    Is it possible to get rid of "musiccollection" or at least translate it to each language?

    Please mind that i don't have any default menu item because of multilingual menus

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 29 2017, 03:45 PM - #Permalink
    0
    if you don't have a default menu item I don't think sh404sef extension will allow you to translate that part... in any case you have to look into the extension's options.
    The reply is currently minimized Show
  • Accepted Answer

    callweb
    callweb
    Offline
    Thursday, March 30 2017, 09:06 PM - #Permalink
    0
    I've contacted sh404sef support and they have confirmed me that the url is formed by the component, not by sh404sef itself.

    So i must ask you, how can i remove "musiccolection" from the url since this is being generated either by MC or by MC's sh404sef plugin.

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    callweb
    callweb
    Offline
    Friday, March 31 2017, 11:24 AM - #Permalink
    0
    This did the trick, thanks. I've commented out the entire line and i could get rid of the "musiccollection" part.
    The reply is currently minimized Show
Your Reply