Feedback Form
Home Features Mastermind Videos About Advertise Blog Network Contact
   

Have A Suggestion?
Toronto Salsa Classes / Toronto Salsa Lessons Email us your ideas on how to make our website more valuable! Thank you Sharon from Toronto Salsa Lessons / Classes for your suggestions to make the newsletter look like the website and profile younger entrepreneurs like Jennifer Lopez and Sean Combs!
Have A Suggestion?

Featured Ebook


ebook Famous Entrepreneurs - Modern Empire Builders


Featured Ebook

More Evan Carmichael
Have A Suggestion?

Sales Lessons From Starbucks And Dell

How to make Java Script Search Engine Friendly



How to make Java Script Search Engine Friendly
   

Think of the search engines like a child with a short attention span. If they have to crawl through tons of messy code before they get to the body content on your page, there is a chance they will “lose interest” and not continue spidering the page.Since you want the engines to be able to spider all of your content pages, you should minimize the amount of extraneous code that is on your page. You worked hard to create your content and get your site optimized, so the last thing you want to do is take a chance that the engines won’t want to spider your pages.One way to clean up the code is to take java script that is on-page and put it in an external .js file.

Java script on your page usually takes up anywhere from 3 – 8+ lines of code. That is all just creates extra code that the spiders have to crawl through before they get to your body text. You are better off calling your java script in from a .js file. This takes what used to be many lines of code on your page and reduces it to one line where you just call the script in.

To create an External JavaScript file:

Copy your script and paste it into Notepad. Remove the beginning and end script commands. They are:
<script language=”JavaScript”> and

Next, do a SAVE AS command and save the file as “text only” with an extension of .js

Example: java.js

Upload the file to a folder on your server that you name Java. (Or whatever name you wish.)

To call your Java file into your web page, enter into the same place where the script originally was:<script src=”Java/java.js” mce_src=”Java/java.js”>

Lastly, if you wish to hide the text from JavaScript impaired browsers to avoid error codes, surround the JavaScript with in your java.js file.This will make for cleaner code, and the functionality will still be the same. You could also move your script to the bottom of the page – but remember if the page doesn’t fully load then your script may not load, so it could impact the functionality of your page.

Whatever solution you choose to implement – make sure you test it to ensure it works. Once the engines pick up your pages and the traffic to your site increases, you want to be sure the site is fully functional and in tip top shape.





How to make Java Script Search Engine Friendly - To learn more about this author, visit Jennifer Horowitz's Website.

Like this article? Share it with your friends
[Get Copyright Permissions] E-Mail | Print | More  


Related Articles Related Articles
How to make Java Script Search Engine Friendly
  Learn how to move your java script into a .js file, so your code is clean and search engine friendly.
5 Tips for a Search Engine Friendly Site
  Designing a website can be a daunting task if you’re new to the game and have little time to research the proper ways to develop a site that is both user and search engine friendly. After-all, what good is a website...
Top 10 Search Engine Optimization Strategies For Your Website
  Improve your search engine rankings with the help of powerful search engine optimization techniques.
Search Engine Friendly is NOT Search Engine Optimized
  When we are quoting development work for prospective clients we are often asked to develop a website that is search engine optimized. This usually brings me into a long-winded explanation on how developing a website...
How to get your web site indexed by Major Search Engines?
  Web site indexing is one of the most important steps in SEO. If your web site is well optimized but not indexed in search engines, it can never appear on SERPS. Search Engines’ bots continuously search for new web s...

Related Forum Posts Related Forum Posts
Joomla SEO Joomla SEO
Re: Joomla SEO Re: Joomla SEO
Re: Specific Strategies To Raise PR Levels? Re: Specific Strategies To Raise PR Levels?
SES Toronto Next Week SES Toronto Next Week
Website SEO Marketing Consultant from India Website SEO Marketing Consultant from India
New website section: SEO New website section: SEO
Re: Kevin's Case Study #9 - How do you increase forum traffic? Re: Kevin's Case Study #9 - How do you increase forum traffic?
Re: Top Banner Help Re: Top Banner Help

 
About the Author


Jennifer Horowitz
(Visit Jennifer's Website)
Jennifer Horowitz is the Director of Marketing and co-owner of www.EcomBuffet .com. Jennifer's vision and concepts are behind all in-house marketing campaigns. Additionally, over the past 10 years Jennifer's expertise in online marketing and Search Engine Optimization (SEO) has helped clients increase revenue and achieve their business goals. Jennifer has written a downloadable book on Search Engine Optimization and has been published in many SEO and marketing publications. Jennifer can be reached at Jenn ifer@ecombuffet.com.
Have A Suggestion?

View Author's Blog
SEO Blog
SEO Blog - Jennifer Horowitz is Director of Marketing for EcomBuffet.com and their SEO division SearchEngineWebPromotion.com. EcomBuffet.com has been in business for 6 years, serving clients large and small and delivering top rankings.
Become An Author

View Author's Video
Become An Author

Free Downloads


Jennifer Horowitz's

Complete
List Of
SEO
Articles

First Name
Last Name
Email
 
Author's Free Downloads
Benefit From Analytics Icon Benefit From Analytics
Article Syndication Icon Article Syndication
Website Planning Icon Website Planning
What’s Wrong With Your Site? Icon What’s Wrong With Your Site?
Making SEO Decisions Icon Making SEO Decisions
Universal Search Icon Universal Search
SEO Today Icon SEO Today
Articles Drive Traffic Icon Articles Drive Traffic
Get a Top 20 Ranking Icon Get a Top 20 Ranking
How To Select Keywords Icon How To Select Keywords

More Jennifer Horowitz
Using PDFs Correctly
Understanding the Search Engines
Improve Your Web Copy
The Missing Piece
SEO Just Add Water NOT
What Google Wants
Do You Want To Optimize Your Own Web Site
25 Little Known Facts about Article Syndication
Why Shoeless Joe Was Wrong
Keep Visitors On Your Site Longer
Become An Author