• I migrated from Joomla to wordpress. In Joomla I had a lot of PR5 pages, because I do not want to loose ranking I would like to redirect them.

    I tried
    Rediret 301 www.mysite.com/index.php?option=com_content&task=view&id=5&Itemid=7 www.mysite.com/newpage/

    But I then get an internal server error. So I tried

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php?option=com_content&task=view&id=5&Itemid=7$ http://www.mysite.com/newpage/

    This doesnot seem to do anything, but also does not give a 404 page error.

    Does anyone know how to redirect such dynamic urls to wordpress?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Arash

    (@john25)

    Sorry to bump this. But I was wondering if anyone has a solution?

    I’m looking for a solution to this too – does anyone out their know the answer?

    I used 301 redirects in my .htaccess file, but they just end up at the homepage instead of the page that I want to redirect them too…

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Your redirect format was incorrect:

    Redirect 301 /index.php?option=com_content&task=view&id=5&Itemid=7 http://www.mysite.com/newpage1
    
    Redirect 301 /index.php?option=com_content&task=view&id=3&Itemid=8 http://www.mysite.com/newpage2

    I also have things like this:

    # Redirect for Moved pages
    RewriteRule ^images(.*)$ http://content.mysite.net/images/$1        [L,R=301]
    RewriteRule ^code(.*)$ http://content.mysite.net/code/$1            [L,R=301]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirecting dynamic urls’ is closed to new replies.