I am wanting to create a landing page with html / css / js where when the user enters he sees the landing and after a while he redirects to the wordpress page. (all in the same domain)
-
Try touching the .htaccess but the problem is that it takes me to the same place always:
# BEGIN WordPress RewriteEngine On
RewriteBase /project/index.php
RewriteRule ^ index.php $ - [L]
RewriteCond% {REQUEST_FILENAME}! -f
RewriteCond% {REQUEST_FILENAME}! -d
RewriteRule. /project/index.php [L]
DirectoryIndex ./landing/test.html
# END WordPress
-
this would be my landing page (it does a redirect with js) it would have to go to the wordpress site but a loop is created always to the same landing
$ (function () {
$ (". logo"). fadeIn (2000);
$ (". tlt"). fadeIn (1000);
$ (". tlt2"). fadeIn (1000);
$ ('. tlt'). textillate ();
$ ('. tlt2'). textillate ({
initialDelay: 1000
});
setTimeout (function () {
url="./";
$ (location) .attr ('href', url);
}, 5000);
})