We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

redirect all pages to one? | Forum

Topic location: Forum home » Support » General Questions
Marcus
Marcus Mar 7 '18
I am working a a spam plugin but can't seem to find a way to redirect all pages to one.

I use:

OW::getRequestHandler()->setCatchAllRequestsAttributes( 'spamkiller.spam-check', array(
            OW_RequestHandler::CATCH_ALL_REQUEST_KEY_CTRL => 'SPAMKILLER_CTRL_Spamkiller',
            OW_RequestHandler::CATCH_ALL_REQUEST_KEY_ACTION => 'spamAttempt'

or

OW::getApplication()->redirect("spam/verify");

but although they do redirect captcha is not working!

How to redirect and make sure the captcha one that page will work.