Search code examples
node.jsclean-urlsdocpad

Docpad redirects to clean url without cleanurl plugin


When I run docpad run, the docpad server redirects links to files with an .html extension to the clean urls. At this point, I don't have the cleanurls plugin installed, but I used it earlier in the development process.

E.g. localhost:9778/de.html redirects to localhost:9778/de which returns "Not Found".

The repo I'm working on is odl.docpad.

Thanks in advance!


Solution

  • The Problem solved itself. I have absolutely no idea if this was just some random quirk or if I changed something that fixed it. Thanks for the help anyway.

    EDIT: Apparently the Problem was that browsers cache 301 Redirects (thanks to hypercube for pointing it out). More Information here: http://www.electrictoolbox.com/google-chrome-clear-301-redirect/.