• Home
  • Get help
  • Ask a question
Last post 9 hours 54 min ago
Posts last week 89
Average response time last week 30 min
All time posts 67735
All time tickets 10467
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#4368 – Smart Search appear wrong url

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 30 November 2017 13:49 UTC
Mizyan
Hello,

I enabled a smart search module on my website. But the results appear with wrong url for articles, I'm using easyblog posts.
You can find the problem on: http://xxxx.com/nusuh/

For example, the post url is http://xxxx.com/nusuh/63-postalias

In search http://xxxx.com/nusuh/multimedia/63-postalias

The smart search add the category name before the post alias.

The search module in offcanvas menu.

any help?
Thursday, 30 November 2017 14:01 UTC
wb_weeblr
Hi

1 - What are your exact and full Joomla and sh404SEF versions?

2 -
I enabled a smart search module on my website
Which smart search module exactly?

3 -
For example, the post url is http://xxxx.com/nusuh/63-postalias



In search http://xxxx.com/nusuh/multimedia/63-postalias

Considering this not a latin language, I have a very hard time even seeing what's happening. Adding the category might be the sign that the Itemid for the post is incorrect, but I'm not sure why the EasyBlog router would include that in their URL. I think I remember EasyBlog has an sh404SEF built-in or as a plugin. Did you install that? or did you ask them for it?

Rgds
 
Thursday, 30 November 2017 14:06 UTC
Mizyan
Hello,

1)
Joomla Joomla! 3.8.2
sh404SEF 4.12.0.3715

2) default smart search in joomla

3) The website in Arabic. The smart search add the category name in URL.

4) Yes, The easybolg has an sh404SEF built-in, and i configure the easyblog with sh404sef, And we corrected the urls.

But in smart search the problem appear with adding the category name in url
Thursday, 30 November 2017 14:16 UTC
wb_weeblr
Hi

1 -
But in smart search the problem appear with adding the category name in url
If you take an example of a real URL, what is the non-sef URL recorded in the database for:

http://xxxx.com/nusuh/63-postalias

and
http://xxxx.com/nusuh/multimedia/63-postalias


2 - The URLs are built by the EasyBlog plugin, not really by sh404SEF actually, did you talk to them?

Rgds
 
Thursday, 30 November 2017 14:21 UTC
Mizyan
For example:
This article:
http://xxxx.com/nusuh/63-%D9%85%D8%AD%D8%B7%D8%A7%D8%AA-%D9%81%D9%8A-%D8%A7%D9%84%D8%B9%D9%84%D8%A7%D9%82%D8%A7%D8%AA-%D8%A7%D9%84%D8%A5%D9%8A%D8%B1%D8%A7%D9%86%D9%8A%D8%A9-%D8%A7%D9%84%D8%B9%D8%B1%D8%A8%D9%8A%D8%A9


When i search on word and this article appear in search page, The url is

http://xxxx.com/nusuh/multimedia/%D9%85%D9%88%D8%A7%D8%AF-%D8%A2%D9%8F%D8%AE%D8%B1%D9%89/63-%D9%85%D8%AD%D8%B7%D8%A7%D8%AA-%D9%81%D9%8A-%D8%A7%D9%84%D8%B9%D9%84%D8%A7%D9%82%D8%A7%D8%AA-%D8%A7%D9%84%D8%A5%D9%8A%D8%B1%D8%A7%D9%86%D9%8A%D8%A9-%D8%A7%D9%84%D8%B9%D8%B1%D8%A8%D9%8A%D8%A9

Please see the attached photo
Thursday, 30 November 2017 14:27 UTC
wb_weeblr
Hi

That's not what i asked for. What matters is what non-sef URLs are recorded by the EasyBlog plugin in sh404SEF database. Ie what I want to know is what there URLs like index.php?option=com_easyblog.... URLs associated with those 2 SEF URLs.

Rgds
 
Thursday, 30 November 2017 14:29 UTC
Mizyan
Like this:

