I personaly do that in 3 steps:
1) in the admin i change both wordpress and site adresses from ‘domainname.com/test/’ to ‘ domainname.com/’. After saving it’ll break the site, no worries.
2) i move ftp files from the /test/ folder to the root one (gives back the admin and site).
3) i finally change database datas that refer to the old url ‘…/test/’ by using the plugin search and replace. Gives back all the pictures uploaded for exemple.
Did it again this morning, works fine.
And as pootzko says, backup backup, you never know what can happen.
Related Posts:
- How to *remove* a parent theme page template from a child theme?
- Running Gutenberg React in Development Mode
- How to disable page delete
- WordPress hook before inserting post into database
- Check for and enforce unique value in user-entered custom meta field in WP Admin
- How to update the delete user confirmation form?
- Enable / Add Custom Keyboard Shortcuts To Work With WordPress’ HTML Editor
- In the new Theme Customizer API, how to send a value from the front back to the admin panel?
- How do I add Post Like and Bookmark Functionality to my WordPress Site?
- How to exclude certain widget from showing up on home/front page? [duplicate]
- simple expandable vertical menu, java script problem
- What is causing this error? “Warning: Invalid argument”
- sanitize attachment filename
- Modifying loop on a custom page, strange behaviour
- WordPress native “playlist” shortcode. Next and Prev there are but with no icons. How to fix?
- Best way to integrate an existing PHP application into WordPress
- Add filename to attachment page url
- Show post page only if the user has bought a specific product
- Rebuild vs Upgrade – need pointers, advice
- Changing editor-style.css style
- Edit admin post page
- Customize the WordPress Default Gallery Output
- Adding my own “add to cart button”
- Programmatically (PHP) get the nr. of items in the primary navigation menu
- Function to remove archive sidebar for custom taxonomy?
- Google font doesn’t show in theme option
- Add a InfoBox in the media upload window
- Multi Site installation inside a sub domain inside a sub directory
- How to create left and right menu with logo center in a custom theme?
- How to get custom page template being edited in gutenberg editor
- How can I setup a wordpress site with multi country & multi lingual support
- Is there a way to use LaTeX formatting for WordPress?
- 1 WordPress installation with 2 pages: every page gets a separate domain
- I’d like to move the Widgets Panel to the bottom of the list in Customizer
- REQUIRED: Could not find wp_link_pages. See: wp_link_pages by Theme Checker
- problem in uploading attachment to custom directory
- What is the best way to move a single site from one MS installation to another? [duplicate]
- Basic Authentication problem with custom API endpoints
- How to update theme from localhost to online site
- Don’t change Custom Post Type slug to unique value
- Is it necessary to use Timthumb in WordPress 2.9+?
- How to show wp.me shortlink underneath each post?
- Shop page custom buttons which is visible to only administrator
- Change admin avatar only (without Gravatar or plugin)?
- Insert menu with a custom walker into page / post body using shortcode?
- How do I change the element using a custom function?
- Is it necessary to prefix theme_mod, section id and panel id in the customizer?
- Query for specific custom field
- Woocommerce custom field calculation
- Create a custom admin panel
- Dynamic Control in customiser
- How to auto add nofollow to links in custom field?
- How to load a mycred hook from a plugin?
- toggle Multiple Loop with tittle
- Translate custom template with WPML
- What are some good resources for teaching end-users how to use WordPress?
- How To make Custom page of every Category
- How can I resolve a .htaccess internal server error setting up a WordPress multisite?
- Is it possible to add custom badges to product attributes conditionally, based on custom field?
- Created Custom Block – When I come back to edit post/page and change my block content – Update button stays disabled
- Global theme customization multisite
- Product page not found if product data is set Appointment Service
- I want to embed mystream video in my wordpress site
- Current menu item highlights wrong
- Measure time in ONLY HOUR format
- How can error pages be customized
- Floating CTA Image Integration
- Replace an URL with an new URL which has a “?” in it
- Contact form 7 ajax response true/false based on some condtion
- Child Theme – Changing Header
- remove or hide Link Relationship (XFN) form Menus tab
- How to add custom classes to a WordPress theme HTML tag?
- Altered Media Library URLs
- Displaying Child Page’s Information
- Changing ‘Add to cart’ button text and relink for some specific products [closed]
- adding a custom time class to in theme twenty sixteen
- Query 1 custom post type, each day, alphabetically
- Admin menu disable new/delete page
- ‘str_replace’ and ‘strtr’ not working inside plugin
- SAving PHP in custom wordpress option field
- Does WordPress support template resources/custom fields
- Change default “Apply Changes To” radio option when editing images
- How to loop through 1 CPT with 2 Taxonomies
- Edit a custom admin page
- If I delete my wordpress site then does that delete all my sites?
- Remove Twenty Twelve themes responsiveness in Internet Explorer
- retrieve theme custom settings
- Looking for a way to take readers to random post when clicking a link
- pull custom fields values from wp-database in a nested foreach loop
- Cannot upload to S3 using CDN Sync Tool
- Custom Import with taxonomies
- Customise default site setup
- Adding a third custom taxonomies
- Custom CSS File wont work on second Page
- How to create a shortcode with HTML code in it and custom parameters/
- Very Simple Geo targeting
- Consolidate ‘add-to-cart’ buttons into one ‘add-all-to-cart’ button
- Update to WordPress 4.9.2, but have heavily customized theme
- Storing form data into wordpress database [closed]
- Custom Search on media files PDF images pages posts