Support » Plugins » How can i add a new rewrite rule at top of htaccess file

  • I want to add following rewrite rule in wordpress .htaccess using add_rewrite_rule() function.

    RewriteRule ^admin-panel/(.*) wp-admin/$1?%{QUERY_STRING} [L]

    how can i proceed? Thanks advance.

  • The topic ‘How can i add a new rewrite rule at top of htaccess file’ is closed to new replies.