Welcome! Log In Create A New Profile

Advanced

Proper URL for wiki?

Posted by pica 
Proper URL for wiki?
September 21, 2010 10:17AM
Some links out there on the web point to reprap.org/wiki/Main_Page while others point to www.reprap.org/wiki/Main_Page. I noticed this when logging in to edit the wiki. We should pick one form for the URL and stick with it. If you go with, say, the one without the "double-you, double-you, double-you" in front of it, there should be a few lines in .htaccess to automatically redirect links from malformed links. Example:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.reprap\.org$ [NC]
RewriteRule ^(.*)$ h**p://reprap.org/$1 [R=301,L]

I think that will work. Teh mod_rewrite is indeed some voodoo. I checked, and you are using Apache. Hopefully whoever does your hosting lets you have mod_rewrite.

** change the "**" to "tt". The Phorum software was rewriting my URL even within the "code" tags.
Sorry, only registered users may post in this forum.

Click here to login