Permalinks Help (2 posts)

  1. Seans0n
    Posted 6 years ago #

    I've recently developed a link directory plugin for WordPress and I'm trying to enable permalinks to correspond to categories in much the same way as WordPress uses /%category%/.

    I read through this guide:

    ..and then tried it myself. My code looks like this:

    Yet when I type in http://www.mysite.com/country/Ireland in my address bar I'm simply presented with the homepage, without any echo'd text from the script. Without the code in place that URL returns a 404 error, but with it in place it returns the homepage.

    I think that the permalinks are being loaded but for some reason the $_GET variables aren't reaching my script. What am I missing?

  2. Seans0n
    Posted 6 years ago #

    I've now tested this out in a couple of places and I still can't get it to work so it's obviously something I'm doing wrong rather than a bug on WordPresses side. Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic