New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

How can I make a subdirectory (/styleguide) of html files with an index.html not return a 404 error?

Return to previous page

  • 4/14/2016
  • 1993 Views

Question:

hbuchel 9 years ago

In the root of my dnn install, I have a subdirectory called /styleguide/ that has an index.html in it, and some other .html files and assets. It is a static .html styleguide for my website. I'd like it to work off from mysite.com/styleguide but it only works off from mysite.com/styleguide/index.html. The former returns a 404 error since it is not a DNN page. I need it to work without the index.html because we are doing some javascript based routing from that index.html to view other parts of the styleguide.

How can I make a subdirectory (/styleguide) of html files with an index.html not return a 404 error?

hbuchel
hbuchel 9 years ago
Add an Answer

Answers

Sign In to Participate
Or register to become a member