I am wanting to create a landing page with html / css / js where when the user enters see the landing and after some time redirects to the page of wordpress. (All in the same domain)

  • Try playing 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) but it creates a loop 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);

})

Read more here: Create a custom landing page before the wordpress home page and then redirect to the wordpress home page


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: