I'm working on setting up my webcomic, and I have it so that the index.php redirects using this code: <?php header('Location: http://www.gamanime.com/gamanime.cgi') ; ?> Code (markup): Now how do I get it so that when it goes to that site instead of displaying http://www.gamanime.com/gamanime.cgi in it, it just displays http://www.gamanime.com Is this possible? Any help would be greatly appreciated ^_^
I believe you should use htaccess to set your index page to gamanime.cgi so a visit to http://www.gamanime.com will show the gamanime.cgi file without changing the address bar. .htaccess file:
Just a note on that, htaccess will apply to subdirectories, so your whole site will have to use "gamanime.cgi" as a standard index file. Also, that overrides the normal index options. I would suggest DirectoryIndex index.html gamanime.cgi index.<etc.> Code (markup):