Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
6 registered (Bjab, Stan, Dunny, driv, SteveS, id242), 25 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 12/25/03
Posts: 125
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 14
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#201542 - 11/16/07 02:41 PM Spider Friendly URL's - How do I?
OneLung50 Offline
stranger
Registered: 10/26/07
Posts: 24
Loc: Phoenix, AZ USA
In the Primary Settings section of my Control Panel, it says, "Note: The PATH_INFO environmental variable must be available for this feature to function properly."

Could someone please explain to me how to make this variable available (or active) so Google can spider my forum.

I host on godaddy.com using Apache OS, PHP 4.3.11 and SQL 5.0.

I have a php.ini file in my root folder, but don't have any .htaccess file.

Thank you very much!

Daniel
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#201547 - 11/16/07 02:51 PM Re: Spider Friendly URL's - How do I? [Re: OneLung50]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
i'll bet its available already for you.

just create a 1 liner program called : muhaha.php
 PHP:

<?php echo $_SERVER['PATH_INFO']; ?>



and upload to your root.. then point to it like http://yourdomain.com/muhaha.php

it will --probably-- echo a unix-ie path like /home/bla/public_html or whatever..

if so, you can do the happy dance. then you just turn on spider friendlies in your cpanel and let it rip.

keep in mind that google can only spider your forums that are OPEN to guests as readable.. any private forums can't be spidered, since a login wouild be required ;\)

ps: phpinfo(); also tells you about this and MORE.. so choose your poison \:\)
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#201548 - 11/16/07 03:04 PM Re: Spider Friendly URL's - How do I? [Re: SD]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
You can do the same from the CP [7.2]:

CP / Tools & Info / PHP Info
Top
#201552 - 11/16/07 03:22 PM Re: Spider Friendly URL's - How do I? [Re: ScriptKeeper]
OneLung50 Offline
stranger
Registered: 10/26/07
Posts: 24
Loc: Phoenix, AZ USA
Hi,

Thanks for the help.

When I activate the checkbox for spider friendly URL's, the forum crashes. I created the php file as you instructed and it doesn't echo anything. Just a blank page at http://www.onelung.net/muhaha.php .

Is there a way I can activate the PATH_INFO variable in Apache?

Thanks,

Daniel.
_________________________
If you're 20 and not a Liberal, you have no heart. But if you're 40 and still a Liberal, you have no brain.
Top
#201555 - 11/16/07 03:38 PM Re: Spider Friendly URL's - How do I? [Re: ScriptKeeper]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
 Originally Posted By: ScriptKeeper
You can do the same from the CP [7.2]:

CP / Tools & Info / PHP Info


^^ better idea than mine \:D

as to activating it, i usually slam it into my .htaccess file

"AcceptPathInfo On"

your mileage may vary with your flavor of apache though.
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#201577 - 11/16/07 07:19 PM Re: Spider Friendly URL's - How do I? [Re: SD]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
BTW, the path info on a blank phpinfo will show nothing of value, you must access it as:
file.php/this/is/a/test

Then search the output for "this/is/a/test"

As for enabling the option if it isn't available, this must be done through your webhost and is a simple update for them to do, however will prove impossible if they're not willing to update it for you.

(all they have to do is add 'AcceptPathInfo On' to the apache configuration for your website)

You can sometimes get away with adding the variable to a .htaccess file, though that assumes several things:
1. The webhost has granted you access to do so (which if they don't grant you access to have AcceptPathInfo on in the first place, it's doubtful they've given your account the override "FileInfo" permission.
2. you how how to edit an existing .htaccess file without b0ging it.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#201579 - 11/16/07 07:24 PM Re: Spider Friendly URL's - How do I? [Re: Gizmo]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
BTW, I doubt this is enabled on your server, as I get a "not found" error (no input file specified), when I access it as such:
http://www.onelung.net/muhaha.php/this/is/a/test

It should just show:
/this/is/a/test

You can see what it SHOULD look like http://home.corthell.net/path_info.php/this/is/a/test
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#218392 - 10/24/08 09:31 PM Re: Spider Friendly URL's - How do I? [Re: SD]
ECNet Offline
journeyman
Registered: 03/13/07
Posts: 88
Originally Posted By: Sirdude
i'll bet its available already for you.

just create a 1 liner program called : muhaha.php
Php Code:

<?php echo $_SERVER['PATH_INFO']; ?>



and upload to your root.. then point to it like http://yourdomain.com/muhaha.php

it will --probably-- echo a unix-ie path like /home/bla/public_html or whatever..

if so, you can do the happy dance. then you just turn on spider friendlies in your cpanel and let it rip.

I've done this and get the following:

/muhaha.php

Does that mean that Path_Info is enabled?
I ask because the host says it is, but when I turn on the Spider-Friendly setting the Forum links produce 404 errors.

Some History:
The Forum was originally on another server, and the spider-friendly setting worked fine. My previous Host moved the website w/forum to a new host/server for me. After a few days I noticed that some Bookmarks and links didn't work and found the setting was off.

Are there any other reasons why the spider-friendly urls wouldn't work?
Or is there something additional that might have to be done?

Bill
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Due Date Calculator-Calculate When Your Baby is Due
by StewartMyduedate
12:54 AM
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
Forum Stats
10491 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image