vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

Replace clientscript path

This is a discussion on Replace clientscript path within the Feature Requests forums, part of the vBSEO SEO Plugin category; Hi, I just noticed I was getting a lot of 404's for scripts in the client scripts directory. It'd be ...

Go Back   vBulletin SEO Forums > vBSEO SEO Plugin > Feature Requests

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 12-09-2005, 12:04 PM
Senior Member
vBSEO Pre-Release Team
 
Real Name: Nick Le Mouton
Join Date: Nov 2005
Location: New Zealand
Posts: 368
Replace clientscript path

Hi,

I just noticed I was getting a lot of 404's for scripts in the client scripts directory. It'd be nice if vbSeo handled these rather than going through all the templates and making them absolute URLs.

Am using vb 3.5.2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 12-09-2005, 12:13 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,609
Re: Replace clientscript path

Hello Noodles,

all external scripts/style/images URLs should be working correctly because it is handled by vBSEO. Perhaps this is not path issue, but files really don't exists?

Could you please give an example URL?
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 12-09-2005, 12:20 PM
Senior Member
vBSEO Pre-Release Team
 
Real Name: Nick Le Mouton
Join Date: Nov 2005
Location: New Zealand
Posts: 368
Re: Replace clientscript path

The scripts are working fine now as I went through all the templates and updated the paths.

I was getting 404's like this:

/forum/members-lounge/clientscript/vbulletin_menu.js

The scripts were trying to be accessed by something like this:
Code:
<script language="javascript" src="clientscript/vbulletin_menu.js"></script>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 12-09-2005, 12:29 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,609
Re: Replace clientscript path

Hm.. which browser did you use? This should not be an issue: for instance, we have the same at this page (take a look in html source):
<script type="text/javascript" src="clientscript/vbulletin_global.js">
and it works correctly (because we have <base> tag inserted automatically where required)
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #5  
Old 12-09-2005, 12:33 PM
Senior Member
vBSEO Pre-Release Team
 
Real Name: Nick Le Mouton
Join Date: Nov 2005
Location: New Zealand
Posts: 368
Re: Replace clientscript path

I haven't seen any problems, nor have any of my users (as far as i know), I'm just seeing these 404 errors in my reports. Maybe a spider that doesn't know about base?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #6  
Old 12-09-2005, 12:42 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,609
Re: Replace clientscript path

Could be.. any browser supports it. but spiders should not be interested in fetching javascript
Can you take a look in access_log to get user-agent info that requests these URLs?
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #7  
Old 12-09-2005, 01:22 PM
Senior Member
vBSEO Pre-Release Team
 
Real Name: Nick Le Mouton
Join Date: Nov 2005
Location: New Zealand
Posts: 368
Re: Replace clientscript path

69.19.14.23 - - [01/Dec/2005:14:39:06 -0600] "GET /forum/members-lounge/clientscript/vbulletin_menu.js HTTP/1.1" 404 14 "http://www.bimmerwerkz.com/forum/members-lounge/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #8  
Old 12-09-2005, 05:02 PM
Junior Member
 
Join Date: Nov 2005
Posts: 15
Re: Replace clientscript path

This is happening due to the fact that the vBulletin file global.php writes the $style[css] variable as a relative url when you are storing your css in an external file. The $style[css] variable is added into your html via the headinclude template and you end up with some html like this:

Code:
<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style-1234xyz-00001.css" id="vbulletin_css" />
This does not work for a lot of your vBSEO'd pages (like if you seo /faq/) because of the relative url.

Zachery from vBulletin has developed a hack to make the url absolute:

http://www.vbulletin.org/forum/showthread.php?t=63520

My suggestion is to use a CRR instead of the hack:

Code:
 '^clientscript/vbulletin_css/(.*)$' => 'http://www.example.com/forumpath/clientscript/vbulletin_css/$1'
and it does appear to work - please check it out and post results.

Thanks,

John

Last edited by JohnM; 12-09-2005 at 05:15 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #9  
Old 12-09-2005, 05:15 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,266
Re: Replace clientscript path

I think I have avoided this issue because I run vBadvanced CMPS, which has built in functions to change it to the full path. (Necessary for CMPS to work properly.)
__________________
Keith Cohen / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.


My Personal Sites: My Blog | GPS Discussion Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #10  
Old 12-09-2005, 05:18 PM
Junior Member
 
Join Date: Nov 2005
Posts: 15
Re: Replace clientscript path

I also run vBadvanced CMPS and I can tell you that some of your urls will still not display your CSS correctly if for instance you are using custom CRR's like this:

Code:
'^faq\.php$' => 'faq/'
'^faq\.php\?faq=vb_faq' => 'faq/vbulletin-faq/'
'^faq\.php\?faq=vb_user_maintain' => 'faq/user-maintain/'
'^faq\.php\?faq=vb_board_usage' => 'faq/board-usage/'
'^faq\.php\?faq=vb_read_and_post' => 'faq/read-and-post/'
Please comment if I am incorrect in this assumption as now you have got me curious about the CMPS "fix" and perhaps the CRR isn't necessary.

Thank you,

-John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #11  
Old 12-09-2005, 05:22 PM
Junior Member
 
Join Date: Nov 2005
Posts: 15
Re: Replace clientscript path

Quote:
Originally Posted by Oleg Ignatiuk
Hello Noodles,

all external scripts/style/images URLs should be working correctly because it is handled by vBSEO. Perhaps this is not path issue, but files really don't exists?

Could you please give an example URL?
Oleg,

could you please take a look at my posts and see if this is indeed supposed to be handled internally by vbSEO and perhaps it is missing this for some reason?

Thanks,

John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #12  
Old 12-09-2005, 06:19 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,266
Re: Replace clientscript path

Oh, I don't use any CRR's.
__________________
Keith Cohen / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.


My Personal Sites: My Blog | GPS Discussion Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #13  
Old 12-09-2005, 06:48 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,609
Re: Replace clientscript path

John,

I've just replied to you here: http://www.vbseo.com/13176-post3.html
(CRR should be slightly modified to get it working)
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
replace non english characters mljask General Discussion 34 08-22-2008 04:05 PM
Replace showthread link with title... reefland General Discussion 5 01-31-2006 07:29 PM
URL not under sitemap path BamaStangGuy Troubleshooting 8 12-19-2005 10:12 PM
Create a virtual multi-level forum path BUG TopAs Bug Reporting 2 08-16-2005 09:46 PM


All times are GMT -4. The time now is 06:06 PM.


Powered by vBulletin Version 3.8.0 Beta 4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.