Search engine friendly

abdessamad
abdessamad
Offline
0
Hello,

how can I make the search results URLs "search engine friendly"?

from that
www.domain.com/index.php?searchword=a&genre_id=10&tag_id=12&option=com_muscol&search=albums&view=search&Itemid=144
to that
www.domaine.com/search/collection/searchword

I use the Component JoomSEF but it does not the dynamically redirects.

How can I solve this Probloem?

Thank you in advance

Best Regards
Responses (6)
  • Accepted Answer

    Monday, February 02 2015, 12:09 PM - #Permalink
    0
    this is the Search url which won't appear friendly.. it's normal, because it contains variable parameters. do the other URLs show fine?
    The reply is currently minimized Show
  • Accepted Answer

    abdessamad
    abdessamad
    Offline
    Monday, February 02 2015, 01:27 PM - #Permalink
    0
    but I do not want to display the words like album and song in the URL, because the website is used for other purposes (lectures and seminars audios) and not for music
    • Germinal Camps
      more than a month ago
      that would actually require some custom coding, because these words in the URL are "native" and are part of the core of the extension...
    The reply is currently minimized Show
  • Accepted Answer

    abdessamad
    abdessamad
    Offline
    Tuesday, February 03 2015, 12:45 PM - #Permalink
    0
    this ist not good, this is realy very bad!!!
    • Germinal Camps
      more than a month ago
      ? no, it's not very bad. this is the URL of the component, which uses the key words "song" and "album", because the music collection is intended for that! it is NORMAL behavior. you would expect that it showed, by default, "seminars and lectures"? that would make no sense for a music component...
    The reply is currently minimized Show
  • Accepted Answer

    abdessamad
    abdessamad
    Offline
    Tuesday, February 03 2015, 12:56 PM - #Permalink
    0
    The good and modern development separates between three layers logic, content and design, which not in available in your Component is!!!
    • Germinal Camps
      more than a month ago
      thanks for your tip, I'm aware of modern development! our component is completely separated that way. please don't just say things if you don't really know what you're saying.. have you even looked at the component code? do you know MVC? what you are talking about (these 2 particular words in the Search URL) have nothing to do with "design" or content. the same way the Class names won't change (again, it has nothing to do with content!) it doesn't have to change in the URL! but again, that being said, you can just mask these words using a SEF component or whatever you are using.

      honestly I'm a bit surprised that instead of asking "how to do this" or how can this be addressed, you just critizise the software and say it's just "not good, very very bad" :S
    The reply is currently minimized Show
  • Accepted Answer

    abdessamad
    abdessamad
    Offline
    Tuesday, February 03 2015, 01:21 PM - #Permalink
    0
    You make me laugh :D :D :D, I'm also web developer, and I know exactly what "Model View Controller" is.
    I don't criticize your Component, but that's the reality, in many classes mus should be set variables instead of constants.
    I don't really want to argue with you, i was just disappointed as I'm now forced to work much in code, and by updates I have to do it again. And that is the problem !!!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 03 2015, 01:25 PM - #Permalink
    0
    well if I make you laugh we're going nowhere.

    if you're a developer then I don't understand the problem!!

    the code you need to change the two words will be literally 2 or 3 lines of code, in the router.php file, which is where you can define the "conversions" of value, sort to speak
    just "read" the value of the variable (named "search") and convert it to whatever you need ("seminars" for "albums" or whatever)
    The reply is currently minimized Show
Your Reply