Printer Friendly Version
Email this thread to a friend
|
Featured Web Site Template |
|
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
magoo300
Joined: Dec 01, 2003
# Posts: 11
|
Posted: 2004-Apr-28 18:01
Have a client site that has flash navigation, frames, and dynamic URL's (the unholy trinity)
Working with the developers, one suggestion has been to put the following into the frameset source.
What do you guys think, will the below allow spiders to crawl the site? Thanks in advance.
<script language="JavaScript">
var paths = new Array();
paths['1'] = 'http://www.myURL.com/main/view.jsp?branch=3912827&dom=193003';
paths['akranes'] = 'http://www.myURL.com/main/view.jsp?branch=3580666&dom=193003';
paths['amsterdamdaytours'] = 'http://www.myURL.com/main/view.jsp?branch=3586995&dom=193003';
paths['copenhagendaytours'] = 'http://www.myURL.com/main/view.jsp?branch=3584445&dom=193003';
function getURL() {
var destination = location.protocol + "//" + location.host;
// determine the path:
var url = location.href;
url = url.replace(destination+"/","" ;
url = url.replace(location.search,"" ;
var path = paths[url];
if ( typeof path == 'undefined' ) {
path = "/files/errorpages/error404Page3255136.html";
} else {
if ( location.search != null ) {
if ( path.indexOf("?" != -1 ) {
path += "&" + location.search.replace("?","" ;
} else {
path += location.search;
}
}
}
return path;
}
</script>
|
 |
emi_b
Joined: Nov 21, 2003
# Posts: 347
|
Posted: 2004-Apr-28 20:00
I don't know much about frames, but i do know that Google can't read js.
|
 |
g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10418
|
Posted: 2004-Apr-28 20:56
Umm, this looks like a kludge that will bloat your code, and not fix any of the root problems at all.
I would look at a site redesign. If you have access to PHP then you can do some nifty server-side "includes" that completely do away with anything to do with frames, and that will make the site much more SE friendly too.
|
 |
mukul
Joined: Oct 12, 2003
# Posts: 241
|
Posted: 2004-May-03 05:48
I am not very sure about this but I think that if you put a lot of content on <noframes> tags then it will do the trick. I have seen that for in some escort website. Dont remember the URL though @_@
|
 |
JQ
Staff
Joined: Mar 11, 2001
# Posts: 2751
|
Posted: 2004-May-03 06:27
I'd really recommend a text link to a text-based site map for the spiders to have something to grasp for sure.
|
 |
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
|
|