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
- Can the_post_navigation() be outside of the loop?
- Delete 100+ posts or media files from wordpress faster than default?
- Query posts from newest category
- Custom post type – Loop out in random order but same 15 to appear first… still random
- Trim excerpt to first paragraph
- Change the URL of posts by category
- Modify loop to include all post statuses not just ‘published’
- Custom post type template not called
- How to convert return type of ‘get_posts()’ same as ‘wp_get_recent_posts()’?
- Nothing appears using get_the_excerpt() in category.php
- Random order of the 5 most popular posts
- SQL trigger failes with post_content
- WordPress infinite post cycle
- Difference between modified post and new post
- Get from the dashboard the ID of the current post being edited
- Displaying dynamic content (blog posts/portfolio) on a static homepage and keep the blog post styles
- How to give priority to page than to posts permalink structure?
- WordPress infinite post cycle problem
- How to use Categories of custom post type
- Custom author search
- How to add multiple(but specific) posts to different areas in one page?
- Posts only showing on /localhost/wordpress/ and not on other pages
- WordPress post filter
- Page 2 has no posts?
- WordPress not showing recent posts
- WordPress template next_prev
- Problem with wp_insert_post()
- Don`t show short description on a single page
- Compare date of user’s last posts
- Only get post_id [duplicate]
- Disable `create_post` for built-in post type
- How to get all posts in gallery post format template
- Append a random string to a post permalink
- im trying make a function to auto correct posts when i open the posts in the backoffice
- how to create other sizes of original image in one go wordpress uploads
- Multipage Post URL correction
- alt of attached image in post / pages
- WP Pages: Add checkbox, save and display
- How to control Post view count incresing in sidebar widget posts too?
- Display post in visual composer with custom html
- Set multi posts random categories and tags
- display content in multiple columns
- Adding post date to ACF field
- Point users to a specific url directory for some posts
- Point to a page when there is no results
- My custom query is displaying random posts in random order
- Output wp_link_pages as raw url
- Keep highlight on menu item with post pages
- Can’t get post_updated hook to work
- Repeating post how to solve this
- How to test if user is filtering post list in dashboard
- Get the category of post
- Shortcode: How to add custom posts?
- Only show related posts when another post has same term
- Precedence of page permalinks over woocommerce product category links?
- Add new post only in assigned category
- single- and archive- templates not being applied to custom post types, not even after flushing permalinks
- Display Posts by Categories
- WordPress Multisite subdomains and sharing the same upload folder
- Hide Admin posts & pages in Dashboard
- Post & Category Archives URL structure
- Creating Ordered Query using Meta_key
- Sort Events by Venue Title – Sort Post set by related post ids
- Is there a global page/post/product/anything ID?
- How do I create a ‘selection’ criteria list’ that will then dictate which posts are generated when the user presses search?
- WordPress each user has each content for a page,how to do that?
- How to get post count including nested categories
- WordPress Request Post All Post ID in a Loop? [closed]
- Fixing the WP Post Object for Custom Route
- Post URL duplication adds numerical value
- How can I alternate styling of images in a post? [closed]
- Changing the Category for all posts of an Author
- Auto populate custom fields by post date
- Bulk posts from DRAFT Section
- Is it possible to display QUICK EDIT as default for all posts in wp-admin/edit.php page?
- Custom layout manager for posts
- Add caption to thumbnails in content
- Posting a comment redirects admin/users to blank page
- Custom Taxonomy From Database
- WordPress URL question
- Creating widget – ask for selecting a post in the admin panel
- Multiple Custom Post Type loop logic
- List Authors For Current Category
- How can I filter the post of a CPT by taxonomy Term in admin meta-box dropdown?
- WordPress search for specific Post Type
- Show Posts By Custom Field
- Best Way to detect unique posts in wp rest api
- Get query result according to merged array
- Is it possible to completely replace a post with an action/filter?