Re: Dynamic Pages and Search Enghines
| From: | Jason Wong | Date: | Fri, 01 Aug 2003 21:50:38 +0000 |
| Subject: | Re: Dynamic Pages and Search Enghines | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-29625@lists.php.net to get a copy of this message | ||
On Saturday 02 August 2003 04:42, Harlan Lax wrote:
> How do I go about getting dynamically created pages to be listed in search
> engines?
If using Apache, you can use mod rewrite to make them look static. Search
archives or google for more info.
Another method is to make your links look like:
http://www.example.com/page.php/some/variable/or/another
then in page.php, you parse the request URI to grab /some/variable/or/another
and hopefully do something meaningful with them.
If you want to be really clever, you can configure Apache so that it runs the
file named 'page' (note no .php extension) through php. Something like:
<Location /page>
ForceType application/x-httpd-php
</Location>
Then you can have links which look like:
http://www.example.com/page/some/variable/or/another
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
/*
She cried, and the judge wiped her tears with my checkbook.
-- Tommy Manville
*/