Hi, I have implemented the 404 redirect trick for my PHP programs so that all my pages are indexable. However, when I tried to point my browser to http://www.domain.com/hw/15, I saw the URL is changed to the designated URL in the .htaccess.
I'm not sure I understand what you're saying. If you take out the http://www.domain.com from the url it won't change the actual url in the location bar, it'll just load the 404 page in place...
OK, first try and make it redirect to something in the same directory. Like ErrorDocument 404 test.php
If that doesn't work, you may need to edit your access.conf and set Allow Override to the appropriate setting (I forget, but I usually set Override all-- this lets .htaccess control all aspects of the directory).
Bookmarks