jbatson
jbatson

Reputation: 119

Create splash page on zend framework site

How would i go about creating an html splash page that would be the first page when someone goes to the site. The site is built on zend framework.

I guess it doesn't have to be html, could be php.

I have tried updating the htaccess file with DirectoryIndex index.html

Adding redirect code, (broke site)

Any ideas?

Upvotes: 0

Views: 224

Answers (2)

jbatson
jbatson

Reputation: 119

Thanks for the help, I found a way through htaccess:

RewriteCond %{REQUEST_URI} ^/$

RewriteRule (.*) main.html [L,QSA]

Upvotes: 0

Shaun Hare
Shaun Hare

Reputation: 3871

Just create a IndexController, with an index action and an index view

Or use a router to direct / to a particular controller/view

Upvotes: 1

Related Questions