• Hello,

    I’m new to php so forgive me if this is an obvious question. When I click on a link in my Categories section, I get “The page cannot be found.” I created a category.php that is identical to the index.php file and placed it in the files of my current theme and this did not work. What am I doing wrong?

    my website is http://jmmgmm.com
    Thanks for your time

Viewing 4 replies - 1 through 4 (of 4 total)
  • The problem is not with the template.

    You’ve set up a custom permalink structure on your blog, which apparently is not supported by the server (Microsoft IIS) you’re hosted on. So all links on your blog are failing, not just those for categories.

    Try changing back to the default permalink structure.

    Thread Starter int123

    (@int123)

    hello and thanks.

    I went back to the default structure in my themes and my links are still failing. Is this what you mean when you say the default permalink structure? Also, does this mean I need a web server (web provider) that does not run on IIS for wordpress to run for me?

    Thanks in advance

    Thread Starter int123

    (@int123)

    I found some documentation for using a permalink without mod_rewrite due to IIS not supporying it. Would I make these modifications in the index of the theme?

    Thank you

    These do not work:

    http://jmmgmm.com/index.php/category/current-topics/
    http://jmmgmm.com/index.php/2006/09/28/tesy/

    But these do:

    http://jmmgmm.com/?cat=1
    http://jmmgmm.com/index.php/?p=3

    These display the default permalink structure on your blog. They should always work.

    As for mod_rewrite in IIS, I can’t provide much help except to note that if you’re paying for hosting, I would contact your provider and ask if they can implement a solution. Workarounds such as using 404s as a passthrough (or whatever the docs you found recommend) *can* work, but not in all cases.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘How do you create a category template?’ is closed to new replies.