WordPress.org

Support

Support » Plugins and Hacks » Confused with Permalinks

Confused with Permalinks

  • Hello,

    I’m developing an picture/image/photo professional gallery for WordPress and need some help to better understand the permalinks mechanism.

    I want to make the following permalinks for my plugin, but I’m getting no success:

    /images/ -> index.php?chpage=images
    /image/image_file.jpg -> /index.php?image=image_file.jpg

    /albums/ -> index.php?chpage=albums
    /album/album_name/ -> /index.php?album=album_name

    /subjects/ -> index.php?chpage=subjects
    /subject/subject_name/ -> /index.php?subject=subject_name/

    I tryed to understand the Codex docs and tryed some tests without success. The online docs is a little confusing.

    Can you give me some example on how to do a complete rewrite support in a plugin? What actions or filters I need to define?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Confused with Permalinks’ is closed to new replies.