Viewing 4 replies - 1 through 4 (of 4 total)
  • Well I do not know which book you refer to, but I guess since the old Joomla URLS contain querystrings (that is the part starting with the first questionmark) I strongly suggest to not use the Redirect Apache Directive because it can not parse this part.

    Consider to use Mod_Rewrite instead. Directives and so called Rewrite-Rules can handle this part of a request as well and Mod_Rewrite is able to redirect as well.

    If you do not want to stick that close to Apache, you can create a Redirect with PHP as well. In your case, this could be easily done, because you only need to modify your index.php. If you know how you can parse a request with PHP (Exmaple: $_GET variables) and to do a redirect ( header() function) then this might be easier for you.

    If you are more familiar with Apache, Regular Expressions and Mod_Rewrite go that route.

    Thread Starter patsjoelie

    (@patsjoelie)

    Hi, and thanks for responding!
    If i understand you correct, i cannot use querystrings in a htaccess file?
    the only thing i’m trying to do is create about 15 lines, like this:
    Redirect 301 /index.php?com_c…. https://www.domain.com/file1.html
    Redirect 301 /index.php?com_c…. https://www.domain.com/file2.html
    Redirect 301 /index.php?com_c…. https://www.domain.com/file3.html

    There is no need for autmated recognition and redirecting, just a plain file where i put the correct redirects in?
    I’m not that php savy so starting with those $_GET variables is kind of new for me.

    any help, pointers, examples are very appreciated ??
    Thanks in advance,
    Pat.

    Well, the question is not only how good you’re with PHP but how good are you with Apache setup as well? And RegEx?

    To better help you, please send me three or four full example urls with all the parameter of the query strings.

    Two related questions since I am also moving from Joomla ro WordPress and have the same issue:

    1) Hakre, can I hire you to help me with this. I have a few dozen URLS I need to redirect. You can contact me at the site below.

    2) And/or, is there a Joomla to WordPress URL redirect Tutorial I could read somewhere?

    Thanks!,

    – Kevin
    https://www.goldmanDesign.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Migrate joomla to wordpress, redirect question’ is closed to new replies.