Jump to content

SeoMaestro


Wanze

Recommended Posts

Hi,

We are in the process of upgrading our website. Our current PHP version is 5.6.  Do we have SeoMaestro version compatible with PHP 5.6.  If yes could you please share the download link

After upgrade we will make use of the latest version of SeoMaestro

Thanks

 

Link to comment
Share on other sites

  • 1 month later...

Apologies if this has been asked before (I searched but didn't find anything), but most of the pages of my site, I want the meta title format to be Page Name – Site Name.

But for the home page, I want it to be Site Name – some text. I don't see a way to do that.

Link to comment
Share on other sites

delete " - site name" from module settings and add "site name" if not home page.

$wire->addHookAfter('SeoMaestro::renderSeoDataValue', function (HookEvent $event) use ($settings) {
    $group = $event->arguments(0);
    $name = $event->arguments(1);
    $value = $event->arguments(2);

    $page = wire("page");

    if ($page->id != 1 && $group === 'meta' && $name === 'title') {
        $event->return = $value . ' - ' . $settings->site_name;
    }
});
  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

Hi folks,

I just released version 1.1.1 which fixes the PHP 8.1 related errors from this issue: https://github.com/wanze/SeoMaestro/issues/41

These issues have been fixed by merging a pull request. I appreciate if the community can help me out, as I am quite disconnected from the ProcessWire world (as you might have noticed). However, I still want to support this module with bugfix releases.

Cheers

  • Like 6
Link to comment
Share on other sites

  • 2 months later...

Hi, I was using this code:

<?php
$wire->addHookAfter('SeoMaestro::renderMetatags', function (HookEvent $event) { 
	$tags = $event->arguments(0); 
	$group = $event->arguments(1); 
	if ($group === null) { 
		unset($tags['meta_generator']); $event->return = $tags; 
	} 
}); 

To hide generator from SEO Maestro, but with the last version is not working anynore.

Thx in advance ?

Link to comment
Share on other sites

  • 1 month later...
  • 4 months later...
On 12/20/2021 at 10:06 AM, DV-JF said:

Hey @Wanze I've maybe figured out a problem with your module - see: https://github.com/wanze/SeoMaestro/issues/40

Edit: Because this seems for me that this could be a problem for anybody else, I'll copy the text and images here - anyone else facing this problem?

Seo image is duplacated multiple times:

  • PW Ver. 3.0.184
  • Modul Ver. 1.1.0
  • PHP 7.4
  • Settings - see. Screenshot below

Description:
Till now I've only setup one image on the Homepage (page id 1) for the SEO image field.
But it seems, that every time  I save the page  I visit the page an extra image is created in site/assets/files/1234 the folder corresponding to the page I'm saving.

EDIT OUUUCH -It seems even worse: - The suspicious files are generated every time the page is loaded in frontend - see last three screenshots.

999075392_2021-12-2011_11_58.jpg.cfa38b9d40b7c5b4e995b2404c273100.jpg

1295879251_2021-12-2011_13_13.jpg.03c3cff43d41d6f1402162b4f3671c12.jpg648843762_2021-12-2011_14_14.jpg.a02fd1f3700809277921516b0c362ba5.jpg

This blows up the assets folder enormously and is absolutely weird.

For more screenshots see attachments.

2021-12-20 10_48_32.jpg

2021-12-20 10_44_08.jpg

2021-12-20 10_39_12.jpg

Screenshot 2021-12-20 at 10-30-13 Feld bearbeiten seo_meta • stadthalle-kelkheim local.png

Was this tackled in the 1.1.1 update? I can see it's still an open issue on github

  • Like 1
Link to comment
Share on other sites

  • 7 months later...
  • 9 months later...
  • 1 month later...
  • 2 months later...

It doesn't look like this module is being maintained anymore and there's an issue that should be known by users.

The sitemap generator is including:

  • Pages that have 'include in sitemap' unchecked
  • Hidden pages
  • Children of unpublished pages

Not sure if this is being experienced by others but this can be problematic for discovery of pages that shouldn't be readily known to the public.

Correction

If a parent page has indexing disabled, but a child page does not, then the child page will still be indexed, which kind of opens the parent page for indexing as well. Best to keep robots.txt up to date as a fallback.

If you would like hidden pages to not show up in sitemap.xml, then modify L77 of SeoMaestro/src/SitemapManager.php

<?php

$selector = sprintf(
    'template=%s,template!=admin,id!=%s,include=hidden', // Remove 'include=hidden' from this line
    implode('|', array_keys($templates)),
	$this->getExcludedPages()
);
Edited by FireWire
Add solution
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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