Re: Using /index.php/this/that/343/3 style links but having a prob!
| From: | Jochem Maas | Date: | Thu, 05 Apr 2007 23:37:06 +0000 |
| Subject: | Re: Using /index.php/this/that/343/3 style links but having a prob! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252128@lists.php.net to get a copy of this message | ||
Mike Shanley wrote:
> Hi,
>
> I'm trying to make friends with search-engines, but I'm having a problem.
>
> When I use my links (right now, I've only got the forums on my site up),
> they take me to the right place, however, the browser only displays part
> of the url...
like in the addressbar? using IE by any chance? .. I don't see this in firefox.
>
> for instance:
> http://www.omniversalism.com/index.php/forums/fcat/view/1
> will take you to a page titled "O.com Connections"
>
> but the link shows:
> http://www.omniversalism.com/index.php/forums
> which would take you to the main forums page...
>
> So what's going on???
dunno, long night? short addressbar?
if in doubt view the source luke.
>
> The only code that deal with this is:
> $CALL = array_values(array_unique(explode('/',$PHP_SELF)));
> unset($CALL[0],$CALL[(array_search('index.php',$CALL))]);
> $CALL = array_values($CALL);
>
> and all that does is hand me the info to call my pages...
>
> Thanks
>