By Radek Čepelák on Friday, 18 August 2017
Posted in General Issues
Likes 0
Views 1.3K
Votes 0
Hi,

I installed OsMap free component and OsMap Easyblog plugin. I am using Artio JoomSef component too. It seems there is some problem with the generating the list of URLs in the sitemap. The tricky thing is that I am using 2 domains with one back office. Each domain is for different language (this is handled by Artio Component).

Everything is ok until I install OsMap Easyblog plugin.

Here are the 2 sitemaps for each domain as you can see some of the url include
http://www.radekcepelak.com/?option=com_osmap&view=xml&tmpl=component&id=1
http://www.radekcepelak.cz/?option=com_osmap&view=xml&tmpl=component&id=1

As you can see there are 2 urls (one with czech words and one with english wrods) in one sitemap for one domain. For example in .com sitemap you can find:
http://www.radekcepelak.com/blog/cesko-skotska-svatba-praha
http://www.radekcepelak.com/blog/czech-scottish-wedding-prague

The second one is correct, but the first one should be cz/blog/cesko-skotska-svatba-praha (which is already included in cz sitemap). As soon as I installed the OsMap EasyBlog plugin and hit the xml url to see the sitemap it generates those wrong URL under Artio Joomsef component (back office - Components>Artio JoomSef>Manage SEF URLs).

Do you have an idea how to solve this problem, please?

I think if there is problem in OsMap Easyblog plugin then it is necessary to clean those URL in back office - Components>Artio JoomSef>Manage SEF URLs and then generate new sitemap. If those urls be not removed from Artio they be in sitemap maybe. But it is little bit tricky to remove correct URL need to check origin URL where the language is written (lang=cz or lang=en). Usually the nonsense URL like .com/blog/cesko-skotska-svatba-praha has small number of hits (like 0 or 1).

Another thing is that Artio Joomsef component is handling URL of XML link of Sitemap in back office. So you need to use those links above, if you click on the link in back office you will get 404 error page.

Thank you very much

Regards
Radek
Hey there,

Currently I am not sure how Artio JoomSef component handle this but I have a few questions :

1. Do you mean following domain only use 1 domain name and 1 database?
http://www.radekcepelak.cz/
http://www.radekcepelak.com/

2. Is it all those existing blog post can show up in this domain backend blog listing page? http://www.radekcepelak.cz/administrator

3. How do you make some of the blog post show in certain domain? Is it based on the post language option?

Currently I can't access your backend Easyblog configuration page, this is what i hitting : You are not authorised to view this resource.

Regarding with your issue, you mean this URL http://www.radekcepelak.com/blog/cesko-skotska-svatba-praha shouldn't show in this siteMap :
[gist type="php"]
http://www.radekcepelak.com/?option=com_osmap&view=xml&tmpl=component&id=1
[/gist]

because this post should show in this sitemap?
[gist type="php"]
http://www.radekcepelak.cz/?option=com_osmap&view=xml&tmpl=component&id=1
[/gist]
·
Friday, 18 August 2017 15:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex Wong,

The access to EasyBlog in Back Office shuld be ok now, excuse me.

As you wrote this
Regarding with your issue, you mean this URL http://www.radekcepelak.com/blog/cesko-skotska-svatba-praha shouldn't show in this siteMap http://www.radekcepelak.com/?option=com_osmap&view=xml&tmpl=component&id=1

