vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=295182

Base url Redirect - won't function.
by WildRover
16 Feb 2013 11:46

Hello, I can't figure what's gone wrong here.

The url of my site is http://www.xpower-racing.com - if you click here it shows the file structure.

The Forum is: http://www.xpower-racing.com/forum/forum.php

It stopped functioning after the Forum was updated.

There's a gallery at http://www.xpower-racing.com/gallery

If I place a redirect using Cpanel from http://www.xpower-racing.com to http://www.xpower-racing.com/forum/forum.php The gallery then becomes the same and is unusable.

Help....:mad:

nhawk 16 Feb 2013 12:23

The problem is you don't have anything in your home directory telling browsers where to go.

Create an index.php file and put this code in it...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save it to your home directory, which is what shows now when you go to http://www.xpower-racing.com

LifesGreatestGift 16 Feb 2013 12:29

is that something new in PHP?

thought they needed to be
<?php

?>

never seen that way before
{?php

?}

nhawk 16 Feb 2013 12:31

Oops.. it's early here and I'm still having my first coffee..

Corrected it.

LifesGreatestGift 16 Feb 2013 12:33

I wasn't trying to be sarcastic, I just wasn't sure if that was something new or not. no problem. Kind of how they went from commenting with "#" to using ";" in ini files :) I don't keep up with the changes. If i see someone doing something "new" I assume that it may be a change with PHP.

nhawk 16 Feb 2013 12:40

Nope, nothing new. Just the same old brain not firing on all cylinders until my second cup of coffee. :D

I didn't think you were being sarcastic and I appreciate your pointing out the error.

WildRover 16 Feb 2013 12:42

Quote:

Originally Posted by nhawk (Post 2404607)
The problem is you don't have anything in your home directory telling browsers where to go.

Create an index.php file and put this code in it...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save it to your home directory, which is what shows now when you go to http://www.xpower-racing.com

nhamk - you are an absolute saviour. Thankyou for helping me out - much appreciated.


All times are GMT. The time now is 09:38.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.