Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 90231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:50:27+00:00 2026-05-10T22:50:27+00:00

I moved an ex-site based on joomla to wordpress. Import worked fine but the

  • 0

I moved an ex-site based on joomla to wordpress. Import worked fine but the problem is that the old links don’t work anymore. Because there is only 50 or so articles, i thought will be a good idea to put a rule for each post (in .htaccess).

Well… Not always things are like you want, so redirects dont work at all 🙁

Old joomla links looks like this:

http://site.com/index.php?option=com_content&task=view&id=49&Itemid=29 http://site.com/index.php?option=com_content&task=view&id=42&Itemid=29 http://site.com/index.php?option=com_content&task=view&id=68&Itemid=29 

And need to be translated to:

http://site.com/?p=23 http://site.com/?p=24 http://site.com/?p=25 
  • basically no relations between old and new links, so i don’t think a regex will help

  • both old and new site are on the same domain

Ok, the problem is that any rule i’ve tried (and i tried a LOT!), none worked. in few cases i get 500 error, but most of times the redirect didn’t work.

So, any of you guys had same problem? I don’t necessary want to have nice permalinks, but if i can, that will be better. The problem is that i have many backlinks to old url’s and i don’t want to loose them.

Thanks a lot guys!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T22:50:28+00:00Added an answer on May 10, 2026 at 10:50 pm

    Since the conversion of your site over to WordPress is relatively new, is there anything preventing you from using the old Joomla! ID’s in your WP database table? This would allow you to use a regex fairly easily.

    Another option would be to create a separate PHP script that handles the Joomla! URLs then redirects to the WordPress ones. So you would have a regex in your Apache configuration detecting index.php?option=com_content&task=view URLs, finding the value for ‘id’, then redirecting to someotherscript.php that would have a map of your ids from Joomla! to WordPress. This script would then use header(‘Location: ?p=’ . $id) to redirect to the correct page in WordPress.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I took over an old HTML based site with all hard coded links, no
I moved an existing wordpress site from one server to another. But when I
I am currently developing a joomla 1.5 based site in a temp subdomain (which
I just moved my Joomla! website from BradPPresents.com to BradP.com . No Nude, but
I have a Drupal site in production. The site's large enough that I don't
I moved a WordPress installation to a new folder on a Windows/ IIS server.
When Joomla first sprung up and I moved over from Mambo I remember finding
I have a site that allows people to upload files to their account, and
I am trying to print out HTML to an area of my site based
I've used this code in another site I've made and it works absolutely fine

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.