Had a quick Googly around but didn't see anything on this. Need it for a new plugin I am working on.
Does anyone know if there is an easy way (i.e. existing function) to detect if a WordPress site is using default permalinks or custom?
I know I could look up the current page URL and see of there is a '?' after the domain name. for example: http://localhost/wordpress3.0/?page_id=4. It is quite easy to check ther URL for the '?'. Bit of a hack but it should work OK - however if there is a better way I would rather use that.
David


LinkBack URL
About LinkBacks
Reply With Quote