Re: [PHP] Architecture problem? Google want index files exept the main page.

2002-06-21 Thread olinux

Not sure what you are doing, but google is not going
to index pages that require authentication. You should
send the 200 header before any script output - i'm not
sure what this will do to your authentication
scheme...

I do the same with the false directory structure - in
my case i have a script 'news' (with no extension) and
use the apache's ForceType to force this file to be
parsed. url is something like this
website.com/news/category/year/month/day/article_id.htm
- check out Tim Perdue's article on www.phpbuilder.com

olinux

--- Andy <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I am not using a 404 in this case. What I do is to
> name a file like a
> directory name and then parse this file with php.
> The parameters look like
> the filename.
> 
> e.g. server.com/file/parameter.html
> 
> In an other case I do use a 401 error. What is
> changing if I send this ok
> header? And when should I send it?
> 
> Andy
> 
> 
> --
> 
> http://www.globosapiens.net
> Global Travellers Network!
> 
> 
> 
> "Olinux" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
>
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Are you using a 404 error to generate those deeper
> > pages?
> >
> > If so you will want to send an OK header:
> >
> > header('HTTP/1.1 200 OK');
> >
> > olinux
> >
> >
> > --- Andy <[EMAIL PROTECTED]> wrote:
> > > Hi guys,
> > >
> > > I did recently launch my first web site and I am
> > > asking myself why google is
> > > only indexing the first page.
> > > To get a better index on other search engines I
> am
> > > passing parameters a bit
> > > strange and the dynamic pages
> > > look more like static ones. So I hope this was
> not a
> > > shoot in a hole :-(
> > >
> > > I am getting the parameters from the url and
> decode
> > > them after a certain
> > > key. The file looks to the visitor like
> > > it is a directory while I am forcing apache to
> parse
> > > it with php.
> > >
> > > So this is the first day google is indexing it,
> but
> > > as I said I tryed to
> > > search the site with google site search and it
> > > does only find the first page.
> > >
> > > A site like:
> > >
> >
>
http://www.globosapiens.net/profiles/A002021.html
> > >
> > > is not indexed at all!!
> > >
> > > Did I go the wrong path, or what else is going
> on?
> > > Thank you for any help,
> > >
> > > Andy
> > >
> > > --
> > >
> 
> > > http://www.globosapiens.net
> > > Global Travellers Network!
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit:
> http://www.php.net/unsub.php
> > >
> >
> >
> > __
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Architecture problem? Google want index files exept the main page.

2002-06-21 Thread Andy

Hi,

I am not using a 404 in this case. What I do is to name a file like a
directory name and then parse this file with php. The parameters look like
the filename.

e.g. server.com/file/parameter.html

In an other case I do use a 401 error. What is changing if I send this ok
header? And when should I send it?

Andy


--

http://www.globosapiens.net
Global Travellers Network!



"Olinux" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Are you using a 404 error to generate those deeper
> pages?
>
> If so you will want to send an OK header:
>
> header('HTTP/1.1 200 OK');
>
> olinux
>
>
> --- Andy <[EMAIL PROTECTED]> wrote:
> > Hi guys,
> >
> > I did recently launch my first web site and I am
> > asking myself why google is
> > only indexing the first page.
> > To get a better index on other search engines I am
> > passing parameters a bit
> > strange and the dynamic pages
> > look more like static ones. So I hope this was not a
> > shoot in a hole :-(
> >
> > I am getting the parameters from the url and decode
> > them after a certain
> > key. The file looks to the visitor like
> > it is a directory while I am forcing apache to parse
> > it with php.
> >
> > So this is the first day google is indexing it, but
> > as I said I tryed to
> > search the site with google site search and it
> > does only find the first page.
> >
> > A site like:
> >
> http://www.globosapiens.net/profiles/A002021.html
> >
> > is not indexed at all!!
> >
> > Did I go the wrong path, or what else is going on?
> > Thank you for any help,
> >
> > Andy
> >
> > --
> > 
> > http://www.globosapiens.net
> > Global Travellers Network!
> >
> >
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> __
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Architecture problem? Google want index files exept the main page.

2002-06-21 Thread olinux

Are you using a 404 error to generate those deeper
pages?

If so you will want to send an OK header:

header('HTTP/1.1 200 OK');

olinux


--- Andy <[EMAIL PROTECTED]> wrote:
> Hi guys,
> 
> I did recently launch my first web site and I am
> asking myself why google is
> only indexing the first page.
> To get a better index on other search engines I am
> passing parameters a bit
> strange and the dynamic pages
> look more like static ones. So I hope this was not a
> shoot in a hole :-(
> 
> I am getting the parameters from the url and decode
> them after a certain
> key. The file looks to the visitor like
> it is a directory while I am forcing apache to parse
> it with php.
> 
> So this is the first day google is indexing it, but
> as I said I tryed to
> search the site with google site search and it
> does only find the first page.
> 
> A site like:
>
http://www.globosapiens.net/profiles/A002021.html
> 
> is not indexed at all!!
> 
> Did I go the wrong path, or what else is going on?
> Thank you for any help,
> 
> Andy
> 
> --
> 
> http://www.globosapiens.net
> Global Travellers Network!
> 
> 
> 
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php