Rewrite /keyword1+keyword2.html to search page | .htaccess

Don’t touch the .htaccess file, there’s this neat tool add_rewrite_rule() which you should hook into init: add_action(‘init’, function() { add_rewrite_rule( ‘search+([^/]+).html$’, ‘index.php?my_custom_search=1&s=$matches[1]&submit=Search’, ‘top’ ); }); Right after that you should flush the rewrite rules once ( by saving the permalink settings in Settings > Permalinks or with flush_rewrite_rules() BUT call that function only once and … Read more

301 redirect from webpage to wordpress page in the same root

Here’s the trace results. http://coinauctionshelp.com/United_States_Coin_Mintages_Price_Guides.html HTTP/1.1 500 Internal Server Error Date: Fri, 01 Jul 2016 22:24:27 GMT Server: Apache Last-Modified: Mon, 25 Apr 2016 21:39:43 GMT ETag: “38150-117-5315603b9a5c0” Accept-Ranges: bytes Content-Length: 279 Vary: Accept-Encoding Content-Type: text/html Connection: close

.htaccess home configuration

Try this: <IfModule mod_rewrite.c> RewriteCond %{HTTP_HOST} ^www\.mydomain\.com [NC] RewriteRule ^(.*)$ http://mydomain/.cl/c/news/.com/$1 [L,R=301] </IfModule>

Htaccess remove dates from root site but not from subdomain

I figured out my own answer, so am posting it here so if someone else runs into the same problem, they can see what I did. The issue for me was that the base WordPress redirect code: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} … Read more