Help - Search - Members - Calendar
Full Version: A little HTML code help?
OpenSourcePhoto > Digital Photography > Misc. Photo Question
Kari
I just ordered photo cart. I have to give you a little background first. I have the website domain www.karidouma.com. It is my creative motion design website, and it is hosted on thier server. I asked them if I could host some online proofing, and they said no. I still want to have them host my site. So, I bought some godaddy webspace and a second domain name for my online proofing. I have my photocart all set up, and here is my problem:

My new domain name is www.karidoumaphotography.com. My photocart is under www.karidoumaphotography.com/galleries. So, there is nothing on the main domain. When I go there I get a site under construction page. So, this is a two part question... (Don't worry, I am getting there.)

1. In my "Headers" area on my photocart control panel, there was this HTML code (I took off the second half for now because it didn't do what I wanted it to do):
<table width=100% cellpadding=2 cellspacing=0 border=0><tr valign=top><td>
<font size=4><b>Kari Douma Photography</b></font></span>
<br><a href=/>back to home page</a>
</td></tr></table>

When I clicked on the back to homepage words on the photocart, it takes me back to www.karidoumaphotogarphy.com, which is the site under construction page that godaddy put there. So, I want it to take me back to my actual website... www.karidouma.com. Can someone tell me what the code needs to say?

2. Can I make a splash page on the www.karidoumaphotography.com to bring me to my website, blog, and online galleries? I have followed matt's tutorial on how to make splash pages, and I think I can do it. But, I don't know how to get the splash page to open as the main thing on the address.

Sorry I am so HTML and WEB illiterate!

Thanks!
MattA
1. Change:

<a href=/>back to home page</a>

to

<a href="http://www.karidouma.com">back to home page</a>

2. "But, I don't know how to get the splash page to open as the main thing on the address.

Name it index.html
alison
By default, if you name a page "index.html" and it is in the main folder of your web site (usually refered to as htdocs or something to that effect), it will automatically be the first page that loads when someone goes to your url. So if you want that splash page to be first, simply name it index.html and upload it to the main folder. The actual url that will get you back to the splash page will be www.karidoumaphotography.com/index.html. Now, you probably already have a page named index.html. If so, you should rename it to something like home.html or something. Make sure to update any links that point to either page.

As for the www.karidoumaphotography.com/galleries... you just need to adjust your links and add a simple redirect. The code you attached should simply be this (this changes the link for the "back to home page"):

<table width=100% cellpadding=2 cellspacing=0 border=0>
<tr valign=top>
<td><font size=4><b>Kari Douma Photography</b></font></span><br>
<a href=http://www.karidouma.com>back to home page</a>
</td>
</tr>
</table>

You can also build an index.html page for your www.karidoumaphotography.com that will automatically redirect to the www.karidoumaphotography.com/galleries. I can write that code for you if you want. Shoot me an email and i'll do up a little page for you.

Hope this helps some!
alison
Kari
QUOTE(Matt Antonino @ January 4 2008, 11:56 PM) *
1. Change:

<a href=/>back to home page</a>

to

<a href="http://www.karidouma.com">back to home page</a>

2. "But, I don't know how to get the splash page to open as the main thing on the address.

Name it index.html


Thanks Matt! That is exactly what I wanted to do!
alison
Hey Matt->
JINX!
Kari
QUOTE(alison @ January 4 2008, 11:58 PM) *
By default, if you name a page "index.html" and it is in the main folder of your web site (usually refered to as htdocs or something to that effect), it will automatically be the first page that loads when someone goes to your url. So if you want that splash page to be first, simply name it index.html and upload it to the main folder. The actual url that will get you back to the splash page will be www.karidoumaphotography.com/index.html. Now, you probably already have a page named index.html. If so, you should rename it to something like home.html or something. Make sure to update any links that point to either page.

As for the www.karidoumaphotography.com/galleries... you just need to adjust your links and add a simple redirect. The code you attached should simply be this (this changes the link for the "back to home page"):

<table width=100% cellpadding=2 cellspacing=0 border=0>
<tr valign=top>
<td><font size=4><b>Kari Douma Photography</b></font></span><br>
<a href=http://www.karidouma.com>back to home page</a>
</td>
</tr>
</table>

You can also build an index.html page for your www.karidoumaphotography.com that will automatically redirect to the www.karidoumaphotography.com/galleries. I can write that code for you if you want. Shoot me an email and i'll do up a little page for you.

Hope this helps some!
alison

Thank you Allison! I love osp.... this place is great. I am going to try to make a splach page tomorrow or Sunday after I watch Matt's tutorial again. (Thanks Matt, you Rock... I am one of your biggest fans...)Once I have that made, I will try to do what you have said here... and I will see how it goes. I think I will probably be sending you an email asking for a little help.

What I really want to do, is make a main splash page that both web addresses will open, then have the coice of "website" "blog" and "customer galleries". I know that this is easily done when everything is hosted on the same server, but can I do this if both addresses are hosed on different sites? Maybe have the www.karidoumaphotography.com address redirect to the www.karidouma.com address? But, can I have it redirect if I have my photocart on it? any suggestions on how to do this?

I am going to bed! I will check back here in the morning!
Thanks OSP!
alison
Yes, yes, and yes. The two seperate servers doesn't really make it all that complicated. You can either upload the same index.html (your splash page) to both servers/urls, or you can have one point (automatic re-direct) to the other.

Since your photo cart is on www.karidoumaphotography.com in a folder named "galleries", it really shouldn't pose any problems. Your link to the online galleries would just be "http://www.karidoumaphotography.com/galleries".

Send me an email later- i am a code monkey, so i can pretty much help with anything. I haven't seen Matt's tutorial though, so i may have to go to that to see how he had you set up the splash page. wink.gif
Kari
Allison, I sent you a PM with a couple questions... (I know I could ask you too Matt... maybe you'll be next!)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.