[Xen-Soluce] SEO Optimization

[Xen-Soluce] SEO Optimization [Paid] 2.7.0 Fix 4

No permission to buy (€25.00)
A screenshot from a form field for text and a second form field without any content?
Looks like this

[_________________________________] [___]

With .1-Version the second field shows the number of chars, with the new .3 version nothing happens (guilty could be one of 30 new add-ons or add-on upgrades also)

I have to setup a clean forum, and install your add-on to see if it works ... because I hate to do this, i have asked if there is any chance to find the problem in the source code? With a tool built-in, the browser developer tools?
 
A screenshot from a form field for text and a second form field without any content?
Looks like this

[_________________________________] [___]

With .1-Version the second field shows the number of chars, with the new .3 version nothing happens (guilty could be one of 30 new add-ons or add-on upgrades also)

I have to setup a clean forum, and install your add-on to see if it works ... because I hate to do this, i have asked if there is any chance to find the problem in the source code? With a tool built-in, the browser developer tools?
Just wanted to be sure that we talk about the same part of the add-on ;)

So, are you using the latest version, 2.6.3 Fix 1 ? For us it works, are you using another add-on that can make a conflict ? No error in ACP ?

Regards, SyTry
 
No error message, all template mods are green and ok.
Do you have changed anything with the js or script names?
Ok, this is an idea ... found it, solved it. Sorry. Thank you.
 
Last edited:
No error message, all template mods are green and ok.
Do you have changed anything with the js or script names?
Ok, this is an idea ... found it, solved it. Sorry. Thank you.
Hello, was the JS missing ?

Regards, SyTry
 
Yes. But please don't ask me why. The web was moved to another server, but I have no idea why this js was not copied like the rest.
 
Yes I mean a canonical URL, not a redirect. So Google told which of two (or more) dupliacte pages is the one you want indexed, or treated as the main one (not that they necessarily take any notice of it)

Canonical URL is implemented since the 2.2.0
I just installed this and cannot find where I can change the rel=canonical. I have enabled my permissions can edit SEO for all threads.

Where should I be looking to edit thread titles, meta titles and canonical? Thanks
 
Maybe I don't understand all these things about OG, but ...

to have one picture for the forum itself, i use

admin.php?styles/stylename.id/style-properties/group&group=basic
and publicMetadataLogoUrl

Today I tried to have an OG for a RM category. So I go to a RM catergoy,

/admin.php?resource-manager/categories/cat_name.cat_id/edit

there I find:

Open Graph
This option allows you to set the default image via URL for Open Graph image in your threads.

I guess this field is from you? But why we talk here about my OG in threads?

OG in threads I will do maybe in forums, not in RM cats, right?

Anyway! Maybe it is a wrong phrase?

But it does not work!

When i call the resource cat, I see only the OG pic from

admin.php?styles/stylename.id/style-properties/group&group=basic
and publicMetadataLogoUrl

Please check this, or tell me what I do wrong.
 
xfrm_category_view

Code:
<xf:if is="$category.xs_seo.meta_title">
    <xf:title>{$category.xs_seo.meta_title}</xf:title>
    <xf:h1>{$category.title}</xf:h1>
<xf:else />
    $1
</xf:if>
<xf:if is="$category.xs_seo.meta_description">
    <xf:head option="meta_description">
        <meta name="description" content="{{ snippet($category.xs_seo.meta_description|strip_tags, 160)|for_attr }}" />
        <meta property="og:description" content="{{ snippet($category.xs_seo.meta_description|strip_tags, 300)|for_attr }}" />
        <meta property="twitter:description" content="{{ snippet($category.xs_seo.meta_description|strip_tags, 200)|for_attr }}" />
    </xf:head>
</xf:if>
<xf:head option="metaNoindex"><meta name="robots" content="{$category.xs_seo.meta_robots}" /></xf:head>


There is no OG:image!
 
Research:

A clean forum has no data for
admin.php?styles/stylename.id/style-properties/group&group=basic
and publicMetadataLogoUrl

When I add a picture here, I have an og:image everywhere.
Without your add-on I have no OG-field for RM cats.

With your add-on I have settings:
OG Image for threads (or url or attachment); attachment seems not to work for me, but I use images with an url in threads)
=> i will double check this again.

With your add-on I have og image in RM cat edit, but a woring phrase?!

this option allows you to set the default image via URL for Open Graph image in your threads.

also this does not work for me!
Every RM cat has no /example_image_res_cat_id, but I have nothing, when XF og is not set, or the xf-og, when set.


