• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 396
  • Last Modified:

Linking Company Logo to Home Page

Hi!
A while back I asked the person who managed our website to make it so our company logo (in upper left corner) redirects you to the home page when clicked on any page.  He/she did this by putting a 'hotspot' over the image and had it link to a file called 'index-2.'  As I am not sure why we had this second index, I wanted to change the a ref propoerties to the regular index file.  So I went through the pages and changed the tag to index.htm...but then I was thinking maybe I should change the value to the actaul domain name instead (i.e. www.mysite.com).  This prevents the /index.htm from showing in the address bar...but now after reading some other articles I am totally confused as to what is the best way to accomplish what I want to do (esp. considering SEO).  Please find the two 'codes' I am using below. Can anyone tell me if there is another way I should be doing this and/or defining the 'Home' page?  Thank you!
FIRST IT WAS (someone else set this up)...
 <map name="Map3">
                    <area shape="rect" coords="24,2,194,41" href="index-2.htm">
                  </map>
 
I CHANGED IT TO...
 <map name="Map3">
                    <area shape="rect" coords="24,2,194,41" href="index.htm">
                  </map>
 
AND ALSO...
<map name="Map3">
                    <area shape="rect" coords="24,2,194,41" href="http://www.mysite.com">
                  </map>

Open in new window

0
SaraLynnn1
Asked:
SaraLynnn1
  • 2
  • 2
1 Solution
 
Jason C. LevineNo oneCommented:
>>  I am totally confused as to what is the best way to accomplish what I want to do (esp. considering SEO)
>> This prevents the /index.htm from showing in the address bar

It doesn't matter if index.htm shows in the address bar or not.  Stick with choice 2 for simplicity.
0
 
SaraLynnn1Author Commented:
So there is no need for a 'separate' home page, such as what was apparently created with the 'index-2.htm' file?  I am mainly concerned about Google being able to crawl the site.
0
 
SaraLynnn1Author Commented:
Also, is there a way to change all of the tags at once instead of going through each page?
Thank you!
0
 
Jason C. LevineNo oneCommented:
>> So there is no need for a 'separate' home page, such as what was apparently created with the
>> 'index-2.htm' file?  

Doubt it.  I don't know what's on that page, but if it is a copy of index.htm, it was unnecessary.

>> Also, is there a way to change all of the tags at once instead of going through each page?

Yes, you can use the Find and Replace function in Dreamweaver to do a site-wide change.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now