• All links are generated as site.com/directorytag/%post_tag%

    First of all there should be a forward slash before tag and %post_tag% should become the actual tag no the short code.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey what i ended up doing was changing a couple lines in the automatic-tag-link.php .

    i changed the following lines and it all works perfect.

    on line 72

    change this :
    }else $structure=get_option('siteurl').$ss;

    to this
    }else $structure=get_option('siteurl').'/'.$ss;

    and then to fix the %post_tags%

    And i changed this on line 93

    $structure=str_replace('%tag%',$value->slug,$temp);
    to
    $structure=str_replace('%post_tag%',$value->slug,$temp);

    Works prefect…thanks daevisioninc!!

    Yep, thank you daevisionic, works like a charms! I hope more people (and the author) can get to read it.

    Regards,
    hparra

    It works.
    Thank you

    Besides daevisioninc’s solution, please also use

    home_url()

    instead of the

    get_option(‘siteurl’)

    The get_option(‘siteurl’) refers to the WordPress folder, and in case the blog’s address is different from the WordPress folder, this causes problems.

    @sammychen: Please fix these issues and release a new version of this plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Automatic Tag Link] Links are applied in content with %post_tag%’ is closed to new replies.