How to use a SWF file as your homepage without embedding it into an HTML page.

Question
How to use a SWF file as your homepage without embedding it into an HTML page.
Answer
You can use a flash (SWF) file as your homepage, without embedding it into html or php. Here's how to do this
#1: Save the swf file to your public_html directory. Use whatever filename you like. For the purposes of this example, we'll call it flash_index.swf
#2: edit your .htaccess file (in your public_html directory), and at the bottom (or replacing any other Directoryindex lines), add
DirectoryIndex flash_index.swf
Now, your website should load with your customized flash file
Still need help?
If you need further assistance than this entry provided, please, do open up a support ticket, we are here to help you out
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Do I need to restart Apache when I change an .htaccess file

Question Do I need to restart Apache when I change an .htaccess file Answer No, you do not...

URL redirect/rewrite using the .htaccess file

Question How do I create rewrites using .htaccess files?...

Using htaccess to enable hotlink protection

Question How do I use htaccess to enable hotlink protection? Answer...

what is mod_rewrite? How do I get redirects working?

Question What is mod_rewrite? How do I get it working? Answer Our servers do...

Force SSL on all pages.

Question How do I force HTTPS instead of HTTP Answer...

Powered by WHMCompleteSolution

Our official partners