• Home
  • Get help
  • Ask a question
Last post 1 hour 13 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67875
All time tickets 10492
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.

#1502 – Missing Feed / K2 wrong Urls

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.
Tuesday, 08 December 2015 16:54 UTC
aceberlin
 Hi Guys,

Maybe you can remember on me and my case. You help us a lot because of problems with k2.
The last ticked is actually "open" because we found no solution. Our site is in German and in English and we found again and again wrong urls ( /en ) and had no idea why. The last idea was with the new function 'data-record' to find the problem.

Now, we record our site a longer time. Maybe you can have a look on that?

A second problem is our news feed missing?! Usually is that the url: http://xxxx.de/blog?format=feed

Backend: https://xxxx.de/administrator?4sicht
Login: xxxx
Pass: xxxx

Greetings

Norman
Tuesday, 08 December 2015 17:05 UTC
wb_weeblr
Hi

1 - Blog: as you can see in the source code of your blog page, the URL for your feeds are:

https://xxxx.de/blog/feed?type=rss

Now when you click on that link, you don't get an rss feed but instead an HTML page. This a problem caused by some badly coded extensions, normally a system plugin.

Even though this problem only appears when sh404SEF is enabled, it is not caused by sh404SEF, but is simply a bug in those extensions.

The fix is to disable one by one all your system plugins, until you find the one causing the problem.

2 -
we found again and again wrong urls ( /en )
As usual, please pick ONE such URL so that we can have a common ground to discuss.

Rgds
 
Wednesday, 09 December 2015 08:40 UTC
aceberlin
Hi,

1) The Missing feed. We do what you recommend and test the working plugins and extensions. We tested admin tools, sliders, etc. - the last try was sh404sef. Is sh404sef off - it works fine ?!!

2) the wrong “en” URLS
Please have a look to the screenshots in the attachment.
For example "en/blog" - this is not existing. for the German part of the site we use "blog" and for the English part we use "news". We delete the wrong URLs but we found them again and again.

It's annoying and makes us trouble with the 404 requests (and the searching machines)

Greetings
Norman
Wednesday, 09 December 2015 09:44 UTC
wb_weeblr
Hi

the last try was sh404sef. Is sh404sef off - it works fine ?!!
Yes of course: when you disable sh404SEF, your URLs becomes again /blog?format=feed and the problem doesn't exist anymore as the format is passed as a query var.

The problem only occurs when the feed URLs are similar to /blog/feed/rss for instance, ie when the format is not passed as a query var.

I have wasted so many hours, actually days, just to find which plugins is causing this.
So I guess I will have to do the same for you. I will require an up to date akeeba backup, to install locally and identify the one or more faulty plugins.

We delete the wrong URLs but we found them again and again.
yes of course. sh404SEF never creates any URL; It only transforms them from non-sef to SEF. So if you have a badly formed non-sef URL somewhere on the site (mixing the wrong language with the wrong article id),the same SEF will be created again and again.
I'll connect and look up this one.

Rgds


 
Wednesday, 09 December 2015 09:51 UTC
wb_weeblr
Hi

To illustrate better my point, regarding the /en/blog URL, you say:
this is not existing. for the German part of the site we use "blog" and for the English part we use "news".
What do you mean by "we use"????

What I can see is that the non-sef URL you created somewhere on your site has:

lang = en
and
id=1

So you have created a link to category #1, which is the German "blog" category and language = english.

And as the new "Record source" feature shows, you are doing this on many occasions:


When you fix that, you won't have the /en/blog URLs.

Simply be aware that you have those bad URLs on your site. sh404SEF is not creating them. You have them even if you disable sh404SEF. The only thing is that because they are stored in the database, now you can seem them.

I'll make the akeeba backup now.

Rgds

 
Wednesday, 09 December 2015 11:29 UTC
wb_weeblr
Hi

Looks like you didn't try to disable the CWGears plugin.

Here is the bug:


Looking at their code, they don't even use that $doc variable so it's probably safe to simply comment it out:
// $doc = JFactory::getDocument();


This bug is well documented:
https://groups.google.com/forum/#!topic/joomla-dev-general/S0GYKhLm92A
http://www.en.joomgallery.net/faq/general-faq/problem-with-certain-system-plugins.html

Please contact their developers to get a fixed version

Rgds
 
Friday, 11 December 2015 11:00 UTC
aceberlin
Hi,

Thanks a lot - I sent the problem to Steven Paler the developer from "Social Links" and he fix the problem.
Do you had a tipp box for your expense?

A open question . We found in our header a many <head> tags do you have seen such a probelm and do have a idea where this comes?

to the problem with the wrong /en urls
We "use" means we sort our news in "blog = German" and "news = English". Both have are a own category in k2 - because k2 don't support real multiple languages. On my point of view is the only connection between booth category’s the language connection in the menu (SEO-Menu). (for the language switcher)

I can't find any link "en/blog" in the front end.

Greetings
norman
Friday, 11 December 2015 11:32 UTC
wb_weeblr
Hi

Glad he could fixed it quickly. I plan on a blog post on that topic, it's unfortunately a pretty common error. We don't have a tip box, this is standard support practice here.

We found in our header a many <head> tags do you have seen such a probelm and do have a idea where this comes?
Not really. I have seen it a (very) few times, but reasons were never the same. In most cases, this is multiple extensions interfering with each other.
First, you can disable the sh404SEF SEO features (Configuration > SEO > Activate SEO management). This will rule in or out sh404SEF.
Then you can
- switch to another template
- disable extensions such as JCH optimize or Jotcache if you have them

On which page exactly have you seen that? looked at 2-3 pages but can't see anything like that.

Both have are a own category in k2 - because k2 don't support real multiple languages. On my point of view is the only connection between booth category’s the language connection in the menu (SEO-Menu).
The connection doesn't have to be in your setup of K2 categories and items. This is just a plain wrong non-sef URL. It doesn't even have to be visible in the front end, it can only be somewhere in the html source code of the page. It can also be in the rss feeds for instance.

Please have a look at the above screenshot. sh404SEF recorded for you where and when those URLs were created. For instance you have the /en/author/google or /en/author/jana-ropertz. I don't know why those URLs exist, but they do get a 200 response and they are all wrong i think

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.