Support » Plugin: All in One SEO Pack » Added additional filters

  • Hello,

    i have added two filters to change the canonical url dynamically and to add a custom string to the head.

    Maybe you can add it to the next version.

    File: aioseop.class.php
    Start at line: 385

    if ($aioseop_options['aiosp_can']) {
                $url = $this->aiosp_mrt_get_url($wp_query);
                if ($url) {
                    $meta = '';
                    $meta = apply_filters('aioseop_robots_meta', $url);
                    $url = apply_filters('aioseop_canonical_url', $url);
                    echo "" . '<link rel="canonical" href="' . $url . '" />' . "\n";
                    echo "" . $meta . "\n";
                }
            }

    http://wordpress.org/extend/plugins/all-in-one-seo-pack/

  • The topic ‘Added additional filters’ is closed to new replies.