From my .htaccess (serendipity lives at /blog/)
Code: Select all
ErrorDocument 404 /blog/index.phpI'm not sure the best course of action to fix this, but if you use a fully qualified url it'll redirect instead of just serving the page. For example
Code: Select all
ErrorDocument 404 http://brainsoup.net/blog/index.phpnormally archive urls are archives/###-Title-with-dashes-instead-of-spaces.html where ### is the entry id.
But serendipity only checks the number and then returns the page. This is bad for two reasons...anyone can change the urls of your site to be something that you probably wouldn't want (aka ###-I-secretly-hate-all-black-people.html) and that's a completely valid url.
Secondly it can dilute your rank in search engines. Because if people mistype urls and then link to them, you won't be getting pagerank credit for that link, the new (potentially inflamitory) url will get them.