Jump to content

How To Edit Organization Schema


Go to solution Solved by Matt,

Recommended Posts

I noticed the Organization schema works IF the TLD is the forums. However, that's not the case for us.  Instead, IC a directory off the the TLD (i.e. https://TLD/forums).  In this instance, the schema ends up like this:

@type
Organization
@id
mainEntityOfPage
name
Name of Forums
url

 

Where it should be:

@type
Organization
@id
https://www.TLD/#organization
mainEntityOfPage
name
Name of Website
url

 

Is there a method to fix this?

 

Link to comment
Share on other sites

This would be correct as your community is installed in your "forums" directory. Thus, the software uses that URL. To change this, it would not be advised and require a customization.

Link to comment
Share on other sites

I get the software assumes it's installed at the root directory, hence the way the Schema is coded.

 

But it's not installed in the root directory, so the Schema information is incorrect. The software has no provision for that use case (installed in something OTHER than the root).  That is the problem.

Link to comment
Share on other sites

  • Management
  • Solution

I understand what you mean.

You're saying your site is my-site.com, and you have created a directory 'forums' and put the forums in there, so the JSON should report the site as 'my-site.com' but it's reporting 'my-site.com/forums'. I'll open an issue.

Link to comment
Share on other sites

  • 1 month later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...