Printer Friendly Version
Email this thread to a friend
|
Featured Web Site Template |
|
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
nups4478
Joined: Mar 02, 2008
# Posts: 1
|
Posted: 2008-Mar-03 05:37
Hi,
I am creating a directory for chemical manufacturers/suppliers, I am not linking the category pages through hyperlink (anchor tag), instead I am using a javascript (which calls a function to do some math) redirect.
Now... my questions are:
1. will google, msn, yahoo, ask crawlers consider these js redirects as hyperlinks
2. will they follow these links to crawl/index these pages.
I know spiders have trouble executing scripts.
|
 |
Prowler
Staff
Joined: Aug 14, 2000
# Posts: 1795
|
Posted: 2008-Mar-03 11:07
It depends on the way you embed these links in the JS. Though search engines parse the JS, they will not execute them. So if you bury the links in a pile of functions, they won't see any links.
|
 |
g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10438
|
Posted: 2008-Mar-03 21:43
The function should be server-side, perhaps coded in PHP (or ASP if you really have to). Then it does not rely on anything at the client end. Both browsers and bots will get the same page, same navigation, and same content.
Using JavaScript is generally a bad idea.
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|