Non-SEF url index.php?option=com_easyblog&Itemid=652&id=62&lang=ar&view=entry
Non-SEF url index.php?option=com_easyblog&Itemid=654&id=63&lang=ar&view=entry
Thursday, 30 November 2017 14:42 UTC
wb_weeblr
Hi

Like this:



Non-SEF url index.php?option=com_easyblog&Itemid=652&id=62&lang=ar&view=entry

Non-SEF url index.php?option=com_easyblog&Itemid=654&id=63&lang=ar&view=entry
Those 2 links are not for same EasyBlog item. The first is for item 62 and the second is for item 63.

So what I am asking is: what is the recorded non-SEF URL (index.php?option=com....) for:

http://xxxx.com/nusuh/63-%D9%85%D8%AD%D8%B7%D8%A7%D8%AA-%D9%81%D9%8A-%D8%A7%D9%84%D8%B9%D9%84%D8%A7%D9%82%D8%A7%D8%AA-%D8%A7%D9%84%D8%A5%D9%8A%D8%B1%D8%A7%D9%86%D9%8A%D8%A9-%D8%A7%D9%84%D8%B9%D8%B1%D8%A8%D9%8A%D8%A9

and

http://xxxx.com/nusuh/multimedia/%D9%85%D9%88%D8%A7%D8%AF-%D8%A2%D9%8F%D8%AE%D8%B1%D9%89/63-%D9%85%D8%AD%D8%B7%D8%A7%D8%AA-%D9%81%D9%8A-%D8%A7%D9%84%D8%B9%D9%84%D8%A7%D9%82%D8%A7%D8%AA-%D8%A7%D9%84%D8%A5%D9%8A%D8%B1%D8%A7%D9%86%D9%8A%D8%A9-%D8%A7%D9%84%D8%B9%D8%B1%D8%A8%D9%8A%D8%A9

"index.php?option=com_easyblog&Itemid=652&id=62&lang=ar&view=entry" cannot be the non-SEF URL for any of those, because it is for item 62, not 63.

Rgds
 
Thursday, 30 November 2017 15:18 UTC
Mizyan
For the first url
index.php?option=com_easyblog&Itemid=654&id=63&lang=ar&view=entry

For the second url, It is in 404 requests, No non-SEF URL
Thursday, 30 November 2017 15:21 UTC
wb_weeblr
Hi

OK, so what you say is that the search module creates a SEF URL (/nusuh/multimedia/63-xxx) that is NOT created by sh404SEF? Are you sure this is the standard search module, do you have maybe template overrides that modify it?

If a URL is displayed on the site, but not recorded in sh404SEF then it means the extension in question (the module) is not properly using the Joomla API. I would suggest you temporarily switch to protostar (default Joomla template), purge all Joomla cache and redo a search, to see if the URL with the category is still produced.

Rgds
 
Friday, 01 December 2017 10:47 UTC
Mizyan
Hello again.

I tested the normal search module, And it is working and the urls is correct. But the problem now is:

I assigned ItemID to search module, The menu item (type: Search Form or Search Results) is hidden not visible in my website.
The problem is: when i search on word, The search page i assigned to ItemID in search module is not shown,
The search page Non-SEF url is index.php?option=com_search&Itemid=531&lang=ar&view=page
But the page i assigned is index.php?option=com_search&Itemid=655&lang=ar

I disabled the sh404sef and it is work well.

I assigned 4 photos,
1- non-sef urls for search page.
2- Search page when i activate the sh404sef
3- Search page when i deactivate the sh404sef.
4- sh404sef configuration
Friday, 01 December 2017 12:24 UTC
wb_weeblr
Hi

Yes, the menu item can br wrong if Joomla created multiple links, without respecting your setting for the menu item. This is called "Duplicate content".

You can change the menu item used by selecting the correct URL (with Itemid=655) as the Main URL:



Rgds
 
Saturday, 16 December 2017 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.