- @reboot cron not working
- csf.deny IP format
- Help opening after Custombuild (da build all)
- "You do not own that domain"
- Unlock Innovation with Award-Winning iOS App Development in Perth
- Wildcard SSL cert for fourth level subdomain
- 550 authentication required - email bounce
- Custombuild 404 issues
- cPanel-to-DirectAdmin conversion tool
- Let's Encrypt Certificate name mismatch
Hi,Maybe someone can help me. I have a Wordpress installation and redirected the wp-login.php to /welcome (with a plugin).
Now I like to redirect the page welcome to another page during certain times. I added below the standard rewrite rules for Wordpress this to .htaccess, but it is not working.Anyone suggestions to get this work? Or maybe someone know ho to get this in PHP code, so I can add it in functions.php?Code:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress # Timeslot RewriteEngine On RewriteCond %{TIME_HOUR} ^20|21|22|23|24|01|02|03|04|05|06|07$ RewriteRule ./welcome https://www.mydomian.com/newpage.htmlKind regards,
Fred
