Forums

[resolved] Problems with custom taxonomies (5 posts)

  1. G4sT0n
    Member
    Posted 1 year ago #

    Hello,

    I have some problems with taxonomies. It's the first time I try to use them.

    When I register a new taxonomy like the code in this codex page, it appears in the admin panel but I can't access to the page. I create a book, publish it and when I click on view book, the browser open http://monsite/book/first-book and I get a not found page.

    I tried to add taxonomy.php and taxonomy-book.php files in the template directory but it seems to be the same.

    How can I access to the books from the frontend ?

    Does anyone encountered a similar problem before ?

    Thanks in advance for your time.

  2. G4sT0n
    Member
    Posted 1 year ago #

    Ok I find the source of the problem. When I desactivate url rexrites it calls http://monsite/?book=toto and it works.

    But it's not a solution because I need to rewrite my urls for SEO purpose.

    I don't know if it's a bug or if I made a mistake.

    Does anyone has an idea ?

    I don't know if I have to create a ticket for this and I want to be sure to not do a mistake.

    Thanks

  3. MichaelH
    Volunteer
    Posted 1 year ago #

    I'm having no problem on my test install doing:
    http://localhost/wp30/book/catcher-in-the-rye/

    After you add a post_type you do need to visit Settings->Permalinks and click Save Changes.

  4. G4sT0n
    Member
    Posted 1 year ago #

    Yes I juste found it on track http://core.trac.wordpress.org/ticket/13022

    Thanks for your help and I wish it will help someone.

  5. wrk
    Member
    Posted 1 year ago #

    Hey G4sT0n, did you already find a solution??

    I got the same problem here...

Topic Closed

This topic has been closed to new replies.

About this Topic