add_rewrite_rule
should choose where to write your rules to internal array of rewrite_rules or to .htaccess. If I understand logic behind this code SSLA_PLUGIN_URL
is something like http://www.example.com/wp-content/plugins/plugin/
… in this case you should check your .htaccess
(in case if you using apache), because all external rules goes there.
You can continue to debug your redirections with debug setting of mod_rewrite.
Related Posts:
- How to check if a rewrite rule exists
- Querystring parameter getting lost in rewrite rule
- Custom post types and custom variables — add_rewrite_tag() question
- WordPress Custom URL Rewrites
- Case-insensitive add_rewrite_rules in WordPress functions
- Does add_rewrite_rule(..) only accept “index.php” as redirect target?
- Cyrillic characters in rewrite rules cause 404 Not Found errors
- Custom Endpoint Gives 404 Header
- Clean URLs for custom $_GET variables
- Making extra parameters optional
- why is are these rewrite_tags and rules not working?
- Separate posts by chapter per rewrite
- resolve /author/ to a page or archive (of all authors) template
- Multiple values in a rewrite rule, is it possible?
- What add_rewrite_tag()’s RegEx matches against?
- add_feed and flush_rewrite_rules
- add_rewrite_rule parameter is not received by the page
- Best action to call add_rewrite_rule
- get_query_var with add_rewrite_rule and add_filter(‘query_vars’) not working
- Reading Settings -> Front Page displays “Static Page” being reset
- why does add_rewrite_rule refresh and loose url variables
- add_rewrite_rule isnt working, not getting added to rules array, why?
- add_rewrite_endpoint not working
- Associate the “add_rewrite_endpoint” and “$_GET”
- Custom Rewrite rule to match anything not already matched by WordPress
- Add Rewrite Endpoint to CPT Archive
- Optional all capture groups in rewrite rule
- Rewrite rule : custom post type with 2 numeric variiables
- Does it still make sense using json endpoint ep_mask now that there’s the new rest api? [closed]
- Simple page URL rewrite with add_rewrite_rule()
- Optimal code for two add_rewrite_rule’s
- Custom URL rewrites work, but break my permalinks
- add_rewrite_rule – Additional subpages for author pages
- Rewrite rule problem
- How do I flush rewrite rules
- Pass query vars to front page
- rewrite url in wordpress
- Making extra parameters optional
- My add_rewrite_rule is returning a 404
- Rewrite rule for path of favicon.ico ( Add_rewrite_rule function possible ? )
- FLUSH_REWRITE_RULES – after or before REGISTER_POST_TYPE?
- Using get_query_var() from a plugin
- How to flush rewrite rules on the activation of any plugin
- $wp_rewrite->rules is always NULL
- Rewrite without query parameter
- WordPress CPT slug and page slug conflicts
- Mod_rewritte – remove ?m=1 from url
- help with custom rewrite rules
- Order of rewrite rules when calling add_rewrite_rule
- Rewrite Rule for Post Meta
- WooCommerce – Conditional for page created by rewrite_rule
- custom permalink for single post category
- WordPress add_rewrite_rule second argument not working
- WordPress rewrite does not work for some reason
- Rewrite rules priority
- Rewrite rules ignored
- add_rewrite_rule issues
- Add_rewrite_rule doesn’t seem to work?
- Grab last part of the url inside rule
- add_rewrite_rule to search
- Rewrite rules applied differently after upgrade
- Leverage WP_Rewrite to pre-validate links / detect invalid links
- Is it possible to add a site-wide add_rewrite_rule for a multilingual site?
- When request has multiple matching rewrite rules, and matched rule returns 404 – iterate to next rewrite rule
- “/” URLs without trailing slash shows 404
- CPT – Nice url with add_rewrite_rule
- add_rewrite_rule not working for blog category page
- get_author_posts_url() doesn’t return the author URL, because of wrong author_structure
- rewrite rule not working: redirect to php script if file exists
- add_rewrite_rule only works when flush first
- Homepage rewrite rule
- custom rewrite rules will not be added to wordpress rewrite_rules database
- rewrite rules problem with #comments-2345
- Overcoming a complex WordPress page rewrite rules request
- Why isn’t my rewrite rule for add_rewrite_rule not working as expected?
- Custom Fields Query Vars and Rewrite not working
- A part of regular expression in add_rewrite_rule function not working
- Using add_rewrite_rule in conditional statement using $_SERVER
- Complex rewrite rules with multiple variables, some the same
- how to use mutliple add_rewrite_rule?
- Social sharing conflict with Rewrite rules
- Rewire Rules Front Page
- How to use endpoint, but remove/rewrite endpoint base?
- WordPress URL rewrite after changing web from Joomla
- Adding custom slugs: parent-page/username/child-page/
- Changing default slug of post to the post id
- How bad is flush_rules() on init hook?
- Rewriting base name Taxonomy same Post Type
- Where to hook to bypass instantiating WP_Query?
- Passing variables in the permalink structure on a custom post type
- WordPress Rewrite Rules
- Overwrite WP’s default search rule to redirect to my own template
- add_rewrite_rule with trailing slash redirects
- nginx + W3 Total Cache: rewrite rules issue [closed]
- Custom URL rewrite with add_rewrite_rule
- Redirect to a file in a WordPress theme directory
- Direct domain alias to a specific WordPress page without the page in the URL
- rewriteRules WP6
- WordPress rewrite rule – not able to access second and third parameters
- Custom URL Rewrite Rules not working