Needs review
Project:
Path redirect
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2010 at 22:53 UTC
Updated:
27 May 2011 at 17:05 UTC
Jump to comment: Most recent file
Comments
Comment #1
mikeytown2 commentedComment #2
dave reidI don't get why this is needed? Can you provide examples of URLs where this makes a difference or explain in a little more detail?
Comment #3
mikeytown2 commentedBoth URL's work in Joomla land & I have references to both in the html.
http://galtime.com/index.php?option=com_content&%3Bview=article&%3...
http://galtime.com/index.php?option=com_content&view=article&id=141%3Agi...
Comment #4
chromix commented#1: path_redirect-938704.patch queued for re-testing.
Comment #5
chromix commentedI would also like to use this patch, as I'm also transitioning from another CMS that uses query strings in all of it's URLs, similar to how Drupal looks before safe URLs are turned on.
Comment #6
mikeytown2 commentedcan you test the patch and report back that it works?
Comment #7
satcom74 commentedI am also transitioning from a Joomla site to a Drupal site and I'm needing to redirect the query string urls to the new clean urls.
For instance, index.php?Itemid=340&id=184&option=com_content&task=view to redirect to pages/dining
I tried the patch and it didn't seem to make a difference. It's redirecting to my homepage each time.
Comment #8
mikeytown2 commentedhttp://drupal.org/node/938640
Comment #9
YK85 commentedsubscribing
Comment #10
datarazor commentedpatch doesn't help me either.
need to redirect based on id= or itemid= from Joomla to a clean URL in Drupal.
subscribing: +1
Comment #11
mikeytown2 commentedNeed this patch (#1) along with this one
#938640-1: Smarter index.php in uri handling
I think I directly injected the redirects into the database; we had over a thousand to keep track of. Hope that helps you get this working on your site.
Comment #12
datarazor commentedHi Mikey town, didn't see your repsonce before I fixed it myself... so if your solution works, awesom!
Here is what i did to make a "working" solution, a semi-manual process:
in the htaccess file I added for each old link:
The key is that Joomla links have to be checked for as UN-clean, and then redirected to UN-clean Drupal links.
Once I did this, everything works fine. The page redirects to the unclean Drupal site but htaccess rapidly [un-perceptively] corrects the URL to be a clean one after redirection.
The only pain here is that I needed to do some additional search-replace to change my CSV file to match this output. But once I did that I was able to script in my 50 needed lines [for the top 50 visited pages] to ensure a smooth redirection.
I hope this tip will help others!