[
That URL shoudn't exists at all, only with cz domain http://www.radekcepelak.cz/blog/cesko-skotska-svatba-praha

If there is no osmap installed and I hit this URL http://www.radekcepelak.com/blog/cesko-skotska-svatba-praha it will go automatically jump on http://www.radekcepelak.cz/blog/cesko-skotska-svatba-praha. And it is not included in Components>Artio JoomSef>Manage SEF URLs. But as soon as I open XML with sitemap it will generate those wrong URL adresses and bring them also to the Components>Artio JoomSef>Manage SEF URLs.

1. Do you mean following domain only use 1 domain name and 1 database?
http://www.radekcepelak.cz/
http://www.radekcepelak.com/


YES

2. Is it all those existing blog post can show up in this domain backend blog listing page? http://www.radekcepelak.cz/administrator


Not sure what do you mean :-(. But it looks like all blog posts activated in BackOffice are doubled in each Sitemap (one with wrong URL).

3. How do you make some of the blog post show in certain domain? Is it based on the post language option?


Exactly if I choose English as language in EasyBLog post when creating it, it will go autmatically only to the .com domain.

Hope this help, thank you Arlex!

Kind regards
Radek
·
Friday, 18 August 2017 15:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Some important thoughts to the previous reply:

If you check generated osmap carefully you will find out that only EasyBlog posts are doubled that way. Native content from Joomla is correct like in .com sitemap is only english URL for contact page (http://www.radekcepelak.com/contact) there is not czech url inlcuded (http://www.radekcepelak.com/kontakt).

So I suppose that OSMAP on its own work well with Artio Joomsef component. Only that plugin OsMap EasyBlog has some problem in code maybe. I downloaded this OsMap EasyBlog plugin here on Stackideas website. So I think this is giving advises and leading to the OSmap EasyBlog plugin.
·
Friday, 18 August 2017 16:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for your info, I've applied some fix in this file -> JoomlaFolder/plugins/osmap/com_easyblog/com_easyblog.php into your site , can you give it a check is it work fine now?
·
Friday, 18 August 2017 19:39
·
0 Likes
·
0 Votes
·
0 Comments
·
1.
I thought it should be in com_easyblog.php. The OsMap generate clean sitemap with URLs of blog posts for one language now. It is really amazing, thank you for this fix. But there are still mixed urls of categories (I mean category of blogs back office: Components>EasyBLog>Categories) is it possible to make the same fix for this?

2.
How it is about tags (it is the same)? There is not possible to set language for Tag like for Categories. So I think that this can be tricky to solve it. But I can set off for tags.

3.
It looks like there is still some another problem and I am not sure what is responsible for it. As I wrote the list of URL in XML sitemap is ok. But if I press F5 (to regenerate the XML) it generate still also 2nd URL of the opposite language into Artio SEF list URL (Components>Artio JoomSef>Manage SEF URLs) even if I delete such generated url in this list after F5 is there again. Like before. But now after your edits is XML sitemap everytime ok. In the other words I try to explain it on this example:

This post for example: http://www.radekcepelak.com/blog/czech-scottish-wedding-prague

Has native joomla URL address: domain.com/index.php?option=com_easyblog&id=32&lang=en&view=entry&Itemid=877
(As you can see there is lang=en in the native URL)

The list of URLs in Components>Artio JoomSef>Manage SEF URLs include only this (it is correct). But after I press F5 in internet browser at XML sitemap for .com domain it will generate to the list another blog/czech-scottish-wedding-prague, but with different lang= of native URL. Like this:

with domain.com/index.php?option=com_easyblog&id=32&lang=cz&view=entry&Itemid=791
(as you can see lang=cz in this native URL)

Which is wrong.

If there is not installed OsMap EasyBlog plugin on website this never happened because if i hit domain.com/whatever lang=cz it goes automatically to the domain.com/whatever lang=en (and lang=cz is not generated to the list).

It is hard to explain, but I tried it the best I can :-). I think it is still problem of com_easyblog.php because it doubled URLs (with different languages of one domain) only for easyblog posts. Native URLs are ok. For example if you check:

http://www.radekcepelak.com/contact (original corect URL) and you try write fake (wrong) http://www.radekcepelak.cz/contact it will redirect you (because it doesn't exists in Components>Artio JoomSef>Manage SEF URLs) and it never be created after I press F5 on sitemap. But as soon as I do this for blog post from easyblog it will create such link in Components>Artio JoomSef>Manage SEF URLs.

Any idea of this? Maybe it is much complex problem of cooperation of plugins OsMap>EasyBlog>JoomSEF. And it is also a little bit unhappy solution that I have 2 domains (with 2 languages) for 1 administration (back office). But there must be some way how to fix it (i think it should be much easier then separate the website on 2 different domains with 2 administrations. :-)

Appretiate your help really a lot!

Regards
Radek
·
Friday, 18 August 2017 21:46
·
0 Likes
·
0 Votes
·
0 Comments
·
That categories part also solved it.

Yes, currently tag is not support multilingue yet.

Regarding with your 3rd question, I will consult with our developer regarding this and see whether we can do something about it.
·
Saturday, 19 August 2017 14:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Perfect! Thank you for those Categories! It works well.

Is there any plan for multilanguage tags? I think it should be useful.

Regarding 3rd question, it is hard - I can imagine. I was thinking about it. Can you check if there is no influence by com_easyblog.php in FTP folder /www/components/com_sef/sef_ext (this is the folder of JoomSEF component). That com_easyblog.php is maybe downloaded also from Stackideas website (I think). Pressing F5 on XML sitemap can call some php in this file and it can create such nonsense URLs in the list of Components>Artio JoomSef>Manage SEF URLs


Thank you!
·
Saturday, 19 August 2017 17:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Currently we haven't plan for this yet, but this is something we will consider to implement this in the future.

Regarding 3rd question, it is hard - I can imagine. I was thinking about it. Can you check if there is no influence by com_easyblog.php in FTP folder /www/components/com_sef/sef_ext (this is the folder of JoomSEF component). That com_easyblog.php is maybe downloaded also from Stackideas website (I think). Pressing F5 on XML sitemap can call some php in this file and it can create such nonsense URLs in the list of Components>Artio JoomSef>Manage SEF URLs

Thanks for your info, it could be related this, but i would like to consult with our developer regarding this on this coming Monday or Tuesday, because without this JoomSEF extension, the Easyblog SEF URL also can able to access the blog post using different language code e.g. this blog post post in English language :
site.com/en/blog/english-post
site.com/fr/blog/english-post

I will keep you update once i consult with our developer regarding this.
·
Sunday, 20 August 2017 14:31
·
0 Likes
·
0 Votes
·
0 Comments
·
OK, thank you looking forward your reply.

Why I would like to solve this - I think that both posts with different URL will be indexed by Google (or other searchers) and it will be evaluated as duplicate content, which is not good at all, it can be penalized.
·
Sunday, 20 August 2017 16:14
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome.

Yes, i totally understand that. actually i tried to read back your response at above, i still not understand how to make JoomSEF extension to regenerate again for those blog SEF URL, because now it always load those SEF URL which already stored in JoomSEF database table.

http://www.radekcepelak.com/contact (original corect URL) and you try write fake (wrong) http://www.radekcepelak.cz/contact it will redirect you (because it doesn't exists in Components>Artio JoomSef>Manage SEF URLs) and it never be created after I press F5 on sitemap. But as soon as I do this for blog post from easyblog it will create such link in Components>Artio JoomSef>Manage SEF URLs.

Perhaps you can guide me how to clear these blog SEF link from JoomSef Manage SEF URLs page, then I would like to try refresh the sitemap page and see how they store those SEF URL in database.

By the way, these blog menu item suppose to disable it by default? screenshot : http://take.ms/8qgkx3
·
Monday, 21 August 2017 13:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

ok, it is easy to remove the link from JoomSEF list (go to Components>Artio JoomSef>Manage SEF URLs) then just click on square check box (on the left to the URL). And there is roll up menu on the top of the page (you can see Enable by default) if you unroll the offer the second from the bottom is delete. Just be sure you have Only selected next to it and click proceed. See attached picture.

By the way, these blog menu item suppose to disable it by default? screenshot : http://take.ms/8qgkx3


It should be enabled, that's weird, I see this for the first time. I don't understand why it is disabled. Can it be disabled during EasyBlog update? Maybe this can cause the problem too. I don't know how it is possible that I can see "Blog" in the menu of website (front office).

Should I leave it like it is and you will turn on? Or I can take care about it.

Kind regards
Radek
·
Monday, 21 August 2017 18:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for took your time to explained, it would very helpful and help us understand this component workflow.

I already consult with our developer regarding this, it seems like something we need to handle this on this php file JoomlaFolder/components/com_sef/sef_ext/com_easyblog.php

We already applied some fix on your site, it should work fine now, can you give it a check.
·
Monday, 21 August 2017 19:52
·
0 Likes
·
0 Votes
·
0 Comments
·
You are right Arlex, it is correct now and working like a charm, terrific!!!! I am so glad, I thougt it won't be possible to repair it. I tested everything and it is perfect.

One thing which stayed doubled are tags, which is pity. But I am sure that it is because there is not possibilty to set language for tag in back office of EasyBlog. I can switch off tags for sitemap, but I am pretty sure that google will index those tags URLs on its own by robot crawling. I did some printscreen, so you can check those doubled URLs on the list of JoomSEF component (attached picture). I think there will be no doubled content (because it is showing empty page for czech tag at .com domain) But it will definitelly gives duplicate meta title and meta description for 2 URLs .

Maybe the developers can focus sooner on it and include language option for tags in some new release, it seems it is important and serious for such multilanguage website. What do you think?

But I am extremly glad that those problems are solved for posts and categories for JoomSEF are ok. And even solving sitmap is amazing. Honestly thank you, hope this help someone else, it was quite time-consuming.

Thank you again

Kind regards
Radek
·
Monday, 21 August 2017 21:10
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome Radek

By default, single tag page will not allow to index as long as that setting you still enabled it, so you do not need to worry about the Google whether they index those tags page or not. You can refer on my attached screenshot what i mentioned that setting.

Maybe the developers can focus sooner on it and include language option for tags in some new release, it seems it is important and serious for such multilanguage website. What do you think?

Regarding this is not easy task, but we will see if we can push this feature in Easyblog 5.2.

By the way, glad to heard your issue resolved.
·
Tuesday, 22 August 2017 11:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

ok that's good to hear. No-index possibility solved this :-). Amazing. Everything is perfect now, thank you again for support!

Kind regards
Radek
·
Tuesday, 22 August 2017 16:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Tuesday, 22 August 2017 17:30
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post