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
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
-
Accepted Answer
0but 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 Campsmore than a month agothat would actually require some custom coding, because these words in the URL are "native" and are part of the core of the extension...
-
-
Accepted Answer
0this ist not good, this is realy very bad!!!-
Germinal Campsmore 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...
-
-
Accepted Answer
0The good and modern development separates between three layers logic, content and design, which not in available in your Component is!!!-
Germinal Campsmore than a month agothanks 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
-
-
Accepted Answer
0You make me laugh, 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 !!! -
Accepted Answer
0well 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)
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »