I run a SMF Forum and I recently installed a package there for SMF Quiz. When I create a quiz there is an option to edit it. Whenever I hit the edit button I am taken to a Drupal "Page not Found" Error. Is there anyway of turning them off so that Drupal does not interfere or a way to get around it. Thanks. :)

Comments

SuperZambezi’s picture

I would still appreciate an answer. :) Thanks.

danreb’s picture

Drupal shipped with .htaccess open it and find


# Make Drupal handle any 404 errors.
ErrorDocument 404 /index.php

and put # sign to disable it.
example:


# Make Drupal handle any 404 errors.
#ErrorDocument 404 /index.php

Drupal handling of 404 errors is now disabled.
You have now all the responsibility to handle the 404 errors.

Please note that .htaccess is hidden file so make sure your ftp or file manager are configure to show hidden files.

jessicakoh’s picture

I have the same issues.

This .htaccess editing does not work for me. I still have "Page Not Found" in my the subdirectory.

I have tried putting an .htaccess file in the subdirectory with below code.

ErrorDocument 404 "Unauthorized"

Any other way to solve this problem?

Then I tried putting a index.html file in my SMF folder. It seem to work without any editing in the htaccess.

What am I missing? How can I get my SMF to run in subdirectory?

Thank you.