WordPress.org

Forums

How can i add a new rewrite rule at top of htaccess file (1 post)

  1. sarankumar
    Member
    Posted 9 months ago #

    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.

Reply

You must log in to post.

About this Topic