Re: [users@httpd] rewrite in .htaccess

2016-06-02 Thread Michał Nazarewicz
2 cze 2016 12:27 "Miguel González" napisał(a): > Do I need to get a SSL certificate for oldomain.com? If user connects to olddomain.com over SSL, you need a certificate valid for that domain. This may or may not be useful:

Re: [users@httpd] rewrite in .htaccess

2016-06-02 Thread Miguel González
On 05/24/16 6:26 PM, Miguel González wrote: > On 05/24/16 1:51 PM, Yehuda Katz wrote: >> Because the rewrite rule above it says it uses the last rule to run if >> it matches (that is what [L] means). Put your new config above the >> WordPress rule. I can´t make it to work with HTTPS, I get a

Re: [users@httpd] rewrite in .htaccess

2016-05-24 Thread Miguel González
On 05/24/16 1:51 PM, Yehuda Katz wrote: > Because the rewrite rule above it says it uses the last rule to run if > it matches (that is what [L] means). Put your new config above the > WordPress rule. Now it works! Thanks! Miguel

[users@httpd] rewrite in .htaccess

2016-05-24 Thread Miguel González
Hi all, I´m having issues with a migration to a new domain redirecting all URLs to the new domain. My .htaccess looks like this: RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php