WordPress.org

Forums

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

  1. sarankumar
    Member
    Posted 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Topic