Using Custom Mailmain Pages with Wordpress

wordpress

#1

I want to use custom pages with Mailman, but it’s not working as expected. The Mailman script adds data to the URL which WordPress interprets with an “Ooops!” page not found error.

So instead of http://www.waywordradio.org/thanks/

I get

http://www.waywordradio.org/thanks/?address=asas@dtww.org&name=sds Star&code=3

So, is there a way to make this not happen, either by having the script not return parameters with the URL or by making WordPress accept them as valid?


#2

gawd … I hate to even think this out loud… but… seeing as search engine friendliness is not really any issue for those pages, have you considered wrapping the mailmail pages in an (ewww!) iframe (for easy look and feel integration) and storing them on a subdomain that isn’t impacted by the WordPress .htaccess rewrite rules? :wink:

Or,for that matter, you could stick those pages in their own subdirectory within your site and stick some rewrite rules into your WordPress .htaccess to allow for them to be “reachable” using the workaround for the DreamHost default “stats” subdirectory that is in the wiki.

Or did I just make it even more confusing?

–rlparker


#3

Thanks! That did it. I changed this line

RewriteCond %{REQUEST_URI} ^/(stats|failed_auth.html)/?(.*)$ [NC]

to this

RewriteCond %{REQUEST_URI} ^/(stats|failed_auth.html|thanks|confirmed)/?(.*)$ [NC]

“thanks” and “confirmed” are the WordPress slug names for the pages in question.