Tag Info

Hot answers tagged

1

Without being an htaccess expert, I'd say you're missing a RewriteCond - A condition. Check if it's on port 80. Try this: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^/?(.*) https://%{SERVER_NAME}/wordpress/directory/$1 [R,L] UPDATE: After seeing your updated question, with the full .htaccess - I'd do this: <IfModule ...


1

This fixed my issue. function my_query_vars($vars) { $my_vars = array( 'PARAMETERS' ); return array_merge($my_vars, $vars); } add_filter('query_vars', 'my_query_vars'); function my_rewrite_rules($rules) { global $wp_rewrite; $my_page = 'PAGESLUG'; $my_rule = array( 'URL/?' => 'index.php?pagename=' . $my_page . '&school_type=$matches[1]' ); return ...



Only top voted, non community-wiki answers of a minimum length are eligible