only to http:www.site-example.com/node/something . . .
but i want to send the default page for example at www.site-example.com/index.html . . .
or ../index.html which is one level up from the webroot tree . . . or the subdomain folder . . .
where do i find the code to redirect it?

Comments

dawehner’s picture

you can do redirects with drupal_goto

But this can only be done to internal sites and not external ones

nikitas’s picture

can u plz be more specific . . . what i basically want is to change from the admin->site configuration option about the default home page
from the default http://www.example.com/node . . . to http://www.example.com/index.html but i cant do something like this cause drupal's default
build in function works only with /node/ and whatever else then.What do i have 2 do?

dave reid’s picture

You can go to admin/settings/site-information at set your site's front page to 'index.html' Not sure if it will work.

nikitas’s picture

nop! :D the path includes always the ' /node/ ' so www.example.com/index.html will be always www.example.com/node/index.html.
but thnx anyway

jody lynn’s picture

Status: Active » Closed (works as designed)

Setting your Drupal homepage to be a page that is not a part of your Drupal site is not supported by core Drupal. You will have to do something custom.