Forum Moderators: phranque

Message Too Old, No Replies

Mod Rewrite > Redirect problem.

         

zachg

6:31 pm on May 15, 2006 (gmt 0)

10+ Year Member



I've recently rebuilt my website and 'ported' it from the Joomla framework over to Wordpress (actually multiple wordpress installs because my site was somewhat more complicated then a typical WP blog).

The problem is since the change I've been getting a lot of 404's, which I expected. Most of these are solved simply using something like:


Redirect 301 /component/option,com_weblinks/Itemid,35/catid,14/ http://www.somesite.com/someurl/

However some (one in particular) url's aren't playing friendly.

For instance:


/?option=com_rss&feed=RSS2.0&no_html=1 http://www.somesite.com/feed/

Is no-go. I understand that there are some special characters that require backspacing and have tried things like:

/\%3Foption\%3Dcom_rss\%26feed\%3DRSS2\.0\%26no_html\%3D1

But I'm afraid I'm out of my league here. Any suggestions would really be appreciated.

UserFriendly

7:25 pm on May 15, 2006 (gmt 0)

10+ Year Member



Have you taken a look at mod_rewrite?

mod_alias may be too simple for such a task.

zachg

7:35 pm on May 15, 2006 (gmt 0)

10+ Year Member



My understanding (please, feel free to correct me) Mod Rewrite did handle the redirects?

But now that I'm looking at my mod_rewrite cheat-sheet I don't see it listed as a directive.

Any suggestions on a rewrite rule that would handle this and am I still going to have problems with the characters? The redirect (with the 301 header codes) worked pretty good, but if it won't work I'd definately need to use a rewrite rule.

jdMorgan

10:15 pm on May 15, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This search [google.com] and the documents cited in our forum charter [webmasterworld.com] may be helpful.

Jim

zachg

10:24 pm on May 15, 2006 (gmt 0)

10+ Year Member



Thanks for you patience. I'll do the reading.