Re: Dynamic Pages and Search Enghines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
*/


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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux