In the URls, are they real files, I mean are they really exist in the FS. example:
Or are you using URL Rewrite redirecting to other location on FS
Or are you generating the file in real time with php (I think this is very bad for performance).
Resuming my big question is if you use or not URL rewrite?. Because I think the way of PHPClasses manage namespaces made it easy to crawl and easy of replicate.
Cesar D. Rodas
PD: Sorry if I have mistakes with my "English" in this post ;)
Wojciech - 2008-11-05 15:57:30 - In reply to message 3 from Manuel Lemos
I just tought about doing the same thing for SEO friendly urls on the website Im doing, however I was wondering how bots will see this. When you use ErrorDocument 404 doesnt it mean the result will be 404 whatever the content is served ?
Manuel Lemos - 2008-11-05 17:54:37 - In reply to message 4 from Wojciech
No, the script that handles the error page request determines the status code. So robots always see it as a normal page.
Anyway, if you have a PHP script named browse and configure Apache to treat it as PHP script like in the PHPClasses, requests to /browse/package/N.html will always be handled by browse script, not as a 404 error .
Wojciech - 2008-11-05 21:33:59 - In reply to message 5 from Manuel Lemos
thanks for your reply but Ive had so many problems with that hosting that its hard to say. Not only is rewrite engine disable and many php functions but I noticed that whatever I do it does result in 404 error using this method.
Ihave used index.php for my standard page and 404 handler. using header( location ... I tested header function to work and it did. But whenever script is used as 404 handler header function does not work so changing to 200 code is not possible there whatever you do - result : frendly urls with 404 respone :)
Had to change my system all way through.
People be aware of demon.net if you want to have friendly urls.