By stokks on
hi, i've been workin on a drupal website (just upgrading it), and now i want to change the default splash screen www.website.com to make it go directly to www.website.com/index.php
i already tried with front page, but it doesn't solve my problem, does anybody know how to do that?
thanks in advance
Comments
=-=
index.php does not render any HTML for display.
you can use a custom page-front.tpl.php if you want a custom front page styled differently than the default front page.
maybe i haven't explained it
maybe i haven't explained it well, i have a splash screen (only a big logo) if i go to www.mirodinero.com
but i want to make it that going to www.mirodinero.com redirects me to www.mirodinero.com/index.php (there exists a page www.mirodinero.com/index.html but it's the same as writing www.mirodinero.com)
i sent you the one i'm actually working on.
=-=
I understand, however, that doesn't change the fact that drupal's index.php is being called when going to yoursite.com
if you want an index.html file then you can add it, and edit .htaccess to allow the file to be browsed. Though I see no need to do such a thing.
if you want you want the path to show index.php when you browse to your front page, you can create a single piece of content and title it index.php or investigate the possibility of a url alias.
i just want to be redirected,
i just want to be redirected, but when i create a new page, what shall i do?
i put as title "home page"
then i put www.website.com/index.php in the URL options
so i save, but then i don't get that page. what did i do wrong? (sorry but i'm quite a noob on this)
=-=
drupal allows a default front page to be set at administer -> site information -> default front page
if the node is named home, then you set home as the path
You can also use views.module, panels.module or the tpl.php file previously mentioned to create custom front pages which are different than your overall layout. it completely depends on what you need.
SOLVED
it's ok i solved it, there was an index.html file in my sites folder, so i just changed it to another name and drupal now redirects me automatically to index.php
thanks for the help ;)
Theres nothing to do with
Theres nothing to do with index.php
You simply create two drupal pages with names like splash and actual_home. Then set the splash page as frontpage in site-information configuration.
And inside the splash page, with full html filter, add this jQuery snippet