You can just copy your blog files to the domain directory, then look in the MySQL database (with phpMyAdmin, say) and change the siteurl
and home
rows in the wp_options
table to correspond to the new URL. Everything will be preserved, you might have to check and fix the often hardcoded paths to images like template logo and stuff. This is the simplest way.
Related Posts:
- How to Best Create Separate Subscribers and User Experience
- Group Posts by First Letter of Title
- Post preview and oembed provider issue using polylang plugin with subdomains
- Multisite: Can’t Post or Create Categories
- Turn On Comments On Custom Post Types in Directory Theme
- Getting post and attached image from subdomain
- Multisite Issue on Subdomain’s article pages
- Show posts in a parent directory [duplicate]
- Change WordPress names duplicate titles (url)
- Relative Image Urls in Posts are starting from root – Not from WordPress Address (URL) at General Settings
- Redirect posts to sub domain except pages
- How to end the excerpt with a sentence rather than a word?
- How does filter the_posts work?
- SQL Query for getting all posts in their latest revised state
- Publish pending article from front end with a button?
- How can I export WordPress posts’ attachments?
- Restrict the Number of Posts an Author can Publish (over time)?
- How do I convert a mathematical Microsoft Word document to a WordPress blog post?
- Which file displays the date archive?
- Add custom field to category of custom post type
- Change post format using custom field
- Plugin for sortable posts in grid [closed]
- How can I make existing custom fields easier to edit/add in my theme?
- Code Blocks with WYSIWYG in blog post
- What Can I Use To Add A Custom Button Between Publish button and Move To Trash?
- generate unique slug while inserting post
- Display Latest Post from all Categories
- WordPress theme ajax have_posts()
- How to show post(excerpt) from specific category on wp page?
- Easy way to delete 70k posts and attached media?
- wp_insert_post works, but the post isn’t visible in the admin post list or front end
- Remove arrows from previous and next link
- Get all images out of the posts content
- How to Use PHP Code In-Page?
- wp_tag_cloud() and the_taxonomies() work but not the_tag()
- Split WordPress Latest Posts in Multiple Columns and Rows with one single loop [closed]
- Remove certain post-formats from showing in blog?
- How to display data in archive page?
- Drag posts and pages so you can sort them in order
- Category Foreach keeps looping?
- Are private posts visible to search engines?
- CPT archive redirects to single post
- Archiving by academic year instead of calendar year
- Posts will not display on page-mypage.php
- display a random post thumbnail from a random category
- Display News Posts by Day with Post Counter
- Duplicate Custom Post Type and Taxonomy Slug
- Automatically attach image to post if they have the same title
- How we exclude current post form related posts
- Remove Content after
- Proper way of establishing custom landing pages in WordPress
- Use Click Image to Play Youtube Video in a WordPress Loop
- How to get all post_parents of a post?
- Prevent posts with certain post_meta to be edited
- How to get different Related Posts
- Using wp-cli and delete everypost first image
- How to convert query sql to shortcode in wordpress?
- Stop post submission without losing data?
- how to get day month and year from wp_post_object?
- Using Posts Like a Page
- Pagination for normal (standard) posts on a page with a custom loop?
- How can I add a page that shows posts from a single category?
- Pasting formatted text from MS-Word
- How to Rearrange WordPress Tags list on frontend using Shortcode with specific order?
- How to associate a custom taxonomy to a post multiple times
- Custom post grid
- Need help creating a page that has editable fields
- Can I show category name in url for only one of my categories?
- How to hide protected posts from archive?
- Featured image error after importing blog posts
- Count words for each author separately
- Current post categories and subcatecories outside of the loop
- How do I remove all links from all my posts at once?
- “read more” redirects to the wrong page
- Settings missing from the add new post page
- Display Updated Date Instead of Published Date
- Replace Tag Keyword With Link Within Post Content
- WordPress Delete Users from backend doesn’t work
- Custom post styling per category?
- What is the difference between options and custom fields (meta) in WordPress?
- Shortcode: How to add custom posts?
- How do I create a ‘selection’ criteria list’ that will then dictate which posts are generated when the user presses search?
- Meta boxes not saving
- problem with creating a wordpress post slider
- Hide first blog post in content and output it in widget
- Allow users to create their own page/s
- custom single.php post showing up twice
- How to use extract shortcode in loop?
- SQL query to remove first image in all posts
- Create custom URL with different levels
- Make division in post_query?
- making a few sites in wordpress
- How to use wp_editor(); in functions.php then retrieve content in the template
- Simple method to generate posts from files
- WordPress posts loop pagination – first page return 125 posts instead of 10 and the rest return 10
- clicking on page title
- change page name on page list
- append $_GET parameters to post
- Undefined Function Fatal Error with Shortcode [closed]
- How to sort posts alphabetically based on a specific parent category