• Home
  • Get help
  • Ask a question
Last post 1 hour 2 min ago
Posts last week 78
Average response time last week 1 hour 55 min
All time posts 69966
All time tickets 10809
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.

#11207 – Pages update

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.
Monday, 29 July 2024 12:12 UTC
theant

Hello
I have some questions to ask about 4SEO.
When I add content to the site and it is also shown on the Home Page, does 4SEO automatically intercept the new content and update the meta tags or do I have to do something manually?
I ask because if I share the home page Url on social, an old image is used that is no longer on the home page.

More generally what is the best practice for keeping all the meta tags up to date, for the home page and for those pages that might be added or changed over time?

In Configuration / System I see a red rectangle that says:
Functions file found
/home/djgmuyjr/public_html/libraries/weeblr/forseo_functions.php
is this normal?

Thanks

Monday, 29 July 2024 12:28 UTC
wb_weeblr

Hi

When I add content to the site and it is also shown on the Home Page, does 4SEO automatically intercept the new content and update the meta tags or do I have to do something manually?

4SEO does not do anything to "meta" tags, except creating a meta-description if none is present on the page. So yes, if a new page is added, and you have not added a meta description already through Joomla or by any other means, then 4SEO will create one on the fly (but not store it anywhere) - assuming you have not disabled that feature in the Pages settings of course.

I ask because if I share the home page Url on social, 

On social media, "meta" tags are not used. Instead, most social networks use Open Graph tags (OGP). Exception is Twitter/X, which uses its own TwitterCards tag.

4SEO generates then automatically, nothing needs to be done - although you can of course manually override them through 4SEO user interface.

an old image is used that is no longer on the home page.

4SEO is only responsible for inserting the proper OGP tags. You can verify if they are present and what their content is by looking at your page source code, and search for the og:image tag.

I cannot do any such check as you did not provide a full and real URL to the site, which you should always do.

Now whether the social network actually update their records is another thing. They may or may not take the updated tags into account, and they may or may not do that quickly.

More generally what is the best practice for keeping all the meta tags up to date, for the home page and for those pages that might be added or changed over time?

I assume you are talking about OGP tags, not "meta" tags.

There is not best practice that I can think of, just common sense.

If images on your home page changes often, then maybe you want to chose an specific image and assign it to the home page (as described in the 4SEO documentation). That way you don't rely on Social networks to update their records, which they may never do sometimes).

On pages where the "representative" image don't change, then you can rely on the automated selection made by 4SEO. 

Of course, the best practice is that you should always test, and more specifically look at your OGP tags, more specifically the og:image tag in your case.

In Configuration / System I see a red rectangle that says:
Functions file found
/home/djgmuyjr/public_html/libraries/weeblr/forseo_functions.php
is this normal?

This means that YOU added some CUSTOM CODE that 4SEO must execute. I don't know what it does, this is your code and it modifies the way 4SEO operates.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 

 

 
Monday, 29 July 2024 14:36 UTC
theant

Hello

thanks for reply.

sorry, I confused Meta and OGP tags.

The home page is: https://www.example.it/

I assigned a new image to "/" page into 4SEO, the o:image tag is correct now

<meta property="og:image" content="https://www.example.it/images/010/00_sandron 010 header-2.png" class="4SEO_ogp_tag">
<meta property="og:image:width" content="703" class="4SEO_ogp_tag">
<meta property="og:image:height" content="491" class="4SEO_ogp_tag">
<meta property="og:image:secure_url" content="https://www.example.it/images/010/00_sandron 010 header-2.png" class="4SEO_ogp_tag">

but Facebook debugger still display the old image (date 7/9).

It's a Facebook issue.

About the custom code. You suggest me it in this ticket: https://weeblr.com/helpdesk/4seo

<?php
/**
 * 4SEO hooks file
 *
 * You can use 2 variables to access 4SEO content:
 *
 * $factory: access variables
 * $hooks: add handlers
 */

// no direct access
defined('WBLIB_EXEC') || die;

$hooks->add(
    'forseo_config',
    function ($config, $scope) {

        // Change image method detection for social networks sharing
        if ('socialNetworks' == $scope)
        {
            $config['imageDetectionMethod'] = 1; // First = 1, Largest = 2, Disabled = 0
        }

        //Change image detection method for image used in Structured Data
        if ('sd' == $scope)
        {
            $config['imageDetectionMethod'] = 1; // First = 1, Largest = 2, Disabled = 0
        }

        return $config;
    }
);

is it still necessary?

Regards

 

 

 

Il 29/07/24 14:28, Weeblr ha scritto:

[weeblr.com] Reply to your private ticket #11207 Pages update [4SEO]

 

Monday, 29 July 2024 14:41 UTC
wb_weeblr

Hi

About the custom code. You suggest me it in this ticket:

Sure, and I take absolutely no responsibility for it, under any circumstance. Your site, your code.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 

 

 
Thursday, 29 August 2024 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.