Re: Architecture problem? Google want index files exept the main page.
| From: | olinux | Date: | Sat, 22 Jun 2002 02:19:42 +0000 |
| Subject: | Re: Architecture problem? Google want index files exept the main page. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103370@lists.php.net to get a copy of this message | ||
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 <news.letters@gmx.de> 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" <olnx@yahoo.com> schrieb im Newsbeitrag
>
news:20020621151035.87190.qmail@web11802.mail.yahoo.com...
> > 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 <news.letters@gmx.de> 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/A0000002021.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