Monkeyman Rewrite Analyzer
How make rules added with add_rewrite_rule() visible in plugin? (2 posts)

  1. Ov3rfly
    Posted 4 years ago #

    Thanks for the plugin, did not know that so many rules are there...

    I have added an own rewrite-rule for ajax-requests (only POST is used in this case) in function.php like this

    add_action('init', 'my_ajax_rewrite_init');
    function my_ajax_rewrite_init() {
    	add_rewrite_rule('^ajax/$', 'wp-admin/admin-ajax.php', 'top' );

    and then flushed once using wordpress settings Permalinks menu.

    The rewrite mysite.com/ajax/ works fine but I can not see/test it in the Rewrite Analyzer. Why not?


  2. Daedalon
    Posted 4 years ago #

    Subscribing, curious about the solution.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Monkeyman Rewrite Analyzer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic