• Resolved Andreas 2013

    (@andreas-2013)


    Hello SEO-friends,

    I got problems with a YOAST update and hope, that someone could help me ??

    My WordPress-Website includes thousand of pages of descriptions of famous persons. These pages are virtual and base on only one static page, which is connected to a mysql database. The URls are looking like this: https://www.mydomain.com/page/?id=1505_John-Wayne
    To generate the title-tags and descriptions for each person, I use YOAST-SEO-plugin, which I modified this way:

    if (is_page(number of the static page)) {
    $id = $_GET[‘id’];
    include(“config.inc.php”);
    if ( $connection )
    {
    $SQLString = “SELECT id, name FROM Persons WHERE id = ‘$id'”;
    $result = mysqli_query($Verbindung, $SQLString);
    $row = mysqli_fetch_array($result);
    $content = str_replace( $this->debug_marker( false ), $this->debug_marker( false ) . “\n” . ‘<title>’ . $field[‘name’] . ‘ | mydomain.de</title>’, $content );

    This worked fine for years. Because of my very strong modifications I couldn’t update the plugin. But now it seems, that the newest WordPress-Version 4.8 isn’t longer compatible to my old YOAST-Plugin.

    Is there another way to generate those meta-head-informations automatically, without the YOAST-SEO-plugin? Does anyone have the same problem? Or is there a way to save custom plugin-modifications, when updating, may be like a wordpress child theme?

    Thank you very much in advance!

    • This topic was modified 7 years, 8 months ago by Andreas 2013.
Viewing 2 replies - 1 through 2 (of 2 total)
  • @andreas-2013, we can’t offer support on the custom code (needed to change (core) features of our plugin). Since we don’t want to take the risk that we break your website by suggesting an incorrect or incomplete code, we cannot advise you on how to make such changes. Maybe someone watching these forums can assist you further, but if your topic is inactive for 2 weeks, we’ll mark it as resolved to keep the overview.

    Thank you for your understanding.

    Closed due to inactivity.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Automatically generate title-tag’ is closed to new replies.