Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Please Register to get full access to the forums.
Post New Thread  Reply



#1   08-12-2008, 07:01 PM
Send a message via AIM to Tenstones Send a message via MSN to Tenstones Tenstones will become famous soon enough Join Date: Jun 2008 Posts: 9 Location: Ohio
iTrader: (0)
External pages using templates


I created a custom 404 page using this:
Create a Custom vBulletin "404 Page Not Found" Page, and direct vBSEO to use it. - vBulletin SEO Forums

It works fine inside the forums directory, but I would like it to work on the root as well. As it stands I get php errors: http://www.tenstones.net/404.php

My .htaccess in the root points to /forums/404.php

Because it calls misc.php it needs global.php which I added to the root and edited to also point to /forums/ for all the files it calls, which leads to init.php and it continues. I even went as far as to copy the entire root and I have tried the intergration built into vBAdvanced which also didn't work.

I'm fresh out of ideas.
--------------------
Tenstones Gaming Community
Quote   |  



#2   08-13-2008, 01:21 PM
Send a message via AIM to Tenstones Send a message via MSN to Tenstones Tenstones will become famous soon enough Join Date: Jun 2008 Posts: 9 Location: Ohio
iTrader: (0)
Re: External pages using templates


It's already set that way.

Code:
ErrorDocument 404 /forums/404.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/(stats|failed_auth.html).*$ [NC]
RewriteRule . - [L]
</IfModule> 

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !forums/
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ forums/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|redir.php|vbseo_sitemap|autotagger_ajax.php|404.php)

RewriteCond %{REQUEST_FILENAME} !forums/
RewriteRule ^(.*.php)$ forums/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]
--------------------
Tenstones Gaming Community
Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Thread Tools
Display Modes

 
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
Do you do holiday templates? Soliloquy Community Forum Management 13 09-27-2008 12:55 AM
Internal or external TV Tuner Card? Yogesh Sarkar General Discussion 4 06-03-2008 02:17 PM
Help. Styles and Templates o.O Sinshol vBulletin Questions 3 01-18-2008 04:50 AM
My microstats...a lot of uncache templates?! AzzidReign vBulletin Questions 9 07-25-2007 07:54 PM
Wikipedia is adding nofollow attributes to all external links News Search Engine News 3 02-08-2007 01:10 AM


All times are GMT -6. The time now is 06:32 AM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions
vBulletin Skins, Styles, Templates, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory