WordPress at Your Fingertips

Rewrite (clean friendly URL) (tag)

add_permastruct()

Add permalink structure.

add_rewrite_endpoint()

Add an endpoint, like /trackback/.

add_rewrite_rule()

Adds a rewrite rule that transforms a URL structure to a set of query vars.

add_rewrite_tag()

Add a new rewrite tag (like %postname%).

flush_rewrite_rules()

Remove rewrite rules and then recreate rewrite rules.

remove_permastruct()

Removes a permalink structure.

remove_rewrite_tag()

Removes an existing rewrite tag (like %postname%).

save_mod_rewrite_rules()

Updates the htaccess file with the current rules if it is writable.