Hi
1 - So I did a search and actually the search does not jump to the home page. As you can see in the address bar, the URL is good and there's no functional issue: the search works fine. The URL you get to is:
https://www.xxxx.com/
search?searchphrase=all&searchword=industry
What's happening here is simply that the
display is based on joomla home page menu item and because your template has a special display for the home page, the search results are not shown.
This is typically caused by Joomla creating multiple URLs for the same page and can easily be fixed:
- go to SEF URL manager
- search for
search - which is the URL used by the search function
- in the
duplicates column you must have a counter showing how many duplicates Joomla created, similar to:
- click on that counter, you'll get a list of duplicate non-sef URLs that sh404SEF grouped under the same SEF, search:
You'll see all the duplicates, usually varying by the
Itemid value which is the menu item id in Joomla. Currently, the non-sef URL with the Home page menu item id must be selected. Choose another URL with an appropriate menu Item id, select it and click the "Make main" button.
That should be it.
2 -
I know that sh404SEF try to make URL short to become friendly to SEO,
That's not at all what sh404SEF is trying to do. What we're trying to do is avoid the duplicate content issues that appears with Joomla SEF system because it is based on menu items. In other words, there can be multiple links to the same page depending on which navigation/menu you used to arrive to it.
That's why URLs in sh404SEF do not rely on menu items. The length has nothing to do with it and many times the sh404SEF URLs will be longer.
URLs in sh404SEF are built based on items categories and titles: something that won't change based on navigation and so the same page will always have the same URL.
, my customer on the web maybe want to see the whole structural of the problem belows, full URL is very helpful for them, not the sh404SEF short URL.
You can usually configure the URL structure in sh404SEF but I would need you to reply to my question before we can go any further on that:
What kind of URLs are those? for which type of content exactly? Joomla articles?
Best regards