Customizing SMF > SMF Coding Discussion
Home Page vs. Forum Page
Mr. Peanut:
I thought it would be more useful to replace my logo (on the forum) with the words "Koh Lanta Forum", for search engine purposes.
Squash:
--- Quote from: Mr. Peanut on July 09, 2012, 08:55:33 AM ---I thought it would be more useful to replace my logo (on the forum) with the words "Koh Lanta Forum", for search engine purposes.
--- End quote ---
I was reference the image at the top of your forum...it's an X..no image. Even when i try to open the image itself in a new window I get a 404 error, I just thought you'd like to know.
MrPhil:
It's done wrong. You have changed the logo to:
--- Code: ---<a href="http://www.funlanta.com/index.php"><img src="www.funlanta.com" alt="Koh Lanta Island Forum " /></a>
--- End code ---
That makes no sense, and doesn't point to a legitimate image. The img src should be the path and name of the logo image file, e.g.,
--- Code: ---<a href="http://www.funlanta.com/index.php"><img src="images/logo.png" alt="Koh Lanta Island Forum" /></a>
--- End code ---
What you have right now simply shows the "alt" text for the image. It is fine for SEO to use "alt" text with the image. If you really want for some reason to replace the logo image with text, it would be coded as
--- Code: ---<a href="http://www.funlanta.com/index.php">Koh Lanta Island Forum</a>
--- End code ---
Your actual PHP code would look a little different, but that's the HTML that should be produced in the end.
Navigation
[0] Message Index
[*] Previous page
Go to full version