Last modified: 2011-08-01 20:35:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32123, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30123 - Redirect pt.wikimedia.org to wikimedia.pt
Redirect pt.wikimedia.org to wikimedia.pt
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on: 23537
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-30 04:31 UTC by Mark A. Hershberger
Modified: 2011-08-01 20:35 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark A. Hershberger 2011-07-30 04:31:09 UTC
As per summary
Comment 1 JeLuF 2011-07-30 19:59:59 UTC
Redirect everything to the start page, or redirect http://pt.wikimedia.org/wiki/SOMETHING to http://wikimedia.pt/SOMETHING ? Or redirect everything to a "Sorry, we changed our URL structure, this is our search form"-page?
Comment 2 Casey Brown 2011-07-31 01:10:39 UTC
CCing Waldir and Nuno so they can hopefully answer JeLuF's question above.
Comment 3 Waldir 2011-07-31 23:33:54 UTC
Thanks, Casey. The second option (olddomain/X → newdomain/X) would be ideal. This won't matter as much if we are able to have the pt:chapter: interwiki prefix in the Wikimedia sites point to wikimedia.pt. I'm not sue if that's acceptable, but even if it is, the second option would still be worth it, because we have links in our mailing list archives pointing to the old wiki. Are there any problems with that approach?
Comment 4 JeLuF 2011-08-01 20:35:44 UTC
Done.

    # pt.wikimedia.org got moved to wikimedia.pt

    RewriteCond %{HTTP_HOST} pt.wikimedia.org
    RewriteRule ^/wiki/(.*)$ http://wikimedia.pt/$1 [R=301,L]

    RewriteCond %{HTTP_HOST} pt.wikimedia.org
    RewriteRule ^/(.*)$  http://wikimedia.pt/ [R=301,L]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links