And where is the OG for the RM overwiew?




What should be?

og for forum, showing everytime, when there is nothing else
og for RM overview
og for every RM cat

og for forums (not tested yet)

og for threads and resources works for me, when I use an url to an image.
I am not sure about using attachments! In threads this seems not to work for me.

Can you please check this in a testforum? And maybe show pictures like

"I am RM overview pic"
"I am RM cat_id 1 pic"
"I am RM cat_id 2 pic"

I am res attachment
I am res icon
I am res url
{maybe not possible, because we have to choose one of these for all res?)

Same to threads.
 
Maybe I dont understand your logic?

Anyway, it seems to me:

There is no og:image for rm overview
There is no image for RM cats
There is no image for forums

But also the fields for RM cats and forums (image for threads is not working as default!)


Here again, how it should be from my point of view:

Forum default (XF)

SEO:
og forum home
og for every forum
og for RM overview
og for every rm cat

also defaults!
og for RM resources in cat x
og for forums in form x

also resources and threads like have to set single og or use attachments.
rm icons are too small.

Sorry, to say, but the add-on is not finished!
Please finish it, make it complete and working for all of these main pages.
 
And again my question: Why is it needed to save empty values in your blob?

Code:
{"meta_title":"","meta_description":"","meta_robots":"","open_graph":"","twitter_card":"summary","canonical_url":""}

Why there is no:

any content? then save only this content, not the empty fields
no content? then save []

Just some more lines, right?

Or at least a cache-job or cron-job to erase all these data?
 
1. I add a new line to your template mod like AND delete the XF:eek:g image

Code:
<meta property="og:image" content="{{ snippet($category.xs_seo.open_graph|strip_tags, 200)|for_attr }}" />

2. If I add the xf og image
I have the og:image two times in source code; one from XF, one from category.


Please! How can this be?


1. missing the og:image
2. have no replace or stop for the xf og:image if set.

Please check this add-on!
 
Hello,

We saw that you have questions about our add-on, particulary about the OG system. We’ve made an update on june 2023 because it was not working for the XFRM. We’ll have to check again, also for the « threads » in the description settings, it’s an error but that option is for « ressources ». Anyway, we’ll check all the options and release an update for this add-on, it will not be today since we have to review all our code but we can promise you that it’s something we’ll do for sure !
Are you using the latest version, the 2.6.3 Fix 1 ?
Please check this add-on!
Please check the version of the add-on you are using ;)

And again my question: Why is it needed to save empty values in your blob?

Code:
{"meta_title":"","meta_description":"","meta_robots":"","open_graph":"","twitter_card":"summary","canonical_url":""}

Why there is no:

any content? then save only this content, not the empty fields
no content? then save []

Just some more lines, right?

Or at least a cache-job or cron-job to erase all these data?
Because when you save a thread, you save all the associated fields, so you won't gain anything by leaving them as they are, or not, as they may still be processed unnecessarily in the code. Also, this is to avoid errors such as "Can't read title on NULL" (title is an example) etc. To avoid this, you can indeed check if such and such a field exists, but this would add to the completion of the field for nothing.
Because at the time of the recording of a thread you record all the associated fields, you will gain nothing more to leave such as it is or not, after in the code it risks to have more useless treatment

Regards, CRUEL-MODZ
 
Who am I to tell you how to make an add-on ... :)

But maybe you will start with a list first and make a concept, here is what I would like to have:
ogi = og:image

XF default ogi

xf forum list ogi
xf forum ogi per forum = could be the default ogi for all threads in this forum OR
xf forum ogi as default for all threads

threads like now, but please check if attachments are working? Maybe set a hint for 851*315 (correct size?)

xf rm overview ogi
xf rm cat ogi per cat= could be the default ogi for all resources in cat OR
xf rm cat ogi as default for all resources

Please check if attachments are working? Maybe set a hint for 851*315 (correct size?)

icon makes no sense as long small?


Perfect, but maybe overkill: Choose one attachment for threads and resources




For the XF default ogi, you have to check if it is set or not!


And maybe there is another problem!
When using an og:image with 851*315 it is correct as og:image, but if you open your browser and see the list of domains you have visited last time, then this picture is used as a quadrat, means it looks wrong. I have seen this today, while i experiment with three different forums, so I could see the icon used for them and this list in the browser, when have a 851*315 instead 800*800, it looks wrong.
 
Last edited:
Back
Top Bottom