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

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...