Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http://domain/support/search/?s=yes&post_type=help
- RewriteRule ^port/?$ index.php [QSA,L]
- BuddyPress
- Clone Posts
- Contact Form 7
- Easy Bootstrap Shortcode
- Easy Pricing Tables Lite by Fatcat Apps
- HubSpot for WordPress
- jQuery Smooth Scroll
- Module Manager
- Simple Share Buttons Adder
- Types - Complete Solution for Custom Fields and Types
- WooCommerce
- WordPress Importer
- WordPress SEO
- WP Migrate DB
- WP Views
- function rm_search_rule(){
- add_rewrite_rule('^support/search/', 'index.php', 'top');
- }
- add_action( 'init', 'rm_search_rule' );
- function rm_search_rule(){
- add_rewrite_rule('^support/search/([^/]+)', 'index.php?s=$matches[0]', 'top');
- }
- add_action( 'init', 'rm_search_rule' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement