Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to make tags page's url use id instead of name?

  • Hi,everyone,

    The default tags page is like

    example.com/tags.php?tag={tag_name}

    but I want to make the url like

    example.com/tags.php?id={tag_id},

    is there any way to make it? could it be done by a plugin?

    I have to do so because using the tag’s name in url may lead to being blocked by Chinese government’s Internet censorship.

    thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’ve done it but I edited a lot in functions.bb-core.php and functions.bb-template.php.

    Is there any way to achieve it without editing files? I don’t know bbpress plugin API clearly….


    Kolya Korobochkin
    Participant

    @korobochkin

    OMG. 4 years ago and no solutions yet?! I have same issue.

    On this forum and other resources I see thousands of similar questions, but I can’t find any answers, suggestions or solutions.


    Kolya Korobochkin
    Participant

    @korobochkin

    Finally we are got the solution!

    Discussion bbpress. org/forums/topic/topic-id-instead-of-slugs/
    Working plugin github. com/korobochkin/bbPress-permalinks-with-id


    Kolya Korobochkin
    Participant

    @korobochkin

    Ooops. Its about topics and forums, not tags. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar