Mobile app version of vmapp.org
Login or Join
Pope3001725

: This will force a redirect from / to /landing every time. Place it in a file called .htaccess and place it in your root web directory: redirect 301 / /redirect redirect 301 /index.php /redirect

@Pope3001725

This will force a redirect from / to /landing every time. Place it in a file called .htaccess and place it in your root web directory:

redirect 301 / /redirect
redirect 301 /index.php /redirect


If you want them to be able to view the home page once and then redirect every time after that you'll need to use cookies and server side programming language to handle the redirect. Basically the first time they visit the index page will set a cookie with an expiration date far into the future. Then every time they revisit your site the index page will see that cookie and redirect them to the new landing page before the page loads.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Pope3001725

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme