• Home
  • Get help
  • Ask a question
Last post 14 hours 37 min ago
Posts last week 81
Average response time last week 4 hours 29 min
All time posts 67915
All time tickets 10498
All time avg. posts per day 20

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.

#1258 – Issue with SH404

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.
Saturday, 31 October 2015 20:48 UTC
toptraders
Hello,

I have some issues with SH404 component.

I am using K2 Category menu. The category contains several articles with exactly same settings.

One of the articles opens fine: www.mywebsite.com/category/articlefine

When I try to open another article www.mywebsite.com/category/articleproblem

I get a "bad karma" page. When I disable the SH404 plugin, I am able to open the "articleproblem", so I think the issue comes from SH404 plugin.

Could you please help me fix this issue?

Thank you in advance.

Louis
Monday, 02 November 2015 09:12 UTC
wb_weeblr
Hi

We cannot do guesswork with fake URL, sorry:

1 - What's the URL of the site?
2 - What Joomla, K2 and sh404SEF versions are running?
3 -
I get a "bad karma" page. When I disable the SH404 plugin, I am able to open the "articleproblem", so I think the issue comes from SH404 plugin.
No, that doesn't mean anything. Simply that the "bad" URL is not in the database.

It all depends on how the initial links where created.

Could you please provide us with superadmin credentials to your website. You can create a temporary account, and delete it afterwards, but it must have superuser level.

Thanks and regards
 
Monday, 02 November 2015 09:36 UTC
toptraders
Hello,

Sorry for the fake URLs, I thought that my post would be public.

Here is my website URL: www.xxxx.com
Super user: xxxx
Password: xxxx

I use latest version of Joomla and latest version of K2.

Thank you for your assistance.

Louis

Monday, 02 November 2015 10:34 UTC
wb_weeblr
Hi

Looked at your site, but can't understand the problem. Clicked a few links, but all goods. You're going to gives me exact samples of working and not working links, and most importantly, tell me exactly where on the site I can find those sample links.

Rgds
 
Monday, 02 November 2015 11:02 UTC
toptraders
Hello,

Please go on this page: http://www.xxxx.com/en/xxxx

Click "Markets" (second row in the table). The page works fine.

Then click "Saxobank" or any other items, you will see the page lands on a "bad karma" page. If you disable SH404 plugin, and you click again "saxobank" the page opens fine.

Thank you for your help.
Monday, 02 November 2015 11:29 UTC
wb_weeblr
Hi

OK, I can see that now. So using your example, here's what I actually see:

- the (wrong) link on /en/brokers is /en/brokers/saxobank
- If I click that link, I get a 404. The sh404SEF URL error page is displayed, and I can see the 2 top suggestions are:
/en/brokers/saxobank
and
/en/broker/saxobank

The second link is working. So it seems that for SaxoBank, the correct link has no "s" in the category name, broker vs brokers.

If you go to the URL manager and you search for "saxobank", what do you get?
Also, which URL is correct, and why do you have a singular (no s) version of the category name? are those manually customized?

Rgds
 
Monday, 02 November 2015 11:43 UTC
toptraders
Hello
What do you mean with "URL manager"? Where can I find this URL manager?

I dont understand this "no s" category. The item "Saxobank" is in category "Brokers" not "Broker".

Therefore the link en/brokers/saxobank should work.. I dont know where this en/broker/saxobank link is coming from since there is no "broker" category. You can check in K2 categories..

Monday, 02 November 2015 12:10 UTC
wb_weeblr
Hi

What do you mean with "URL manager"? Where can I find this URL manager?
Well, I'm talking about the sh404SEF URL manager.

Are you familiar with sh404SEF?

Rgds
 
Monday, 02 November 2015 14:05 UTC
toptraders
Hi

No I am not familiar with SH404.
Monday, 02 November 2015 14:08 UTC
toptraders
I just look in the SH404 and when I type "Saxobank" I get what you can see in the attached screenshot.

Why is SH404 creating this "broker" category in the URL while I have no such category in my Joomla/K2 categories. I only have "brokers" category.
Monday, 02 November 2015 15:42 UTC
wb_weeblr
Hi

Why is SH404 creating this "broker" category in the URL while I have no such category in my Joomla/K2 categories. I only have "brokers" category.
Well, as per the screenshot you provided, I would suggest you don't look in sh404SEF but instead in K2.

It looks like you hav 2 Saxobank pages (K2 item with ID 332 and K2 item with ID 464). In which category they belong I don't know, but obviously there comes the source of the problem.

Rgds
 
Monday, 02 November 2015 16:19 UTC
toptraders
Those 2 articles have the same name but not same language.

It does not explain why your plugin is taking category "Broker" which does not exist in my site.
Monday, 02 November 2015 16:30 UTC
wb_weeblr
Hi

Please look again at the screenshot you provided: the /en/broker/Saxobank URL is coming from this article with id 332.

You are right: sh404SEF doesn't invent things. It only reads data from the database and does not remove things like a letter from a title.

We're not going anywhere that way, could you please provide us with superadmin credentials to your website. You can create a temporary account, and delete it afterwards, but it must have superuser level.

Thanks and regards
.
 
Monday, 02 November 2015 16:34 UTC
toptraders
Hello,

Here are the super admin login details:
Login: xxxx
Password: xxxx
Monday, 02 November 2015 16:57 UTC
wb_weeblr
Hi

So I only look at the Saxobank page example, and here's is what I found:

You had 2 relevant links:

/en/broker/saxobank: this one was for the correct article, but had incorrect category alias (no s)
/en/brokers/saxobank: this one had the wrong article. It was linking to the Spanish article instead of the English one, and thus generated a 404.

I simply deleted both of them, reloaded the page and the link is now very fine.

My understanding of this is that those links were created during early stage of development, at some point for instance where language setup was not complete. Probably as well, the Brokers category alias at some point was called "broker" and a URL was created. But the URLs in sh404SEF were never purged to reflect the change.

As you may have multiple such cases, there are 2 possible courses of actions:

1 - you know which are the faulty URLs, then just delete them in the URL manager
2 - you're not sure to know them all, then use the Purge button to delete all URLs.

Purging means that some users may see some 404, until all urls are recreated but that should be quick.

Rgds
 
Monday, 02 November 2015 19:15 UTC
toptraders
Thank you for your assistance it works great now. Yes it was probably some old links..

I have 2 other questions.

1. In the SH404SEF component, I have this message:

Google Analytics is not properly configured.
If you enabled Analytics data collection, check that you entered a valid Google property ID. If you have enabled Google Analytics reports display, be sure to complete the authorization procedure. For more information, please see this page.

But I have added the Google Analytics property in all my webpages and my property has been validated with Google analytics (when I go on google analytics website I can access the stats). Do you know why I get this message in SH404SEF?


2. I am using JSitemap Pro and I activated the "SF404SEF multilingual" feature in the settings. But the XML sitemap URLs still appear like this in the JSitemap Pro: http://www.xxxx.com/index.php?option=com_jmap&view=sitemap&format=xml&lang=fr

Do you know how I can transform those multilingual sitemap URLs to a more SEF format for example like this: http://www.xxxx.com/FR/Jmap/XML



Thank you for your help.
Monday, 02 November 2015 19:43 UTC
wb_weeblr
Hi

But I have added the Google Analytics property

sh404SEF has an extended Google Analytics feature, and it is normally used to insert the javascript code for Google analytics. What this message says is that IF you enabled display reports (sh404SEF display analytics reports), then you should complete the Authorization procedure so that sh404SEF can access your Google Analytics data. See this page of documentation.

. I am using JSitemap Pro and I activated the "SF404SEF multilingual" feature in the settings. B
I have no knowledge at all about what JSitemap does and why they feel the need for a specific "sh404SEF multilingual" settings.
sh404SEF has no multilingual settings itself, it just works with Joomla standard multilingual system. That's something you'll have to take to them.

From memory, I think JSitemap doesn't have a router.php file to create SEF URLs, so you might want to simply create a custom URL for it; in the URL manager, click on the "New" button, and enter
- SEF URL: FR/Jmap/XML
- NON -SEF: index.php?option=com_jmap&view=sitemap&format=xml&lang=fr

Rgds
 
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.