By Sean McElherron on Tuesday, 19 September 2017
Posted in Technical Issues
Replies 9
Likes 0
Views 579
Votes 0
Hi

Hope you can help. I have a couple of issues with my site http://www.cannyco.com:


  • Firstly, I sent out a Mailchimp campaign with links to my blog page and monitored it on Google Analytics. Whilst Mailchimp appears to be picking up the links to the individual blog posts (screenshot 1, attached), GA does not (screenshot 2)
  • Secondly, although I only have a blog on my English pages, Google appears to be picking up URLs for my language categories (nl, es, fr etc) and creating URLs for the English posts with another language category (mixed languages - screenshot 3)


Any help you can provide much appreciated.
Hey Sean,

Firstly, I sent out a Mailchimp campaign with links to my blog page and monitored it on Google Analytics. Whilst Mailchimp appears to be picking up the links to the individual blog posts (screenshot 1, attached), GA does not (screenshot 2)

To be frank with you, currently I am not really familiar about these Google Analytics, but what i know is that "Real Time" section only show those site URL who viewing, if those user no viewing anything on your site, it will not appear those site URL.

Secondly, although I only have a blog on my English pages, Google appears to be picking up URLs for my language categories (nl, es, fr etc) and creating URLs for the English posts with another language category (mixed languages - screenshot 3)

Perhaps you can share with us which blog URL format you would like to achieve so we can provide you a better solution for this.

If you would like to achieve something like this following blog URL format :

http://site.com/blog/blogtitle


This is what i suggest to re-configure your current menu structure :

1. Create each existing language hidden menu from backend e.g nl, es, fr etc

2. Remove this 'EasyBlog » (Posts) Frontpage » (Posts) Frontpage' from your (Main Menu - ALL) page since you already setup your site support multilingue, you do not need this menu item display all the language, because it will become a little bit messy.

3. If that is possible rename this Rename this "EasyBlog » (Posts) Grid Layout » (Posts) Grid Layout" menu alias to something else, because when you view one of the blog entry page, that URL will not get this menu alias.

4. Create 'EasyBlog Frontpage Layout' menu item in each existing language hidden menu e.g. nl, es, fr etc

Once you setup this correctly, you have to purge all of your existing SEF URL from this SH404SEF extension, so it will regenerate the correct SEF URL for Easyblog.

By the way, may i know what is the reason why you would like to using SH404SEF extension?
·
Tuesday, 19 September 2017 18:56
·
0 Likes
·
0 Votes
·
0 Comments
·
If you would like to view all the existing blog post how many hits, i think you can try go to your analytics page > click on this 'Behavior' from your left sidebar > Site content > All pages > click on your site blog main page > choose the filter to 'landing page', it should show the site all the existing link.

But I would suggest you re-setup again as what i mentioned at above, once the blog URL format setup correctly then only check for this analytics page.
·
Tuesday, 19 September 2017 19:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex

Thanks for your comments. Your comment:

"To be frank with you, currently I am not really familiar about these Google Analytics, but what i know is that "Real Time" section only show those site URL who viewing, if those user no viewing anything on your site, it will not appear those site URL."

That's true. But even looking later at 'Audience' and content viewed for that day, these individual blog URLs do not show.

I do wish to achieve the format: http://site.com/blog/blogtitle. But only in the English language. I do not want URLs to appear with the prefixes 'nl', 'fr' etc. I have removed the EasyBlog menu item » (Posts) Frontpage » (Posts) Frontpage' from my Main Menu - ALL, that was a good spot, thanks for finding it. I think that might help stop the language prefixes?

So do you think I still need to create a hidden menu for each existing language from the backend e.g nl, es, fr etc??

I use sh404SEF to try and manage duplicate content (unfortunately common with Joomla) and to set canonical pages. Unfortunately, it does not seem very good (in fact at the moment, it is not registering any 404s) and their support is really bad. At the moment, I don't feel good about asking their support for anything as he treats me like an idiot so I have the situation now where I have a component that doesn't work the way I need it to but I don't like to ask support for help. Why do you ask? Is there an alternative?
·
Wednesday, 20 September 2017 14:11
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome Sean

Do you have try my suggestion in my previous response? because it should show all the existing blog URL.
https://stackideas.com/forums/url-issues-1#reply-361315

