How to add flash intro. to my website?

You can create a php or html page that contains the flash intro. Then use .htaccess to load the intro page first. Be sure to redirect to the index page and/or provide a link to the index page.

.htaccess code (if it does not exist, create a new text document and insert the following code, upload it into the main folder of the site and then rename it to .htaccess

Code:
RewriteEngine on
Options All -Indexes
DirectoryIndex intro.php index.php index.html index.htm

In this case I used intro.php above. If you want to use an html file, simply rename the intro.php to the name of your web document such as intro.html

(Also the load order above is from left to right. It will first load intro.php if it finds one, if not it will load index.php and so on). The above besides the intro.php is a pretty basic and "default" setup, it should be sufficient. You can also add /noindex.php on the end and create a file called noindex.php in your sites main directory, this way any attempt to browse folders on your site that do not have an index will automatically get thrown to the noindex page.

Example:

Code:
RewriteEngine on
Options All -Indexes
DirectoryIndex intro.php index.php index.html index.htm /noindex.php
  • 7 Utilizadores acharam útil
Esta resposta foi útil?

Artigos Relacionados

301 Redirect for All Domains

So you've purchased a ton of domains to park on your main account, but you don't want Google to...

301 Redirect from non-www to ww -- Without Looping!

So - you want to improve your search engine rankings, and SEO experts are telling you that Google...

Block a country using mod_geoip

Do you have a list of countries that you want to block access to your site?  Have you tried...

Hotlink protecting image.php and GD images

So you've enabled cpanel's hotlink protection, but those bandwidth theives are still attacking...

How do I redirect a page or folder?

I have removed a file from being on the website and would like to forward people who were looking...

Powered by WHMCompleteSolution