diff --git a/urls.py b/urls.py index 05e620906..2f2ebfcd0 100644 --- a/urls.py +++ b/urls.py @@ -158,7 +158,12 @@ trogglepatterns = [ path('expofiles/', include(expofilesurls)), # intercepted by Apache, if it is running. path('expofiles', include(expofilesurls)), # curious interaction with the include() here, not just a slash problem. - re_path(r'^(.*)_edit_edit$', spider, name="spider"), # web spider. Intercept and manage it. + re_path(r'^(.*)_edit_edit$', spider, name="spider"), # web spider or bot. Intercept and manage it. + re_path(r'^(.*)\.php$', spider, name="spider"), # web spider or bot. Intercept and manage it. + re_path(r'^(.*)\.do$', spider, name="spider"), # web spider or bot. Intercept and manage it. + re_path(r'^wp-admin(.*)', spider, name="spider"), # web spider or bot. Intercept and manage it. + re_path(r'^wp-content(.*)', spider, name="spider"), # web spider or bot. Intercept and manage it. + re_path(r'^wp-includes(.*)', spider, name="spider"), # web spider or bot. Intercept and manage it. re_path(r'^caves$', cavesall, name="cavesall"), re_path(r'^indxal.htm$', cavesall, name="cavesall"), # ~420 hrefs to this url in expoweb files