Closed (duplicate)
Project:
Path redirect
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2007 at 13:41 UTC
Updated:
23 Dec 2007 at 20:19 UTC
I just migrate Wordpress to Drupal and in Wordpress, users can use this url http://xxx.com/?feed=rss to get feed, but I cannot use this module to redirect "?feed=rss".
btw, could I use .htaccess to do it ? I found it seems the question mark doesn't work in .htaccess too.
Comments
Comment #1
HorsePunchKid commentedI'm going to mark this as a duplicate of #174961 Allow query strings in "from" paths.
I'm almost positive you can accomplish this with mod_rewrite in your .htaccess. Check out RewriteCond. If I wanted to redirect:
http://example.com/?feed=rss...to something like:
http://example.com/drupal/feed/rssI might try something like this:
Rewrite rules are a tricky species, though. No guarantee that or anything close to that will actually work, but I know it can be done one way or another!