apply mod rewrite to posts only - not pages (2 posts)

  1. miura465
    Posted 8 years ago #


    I have built a plugin that uses $_POST to get the page id. I now need to install this plugin on a different WP installation that uses pretty permalinks. So the $_POST now does not work. This plugin only affects pages, not posts. so the easy fix would be to only have pretty permalinks applied to posts and leaving pages with ugly permalinks. does anybody know of any solution? hand editing .htccess is fine by me.


  2. I'm not quite understanding what you're trying to do... Get the current page and/or post ID? Why not just use get_the_ID()?

Topic Closed

This topic has been closed to new replies.

About this Topic