Forum
Welcome, Guest
Please Login to access forum.
Re:JSitemap not seeing SEF Urls after update (1 viewing) 
Go to bottom
TOPIC: Re:JSitemap not seeing SEF Urls after update
#6999
Jason Spangehl
Fresh Boarder
Posts: 6
User Offline
JSitemap not seeing SEF Urls after update Karma: 0  
I have been using JSitemap pro for about one month. I also been using the Direct Alias Pro plugin to generate search engine friendly urls (removes categories and article IDs from the urls).

After updating JSitemap today, it is no longer able to see the SEF urls. But it is even worse than that. When it generates the sitemap, it is listing URLs that don't correspond to any articles at all. I'll break one down as an example.

Here is a url that has been shortened by Direct Alias Pro. Internal links in the site automatically pooint here thanks to the plugin: https://spangehlassociates.com/alerts/acics-road-ahead

Here is the url preshortening, which the plugin still can recognize (a feature intended to ensure that existing links to the site don't break): https://spangehlassociates.com/57-resources/alerts/acics-road-ahead

However, here is the link that JSitemap Pro generates in the sitemap: https://spangehlassociates.com/component/content/article/57-resources/alerts/acics-road-ahead

The sitemap link returns a 404 error. It would be bad enough if it was just only seeing the unshortened url, but for some reason it is adding "component/content/article/" into the url which makes it completely unreadable.

I need to know how to to make JSitemap Pro acknowledge the shortened urls (it had no problem with this before the update). For Direct Alias Pro to work it has to be ordered before all other system plugins, so this was the first thing I checked after identifying the error, and it had indeed been moved behind some of the JSitemap plugins. However, restoring its position in the order had no effect.

Please help, I can't have my sitemap pointing to a ton of 404s and ignoring the real pages.
 
Logged Logged  
  The administrator has disabled public write access.
#7000
Jason Spangehl
Fresh Boarder
Posts: 6
User Offline
Re:JSitemap not seeing SEF Urls after update Karma: 0  
Turning on Force format for SEF links did not fix the problem.
 
Logged Logged  
  The administrator has disabled public write access.
#7002
Jason Spangehl
Fresh Boarder
Posts: 6
User Offline
Re:JSitemap not seeing SEF Urls after update Karma: 0  
I should also note that the problem only afflicts the 'content' data source.
 
Logged Logged  
  The administrator has disabled public write access.
#7004
John Dagelmore
Admin
Posts: 3722
User Offline
Re:JSitemap not seeing SEF Urls after update Karma: 79  
Hi,

this problem can't be direct related to JSitemap, because the content data source generate links for native Joomla articles thus using the native and core Joomla router for articles. It turns that there have been some updates not in JSitemap but in Joomla (probably 3.7 bug) maybe combined with your plugin Direct Alias Pro that generates this issue.

Try to investigate and find out more details, there is nothing to do on JSitemap side it uses the standard Joomla code, when you get 'component/content' in URLs it means that the Joomla router fails.
https://storejextensions.org/faq/does-jsitemap-generate-urls-or-is-responsible-for-that.html
 
Logged Logged  
  The administrator has disabled public write access.
#7005
Jason Spangehl
Fresh Boarder
Posts: 6
User Offline
Re:JSitemap not seeing SEF Urls after update Karma: 0  
I think you are definitely right, I realized another problem with it about ten minutes ago.

Previously the plugin removed article and category ids, and also parent categories from the url. Now it doesn't remove the parent categories (though you won't see the problem on my site because i've gone through and moved the affected categories so they have no parent).

Do you have any recommendations for an SEF url extension that doesn't have this problem in 3.7? I know its new but I'm sure you are more plugged into the scene than I.
 
Logged Logged  
  The administrator has disabled public write access.
#7006
John Dagelmore
Admin
Posts: 3722
User Offline
Re:JSitemap not seeing SEF Urls after update Karma: 79  
That's probably the case, maybe Direct Alias Pro has issue with 3.7 routing system. As an alternative you could use sh404sef.
However there are some known Joomla bugs that will be probably fixed in 3.7.1 by the Joomla team, not sure if this could be your case: https://github.com/joomla/joomla-cms/issues/15541
 
Logged Logged  
  The administrator has disabled public write access.
Go to top