WordPress.org

Ready to get started?Download WordPress

Forums

All in One SEO Pack
Added additional filters (1 post)

  1. Feran
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.