Forum Moderators: coopster & phranque

Message Too Old, No Replies

Dynamic sites and Search Engines

Will this work with most SEs?

         

transistor

7:53 pm on Jun 7, 2002 (gmt 0)

10+ Year Member



Big thanks to Olaf, Agerhart, Littleman, Brett and every webmaster, newbie and oldie, you are one of the reasons the Internet is sooo great and this site sooo cool! :)
I want to share this, so I can get some feedback on what I'm doing.
After lots of reading and writing I think I might have found a solution that might be of interest to others.
I wrote a PHP script that works when an error 404 is found when a user requests, say, www.domain.com/somename.
The script checks for the existance of "somename" (in my database) and if it does, the browser is redirected to www.domain.com/artist/x/somename.html
Then a RewriteRule "feeds" the value of "x" to a script in artist to retrieve the info.
Now, I have to generate an html file that will contain links like so:
<a href="/artist/x/name.html">name</a>
<a href="/artist/x+1/othername.html">other name</a>
etc...
so, when a spider comes along, it can follow every artist in my site with this single html file.
How about that?! 

Any remarks, observations, tips, etc.?
Thanks!

Brett_Tabke

5:13 am on Jun 8, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Looks good to me. That is similar to the way things are handled here.