[Xitami] Site redirects

Francis Turner francis.turner at gmail.com
Sat Dec 17 16:53:21 CET 2005


You should be able to do this by creating a custom 404 page with an
appropriate meta tag to redirect in the header

i.e. <meta http-equiv="Refresh"
content="1;url=http://www.mydomain.com/index.php">

You could use Xitamis GSL langauge to make the refirect depend on what
the wrong page was if that gave you pleasure. Take a look at
templates/errors.gsl for hints about what to do

Francis

On 12/17/05, Paul J. Smith <pjsmith at mtgsy.net> wrote:
> Hi,
>
> I only just started experimenting with Xitami.
>
> There's one thing I currently can't figure out how to do.  I have a site
> where I want all requests, including ones for pages that do not exist to
> go to the home page.  With IIS I just use the redirect to an exact url
> feature.  I can't seem to get the same functionality with Xitami.
>
> To explain
>
> Page /index.php exists
> User requests non existent page /testing/test.php
> User gets sent to /index.php
>
> Is this possible?
>
> Thanks.
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>


--
http://www.di2.nu/blog.htm
Faber's Fourth Law:
  Necessity is the mother of strange bedfellows.



More information about the Xitami mailing list