Log in / create account | Login with OpenID
DocForge
Programmer's Wiki

Talk:C plus plus

From DocForge

We had some quirkiness with pages at URL /wiki/C++ and /wiki/C%2B%2B redirecting to /wiki/C. There was no explicit redirect and we all know C++ isn't exactly C. So I did some playing around plus research on MediaWiki's site to find that mod_rewrite was causing a problem. Both "++" and "%2B%2B" at the end of a URL were getting stripped during a mod_rewrite rule no matter what options I set. The only solution which I've gotten to work is a mod_rewrite rule which specifically redirects /wiki/C++ to /wiki/C_plus_plus, then having C_plus_plus be a wiki redirect to C++. You'll notice if you click on C++ that is states "Redirected from C_plus_plus". So if anyone runs into any related quirks, or has a better solution, please let me know. --Matt 18:28, 27 February 2007 (EST)