Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I edited .htaccess to
    RewriteRule ./ /index.php [L]

    It worked fine to get the password protected directory working. My problem now is that the 404 page changes. I get a generic 404 error, rather than the 404 theme page I’m using.

    If I go to a URL that doesn’t exist like mydomain.com/test I get this:
    Not Found
    The requested URL /test was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    However, if I go to mydomain.com/test/ (with the ending slash) I get the 404 page from my theme, with the template, sidebar, etc.

    Is there something I can to to ensure I always get the 404 page from my theme, and not the generic 404?

    Thanks,
    Don

    Thread Starter donnybrook33

    (@donnybrook33)

    I want to rename the files uploaded on a contact form with fields from the contact form and a date stamp.

Viewing 2 replies - 1 through 2 (of 2 total)