WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Tag URLs without /tag (2 posts)

  1. mmoraes
    Member
    Posted 6 years ago #

    Hello,

    I'm about to launch a new site about recipes and I would like to have a simple and intuitive feature that allows visitors to find articles based on ingredients. Example:
    http://www.mysite.com/CHOCOLATE
    http://www.mysite.com/EGG
    http://www.mysite.com/CHERRY

    I guess the easiest and best way to achieve this is through tags. I set the permalink structure to be like "/recipes/%category%/%postname%/" and the tag prefix to be "/%tag%".

    Problem is that I'm not getting it to work, since it gets messed with permalinks rule.

    Example:
    1) http://www.mysite.com/CHOCOLATE <- works and shows all articles related to the tag "CHOCOLATE"

    2) I click on an article under the tag "CHOCOLATE" (www.mysite.com/recipes/cakes/chocolate-cake/) <- 404 error - not found

    Any idea how to make it work?

    Thanks a lot.

  2. mmoraes
    Member
    Posted 6 years ago #

    Nevermind. Got it working doing some tricks with Redirections plugin: http://urbangiraffe.com/plugins/redirection/

Topic Closed

This topic has been closed to new replies.

About this Topic