HTML / website design help

SmOkkin' Joe

Veteran X
So, collective genius of tw.
I've been updating my art portfolio "http://www.alexporterfolio.com/main.html"
click if you are too lazy to copy paste the above link

I've gotten it to a reasonable point in that it functions fine, but I wanted to somehow hide the index so that if someone types in the domain "http://www.alexporterfolio.com/" that it forwards the user to the main.html page. I know a lot of professional or corporate websites do this and I was wondering if anyone knows how to get it to the point that it will re-direct the viewer.

Thanks for any input in advance.

p.s. graphic design and illustration portfolio has some girl on nipple action.(obligatory)
 
Last edited:
hmm, is there anyway to get around this for a little while. I've got a decent load of resumes out right now all linking to main.html

Or maybe make a copy of the main.html page and rename it to index and have both?
 
Just make an index.html with this in the header:

Code:
<SCRIPT LANGUAGE="JavaScript">
<!--
window.location="http://www.alexporterfolio.com/main.html";
</script>
//-->

I think anyways. I haven't done redirects in forever.

Hmm, after some googling that looks right but you could also do a refresh in your meta tags to redirect to another page:
Code:
<meta http-equiv="Refresh" content="1; url=http://www.alexporterfolio.com/main.html">

content=1 being the seconds until the refresh.
 
Last edited:
increase the frame rate of your swf from 12 to 25 or so dude, the photo change alpha you have is nice but a tad slow :)
 
your site design needs lots of work. it can be fixed relatively quickly and easily though, and you have good content.

try something more like:
mocksitebd9.jpg


...my two cents.
 
also the viewer app is WAY to big... im using 1440 by 900 and it doesnt fit without a scroll bar...try making the design fit within a 1024x768 frame to make sure everyone viewing it can see it easily...altho if you are targetting design pros you can probably bet to design for a higher res

also it looks like the player has plenty of features, yet i cant figure out how to get back to the main index
 
there is an Apache setting 'DirectoryIndex' that specifies which file is served up when someone requests a directory (as in http://www.yourdomain.com or http://www.yourdomain.com/some_dir/). You can alter this setting to point at main.html instead of index.html.

Most likely, you'll want to use your account's control panel to perform this. I don't know what software your hosting provider puts in front of you so I'll just leave the rest up to you. But yeah, go look in your control panel for the Directory Index thingie...
 
You can either use your main apache config (if your host uses apache, most do, so...) like above, and change the directory index for all directories within your site.
If you can't find that, then you could always make/edit a file called .htaccess within your site domain root with the following line in it:
Code:
DirectoryIndex index.html main.html
This will set the root and all subfolders to look for index.html to direct to first, and if not found, then point to main.html.
You can add several entries to this, space delimited.
ie, index.php index.html main.php main.html
and so forth.

And in windows, it's not going to let you make the .htaccess file. (Yay windows).
However, the trick I usually pull off in windows is to make the file remotely first (if it doesn't exist), and then download it, edit, save, and then re-up.
 
Also, your layout needs work.
No reason why at 1600x1200 I should have to scroll to fit the whole gallery viewer in my screen.
 
Back
Top