I think that might help stop the language prefixes 'nl', 'fr' etc?

I think that is not possible to get rid out of these language code in Joomla, based on what i check the Joomla language filter plugin, it seems like it only possible to hide that language code for your default site language which is English. (screenshot : https://www.screencast.com/t/YEYk1jb0pffa )

So do you think I still need to create a hidden menu for each existing language from the backend e.g nl, es, fr etc??

Yes, you still need to create a hidden menu for it, but you have to create this menu type "EasyBlog » (Posts) Grid Layout » (Posts) Grid Layout" , keep us update once you created this, so I can guide you how to associated with your different language and Easyblog blog menu.

Once you setup this correctly, when the user view blog main page and switch to another language, it will redirect back to the same page, this will let user feel that more user friendly.

I use sh404SEF to try and manage duplicate content (unfortunately common with Joomla) and to set canonical pages. Unfortunately, it does not seem very good (in fact at the moment, it is not registering any 404s) and their support is really bad. At the moment, I don't feel good about asking their support for anything as he treats me like an idiot so I have the situation now where I have a component that doesn't work the way I need it to but I don't like to ask support for help. Why do you ask? Is there an alternative?

Currently I do not have any alternative extension for this, but base on what i know the current Joomla version already improve quite a lot of SEO stuff, but I think Sh404sef also have their own good feature, perhaps you can try consult with them again and see whether they have a setting to remove the language code from the URL?
·
Wednesday, 20 September 2017 17:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex

I think there has been some misunderstanding here. My blog is only in English - therefore, I only have the menu item 'blog' on my English language pages - I do not have the menu item appearing at all in the other languages. This is why I do not want the URLs nl/blog, fr/blog, de/blog appearing at all.

You said:

Once you setup this correctly, when the user view blog main page and switch to another language, it will redirect back to the same page, this will let user feel that more user friendly.

I don't want this and don't think it makes a difference what page someone is redrected to. So I don't have a blog menu item in other languages - I don't want them to be associated. When a Spanish user views the blog main page in English and then switches to Spanish, is it more user friendly to then serve them the exact same page in English again?! I'm not so sure. Possibly better to redirect them to another Spanish page.

What I am trying to achieve is to stop a URL being generated with 'blog' (only on the English pages) with a language prefix that is NOT English. I don't want to stop the language prefix completely as I need it for all the language pages on my site. So I am happy with fr/boutique, fr/qui-nous-sommes, /fr/comment-choisir-et-s-occuper-d-un-chiot etc etc because these pages actually exist. But I do not want fr/blog, fr/blog/dogs-get-diabetes-too-1-1, fr/blog/bloat-the-number-1-canine-emergency to be generated for two reasons - firstly, these pages do not exist. There is no French equivalent of the English post blog/bloat-the-number-1-canine-emergency. And secondly, it is mixing up languages, the /fr/ for French and the 'blog/bloat-the-number-1-canine-emergency' is English.

I haven't done your original suggestion because my original query related to this fact. My website already shows the URL in this format: http://site.com/blog/blogtitle. But in Mailchimp, the URL appears as http://site.com/easyblog/blogtitle. Why does the same page generate 2 different URLs?
·
Wednesday, 20 September 2017 19:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh, i think i totally understand now

So you do not need to create any hidden menu for Easyblog in each language.

The reason why it show these blog format previously http://site.com/easyblog/blogtitle is because previously your current menu still exist another blog menu which is EasyBlog » (Posts) Frontpage » (Posts) Frontpage, now you already removed it, so now the blog URL format should be use this http://site.com/blog/blogtitle

For the mailchimp part, I am not sure whether can clear those blog URL then it will automatically show the correct blog URL?

But I know SH404sef extension, you can delete all the existing SEF URL from Sh404sef manage SEF URL page, once you deleted, it will remove those wrong blog URL previously and regenerate again the final correct blog URL.
·
Wednesday, 20 September 2017 20:13
·
0 Likes
·
0 Votes
·
0 Comments
·
OK great, thank you.

I have purged the URLs in sh404SEF and so hopefully with the main menu item being deleted, now these will mixed language URLs will no longer be generated. Thanks for your help.
·
Wednesday, 20 September 2017 20:24
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Sean, let us know if you still need help on this.
·
Wednesday, 20 September 2017 21:24
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post