Closed (fixed)
Project:
WP2Drupal (obsolete)
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Apr 2009 at 20:07 UTC
Updated:
2 Sep 2009 at 04:07 UTC
Rather than building a separate system for handling old URLs, including adding a whole extra script to process them, just use GlobalRedirect to handle the old URLs.
Comments
Comment #1
damienmckennaCode committed.
Comment #2
damienmckennaReleased in v1.1.
Comment #3
damienmckennaComment #4
arpeggio commentedI have these 3 URLs:
http://kapitbisig.com/content/biag-ni-lam-ang-ifugao-epic
http://kapitbisig.com/node/789
pointing to only 1 content and currrently I'm using .htaccess to redirect these 3 URLs (script below):
RewriteRule ^content/biag\-ni\-lam\-ang\-ifugao\-epic$ http://kapitbisig.com/index/789/bilingual-tagalog-english-version-biag-n... [R=301,L]
RewriteRule ^node/789$ http://kapitbisig.com/index/789/bilingual-tagalog-english-version-biag-n... [R=301,L]
I have 3 questions:
1. I'm thinking which is more effective redirecting URLs (if I have thousands of URLs to redirect): .htaccess or Global redirect?
2. And I'm wondering, can the Global redirect handle 3 URLs redirect to only one content?
3. I have some URLs containing special UTF-8 characters (like: ò and â in http://kapitbisig.com/content/punò-nang-salitâ) and I would like to redirect it to other URL, but I can't make it work in .htaccess:
RewriteRule ^content/punò\-nang\-salitâ$ http://kapitbisig.com/index/942/florante-laura-ni-francisco-baltazar-com... [R=301,L]
RewriteRule ^node/942$ http://kapitbisig.com/index/942/florante-laura-ni-francisco-baltazar-com... [R=301,L]
Can Global redirect handle this?
Thank you in advance.
Comment #5
damienmckennaPlease open a new issue rather than add questions to a closed ticket. I also think your questions would be better directed to the main GlobalRedirect project issue queue rather than this project.
Comment #6
arpeggio commentedI see. Thank you for redirecting me to the right path :)