• Home
  • Get help
  • Ask a question
Last post 25 min ago
Posts last week 81
Average response time last week 44 min
All time posts 70349
All time tickets 10858
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.

#8594 – Translated Pages Error with Gtranslate

Posted in ‘4SEO’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 16 March 2022 11:13 UTC
oesch-web-gmail-com

Hi
I translate the domain [redacted].ch with profesional gtranslate, except all in [redacted]/shop/.
After the first craling i see that all pages in forein languages are set to error 404.

Is this a timeout too short of 4seo? How to solve?

Best regards
Walter Oesch

Wednesday, 16 March 2022 11:36 UTC
wb_weeblr

Hi

Is this a timeout too short of 4seo? How to solve?

Timeout is 15 seconds when crawling, so that's not the problem. I don't see how this can be solved, as all your content appears to be translated either through javascript or with a GTranslate plugin on the site.

The links in your language switchers are not real links. When you click on a flag, some javascript code sends the page to be translated to GTranslate and replaces the current content with the translated content (try it after disabling javacript, you'll see it does not work).

4SEO does not execute javascript when crawling the site so it never sees the translated content. Note that search engines also won't click these buttons so I'm not sure how much of that content they will see either.

How to solve?

First thing you can try is changing the order of GTranslate and 4SEO system plugins. Make sure the GTranslate system plugin is located before the 4SEO one, then clear all cache.

If that does not work, then the only thing that can be done is just excluding the secondary language from crawling. Go to Pages | Settings | Site analysis and enter the URLs in the Excluded URLs field:

/fr/{*}

/de/{*}

/nl/{*}

etc

Then do Reset analysis and start again the analysis.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 

 

 

To avoid seeing all these 404s, I'd suggest excluding these URLs from the crawling:

 

 
Wednesday, 16 March 2022 11:48 UTC
oesch-web-gmail-com

Hi Yannick Gaultier

GTranslate does not use any javascript as i can see, except they have hiden it in a php file.

Before i used RSseo! and was not happy with it. But it detected all foreingn language links!
And Google too, i see them all in the search console.

So it may be an other reason?

Wednesday, 16 March 2022 11:59 UTC
oesch-web-gmail-com

Hi Yannick Gaultier

The exact tool i use for translation is https://de.gtranslate.io/.

 

Besz regards
Walter Oesch

Wednesday, 16 March 2022 16:27 UTC
wb_weeblr

Hi

But it detected all foreingn language links!

4SEO detects them too. If you see them as 404, it means it detected them, then tried to load them and the site responded with a 404.

So it may be an other reason?

Have you tried my suggestion?

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Wednesday, 16 March 2022 17:00 UTC
oesch-web-gmail-com

Hi Yannick Gaultier
GTranslate uses no plugin, is only a module. So I can't order it.
The second suggestion is to exclude them -> is it not bad for SEO not having these links in the sitemap?
Then another question: My problem is to choose in phoca cart a canonical link since the same products are in different categories.
Do you intend to do that as you have already done for virtuemart and hikashop?

I have made a php script myself, iterating through all products in phoca cart and choosing one as canonical and setting all others to the same canonical link. Is there a possibility to do that as well in 4seo? Or does such a script exist?
Freundliche GrüsseWalter Oeschuc?id=1OMwzNE8vltAFm-qPjj8bRWjEHpUYodUz&export=download
Walter Oesch
[redacted]
[redacted].ch Tel: [redacted]
Mobile: [redacted]


Am Mi., 16. März 2022 um 17:27 Uhr schrieb Weeblr <[email protected]>:

Thursday, 17 March 2022 08:10 UTC
wb_weeblr

Hi

GTranslate uses no plugin, is only a module. 

That's not possible: if it's only a module, it can only work with javascript (unless maybe if they add stuff to your .htaccess). In that case, 4SEO will never see the translation.

As they also seem to be able to translate for a regular request, this would require a plugin.

is it not bad for SEO not having these links in the sitemap?

It's always best but if your pages are indexed despite the GTranslate mechanism, you do not seem to have a problem there. Until there's more information about why the pages are not discovered, whether GTranslate is only a module or not, etc, there's not much that can be done on our side.

Then another question: My problem is to choose in phoca cart a canonical link since the same products are in different categories.

Do you intend to do that as you have already done for virtuemart and hikashop?

I have not done anything for Virtuemart, only Hikashop has some support and it actually does this automatically itself anyway. Which is what Phoca Cart should do to be honest.

Providing this for Phocacart might happen in the future but it won't happen quickly. I think you'd be better off just asking for it with the Phoca team. For them it's really easy to do and would be good for them to have this as it's a basic SEO feature. They can add it in a few minutes for sure.

It may be possible for you to extend 4SEO using one of the hooks that are built into it. If Phoca does not provide a valid answer, please open a separate ticket for it. I cannot provide custom programming assistance, but it should be rather doable.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 

 
Thursday, 17 March 2022 08:13 UTC
wb_weeblr

Hi again

IMPORTANT: I looked at your site this morning and I see that the 4SEO frontend access is open for all. So anyone can modify your page meta data and social networks sharing information!!!

You should restore the access level for that feature right away, some people are going to click and change things.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Thursday, 17 March 2022 08:29 UTC
oesch-web-gmail-com

Hi

Thank you for the Warning!

About GTranslate: I looked throug the plugins, there is absolute nothing from GTranslate!
But i had to put a php-File into the server, may be done there. And with this file, the links for specific languages are set.

But i will ask the team of phoca, thanks for this proposal.

 

Best regards
Walter Oesch

Thursday, 17 March 2022 09:21 UTC
wb_weeblr

Hi

But i had to put a php-File into the server, may be done there. And with this file, the links for specific languages are set.

Ah yes, of course; Well in that case, it's not worth spending time on this. 4SEO is a Joomla extension, it cannot be aware of anything that happens outside of it. 

Unfortunate they did not take the time to write a Joomla plugin, I guess they went for the easy and fastest way for them. You can expect more compatibility issues in the future.  I know alternatives such as Linguise work within Joomla and will be more compatible without a doubt.

But for 4SEO, that's a dead end. Unlike RSSEO and others, we don't just put in a sitemap all the links we find. When a link is found, we crawl it and analyaze the corresponding page to check things such as: is it a 404, is it blocked by a robots meta, by the robots.txt, does it have a canonical link to another page (in which page it should NOT be in the sitemap, etc).

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Sunday, 17 April 2022 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
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.