WordPress.org

Ready to get started?Download WordPress

Forums

%tag% in permalinks doesn't work (3 posts)

  1. amplifiedshock
    Member
    Posted 4 years ago #

    Hello,

    I tried adding the %tag% to my custom permalink but it does not work. The URL will not show the tag, but %tag%. For example: http://www.website.com/%tag%

    Everything else such as %category% seems to work.

    Any help would be much appreciated.

  2. Shane G
    Member
    Posted 4 years ago #

    Hi,

    Add this code in htaccess and have a check:

    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Thanks,

    Shane G.

  3. amplifiedshock
    Member
    Posted 4 years ago #

    Hi, I just checked and the code already appears in the htaccess file.

Topic Closed

This topic has been closed to new replies.

About this Topic