This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > Search Engine Friendly ???





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Search Engine Friendly ???
DaveBlues

2004-08-23, 7:16 pm

How do I make script invisiable to Spiders?

I have a Nav-Bar with that uses drop down menus (as does the Macromedia bar
above) and unlike all my other scripts that I can hide outside the head and
body tags, nav-bars I create in fireworks generate a huge amount of script that
will only work if placed within head or body tags.

And I use a PHP "includes" tag to insert the navbar into my pages (sometimes
getting duplicate head, body or html tags!)

When a search engine spider comes by I'm sure it reads two lines and runs away.

darrel

2004-08-23, 7:16 pm

> How do I make script invisiable to Spiders?

They usually are by default.

> I have a Nav-Bar with that uses drop down menus (as does the Macromedia

bar
> above) and unlike all my other scripts that I can hide outside the head

and
> body tags, nav-bars I create in fireworks generate a huge amount of script

that
> will only work if placed within head or body tags.


While you can take the FW/DW javascript and place it in an external file,
you really shouldn't be using those scripts to begin with. They tend to be
bloated and inaccessible. Consider using something from projectseven.com
instead

> And I use a PHP "includes" tag to insert the navbar into my pages

(sometimes
> getting duplicate head, body or html tags!)


If you're getting duplicate tags, then you're doing it wrong. Also, includes
don't hide anything from the spider. Includes are included before the page
is even sent to the browser.

> When a search engine spider comes by I'm sure it reads two lines and runs

away.

Well, inavlid markup isn't usually a good thing. ;o)

-Darrel


Josh Johnson

2004-08-23, 7:16 pm

Murray *TMM* wrote:
>
>
> If you want to continue working with DW, this is a very bad method, and will
> get you into trouble.


Just to be clear. Using PHP "includes" isn't bad. Placing navigational
links only inside javascript is. Also avoid FW nav code, as it's a
bloated beast. Check out some of the leaner code from ProjectSeven instead.

- Josh
Murray *TMM*

2004-08-23, 7:16 pm

Josh:

Thanks for the clarification. What I was referring to was the use of
includes containing redundant tags into the parent page.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Josh Johnson" <josh.johnson@nospam.sun.com> wrote in message
news:cgd9d6$694$2@forums.macromedia.com...
> Murray *TMM* wrote:
>
> Just to be clear. Using PHP "includes" isn't bad. Placing navigational
> links only inside javascript is. Also avoid FW nav code, as it's a
> bloated beast. Check out some of the leaner code from ProjectSeven
> instead.
>
> - Josh



James Shook

2004-08-23, 7:16 pm

Murray *TMM* wrote:

>
> But what will happen is that they'll look at your page, discover that it
> contains no links (they are all embedded in your menu's javascript) and
> index your site as if it were this single page (I am guessing that you have
> no ordinary HTML links on your page).


You can use <noscript> (and probably should) to provide a spider-visible
menu to all of your pages.

--
James M. Shook
http://www.jshook.com
Murray *TMM*

2004-08-23, 7:16 pm

James:

Good idea.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"James Shook" <jshook@dont_mail.com> wrote in message
news:cgdcgm$8io$3@forums.macromedia.com...
> Murray *TMM* wrote:
>
>
> You can use <noscript> (and probably should) to provide a spider-visible
> menu to all of your pages.
>
> --
> James M. Shook
> http://www.jshook.com



DaveBlues

2004-08-23, 7:16 pm

Hi, Murray.

Thanks for the advice guys.

DaveBlues

2004-08-23, 7:16 pm

Okay, you got me there, but it sounds exactly what I'm looking for.

What is <noscript>?

Also, isn't there a "robots.txt" file I can use that tells bots what to follow?
jsedrick

2004-08-23, 7:16 pm

<no script>
Hello to the non-Javascript Browser
</noscript>

Noscript lets you put information that the non-Javascript Browsers or Spiders can read.
James Shook

2004-08-23, 7:16 pm

I usually put this in the end in a <div> that will be displayed only if
JavaScript is turned off. Here's an example:

<noscript>
<div id="noScriptLinks" style="position:absolute; visibility:visible;
width:150px; height:225px; z-index:30; left: 8px; top: 25px;
background-color: #E2DBCE; layer-background-color: #E2DBCE">
<a href="page1.html">Koffie</a><br>
<a href="page2.html">Brain</a><br>
<a href="page3.html">Head</a><br>
<a href="page4.html">Marok Tabak</a><br>
<a href="page5.html">Platform</a><br>
<a href="page6.html">Writing</a><br>
<a href="page7.html">Navigation Device</a><br>
<a href="page8.html">Porthole</a><br>
<a href="page9.html">Rock on the Beach</a><br>
<a href="page10.html">Tarn</a><br>
<a href="page11.html">Device</a><br>
<a href="page12.html">Big Wolf</a><br>
<a href="page13.html">Goldfish</a><br>
<a href="page14.html">Tunnel</a><br>
</div>
</noscript>
</body>
</html>

I don't know whether or not you can direct spiders to
unlinked-to-form-the-index-page directories and/or pages via robots.txt.

--
James M. Shook
http://www.jshook.com
.: Nadia :.TMM :.

2004-08-23, 11:14 pm

Here's a little info I have on robot.txt that may be of interest:
http://www.dreamweaverresources.com/seo/robottext.htm


--
Nadia
Team Macromedia Volunteer for Dreamweaver
---------------
http://www.DreamweaverResources.com
Free Templates | Free Nav Bar Sets
Dropdown Menu Designs | CSS Layouts
Ecommerce - YVStore | SEO Articles
Table Tutorials | Background image Tutorials
------------------------------------------------
MM Dreamweaver Tutorials
http://macromedia.com/devnet/mx/dreamweaver/
------------------------------------------------


"DaveBlues" <webforumsuser@macromedia.com> wrote in message
news:cgdghs$ffp$1@forums.macromedia.com...
> Okay, you got me there, but it sounds exactly what I'm looking for.
>
> What is <noscript>?
>
> Also, isn't there a "robots.txt" file I can use that tells bots what to

follow?


DaveBlues

2004-08-26, 12:18 pm

Thanks, again.

GREAT LINK, NADIA!

I'm going to get a lot of use from this.
Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews