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 6160543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:19:16+00:00 2026-05-23T21:19:16+00:00

I have a custom made CMS system with a relatively small number (~1000) of

  • 0

I have a custom made CMS system with a relatively small number (~1000) of articles inside my SQL Server database.

I want to migrate the whole site to WordPress. Is it possible and if so, then how, to migrate the data (one table – Article) from SQL Server to a CSV file and then import it into WordPress?

Thanks!

update:

The structure of table Article looks like this:

ID_Article - int (pk)
Title - nvarchar(max)
Summary - nvarchar(max)
Contents - nvarchar(max)
Date - datetime
ID_Author - int (fk)
Image - nvarchar(max)
Promoted - bit
Hidden - bit

There also categories done with an associative CategoryToArticle table. The only thing that needs to be moved is CONTENTS (optionally merged with Summary) DATE and TITLE (would be cool if it was merged with author’s name “John Doe: My Article title.”). It can be categorised as “Archive” or soemthing like that, image and other flags can be dropped completely.

  • 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. Editorial Team
    Editorial Team
    2026-05-23T21:19:17+00:00Added an answer on May 23, 2026 at 9:19 pm

    You could use an automation software such as BlogSenseWP to import the CSV items in as new posts, but you would have limited control over the dating and tagging would have to be auto-regenerated using the Yahoo Tags API (included in the software’s features). Categorization might be tricky as well, but there are keyword based auto-categorization filters that could help you get close.

    Otherwise you would might want to investigate a custom PHP script that imports the CSV fields desired into variables, and then loops through them adding them to the wordpress database using wordpress functions.

    Here is a custom way of adding a post to wordpress:

    $permalink_name = sanitize_title_with_dashes( $title );
    $post = array(      
                                  'post_author' => $author_id
                                  'post_category' => $cat_id, 
                                  'post_content' => $description, 
                                  'post_date' => $date_placeholder,
                                  'post_date_gmt' => $gmt_date,
                                  'post_name' => $permalink_name,
                                  'post_status' => 'publish', 
                                  'post_title' => $title,
                                  'post_type' => 'post',
                                  'tags_input' => "$tags",
                                  'original_source'=> $link
                                );  
                                $post_id = wp_insert_post( $post, $wp_error );
    

    You would have to include the wp-config.php file at the top of this script to load the wordpress code environment.

    The above is a crude summary. It would take a thorough understanding of PHP to fill in the ommited code and complete the concept script.

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

Sidebar

Related Questions

Here's what I have: Custom-made C# CMS where the content is stored in a
I have made a custom UserControl i Vb.net (windows application). How can I add
Coming from this question , I have a wxComboCtrl with a custom popup made
We have a custom PHP/MySQL CMS running on Linux/Apache thats rolled out to multiple
i'd like to add a media library to a custom-made CMS that is build
As part of a CMS, I have created a custom VirtualPathProvider which is designed
I have custom coded several enterprise applications for mid to large organizations to use
I have custom errors configured in my web.config, but IIS 6.0 is returning the
Can you have custom client-side javascript Validation for standard ASP.NET Web Form Validators? For
I have a few models that need to have custom find conditions placed on

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.