Magnus solved the issue by resetting the wp_home
and wp_site_url
options via the following code in wp-config.php
:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
Thanks to denis.stoyanov’s tip about the Moving WordPress Codex entry.
Related Posts:
- Why is it important to deactivate a plugin before deleting it?
- Does the number of downloads displayed for a plug-in in the WordPress.org plug-in directory include automatic updates?
- How to get the active theme’s slug?
- Membership / subscription plugins – alternatives [closed]
- Using plural-only translation of register_post_status() in plugin
- admin-ajax returning 400 error when request is made with Fetch API
- Function to activate WordPress theme inside a plugin
- How do I retrieve a list of popular plugins using the WordPress.org Plugin API?
- Removing blank spaces from scripts to reducing page load time
- Edit Imported advanced Custom Fields from wordpress Dashboard
- Restrict access and display for categories
- What is the correct way to check if WP_Filesystem can write to a directory without aking for username / password?
- Manually Removing Plugins
- Change My Basket text in the header of WooCommerce Artificer theme
- ACF for audio url in wordpress audio shortcode
- Built in admin ajax hooks?
- recommended breadcrumb plugins with possibility for hiding “Home” link [closed]
- dequeue not work
- Manually installed plugin doesn’t show up
- Could someone please help me to add category id with in this query so this will return posts from a certain category?
- Adding a section to admin menu for global settings
- what the hook for displaying course list page for learndash plugin? [closed]
- Copyright messages for a particular set of pages
- Feature Differences between WordPress.com and Hosting on your Own Server?
- building plugin and it is displaying above plugins page
- More than one text-domain is being used because of the included templates for plugins
- plugin development: problem with functions
- How to determine if a plugin affects your file-system
- View Private Published Page with URL Code (no login required)
- Why does my functions.php cause white-screen and media-library issues?
- Solutions to repost categories into multisite blogs?
- How can I force users to a particular subdomain to log in for MU (Multisite)?
- Why WordPress plugin url ajax doesn’t work?
- Added slug after URL permalink last slash returns different content
- How to escape the tailwindcss responsive syntax when using with contact form 7? [closed]
- Send reply with pre-prepared answers
- Using Wishlist Member and I need to access a user’s status
- $wpdb->get_row returns column name instead of column value
- How to get DEFER or ASYNC attribute to appear when I add a stylesheet with wp_enqueue_style from a plugin? [duplicate]
- Remove ‘Check Compatibility’ from Plugins menu
- Excluding private/protected posts via IP
- Some one is trying to hack my website, Need guidance [closed]
- WordPress premium theme development [duplicate]
- Mass SQL WordPress Meta Key deletion
- Gathering and logging data from a plugin: how to do it without race conditions?
- How to pass the API key to the client from the database? [closed]
- order posts by `meta_key`, Does not display posts that does not have `meta_key`
- How do I make a secure API call from a shortcode when a button is clicked?
- Modify page title and subtitle with a plugin
- Ambrosite Next/Previous Post Link Plus or WP next_post_link to cycle through top level category
- How to add options to the plugin page?
- Odd /wp-admin/admin-ajax.php entries showing in Wassup
- wp-mail attachment is not sent for no reason?
- Plugin has added weird data in wp_options, set to autoload
- Setting Email locale before retrieving gettext translations
- how to execute some code after a post is published in WordPress [duplicate]
- Plugin to reformat the post automatically after submitting
- Submit plugin for review
- I can’t change permalink in WordPress 4.5.3
- WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version [closed]
- Woocommerce product info in a sidebar?
- output the debug lines to the end of the page
- Localise settings section headline
- Plugin to create unlimited custom shortcodes?
- wp_options not returning value for logged out users?
- Gutenberg default attributes are empty when accessing in edit
- how to create a custom page in child theme or plugin?
- How to add custom plugin data to the cart in woocommerce using custom button on product page?
- How can I display selected content from a seperate database in an Activity style widget?
- Warning: call_user_func_array() expects parameter 1 to be a valid callback, function
- Hide all Admin Notices and move on a separate page
- Allowed memory size of 134217728 … wp-includes/wp-db.php on line 1989
- Front Page of Site Has Gone Replaced By Random Page
- Genesis Child Theme – Customize body
- Creating categories while importing via CSV
- Multiple wordpress installations with same plugin folder (Apache Virtualhost)
- Website content not displayed anymore after updates
- Flexslider empty slide
- WordPress plugin changes not updating
- How to Save settings of custom tab product page in admin side in a database?
- Issue: CSV file upload works only when “View page source” is done
- Meta box: Undefined index
- How to update plugins in a distributed wordpress scenario?
- Shortcode registered from a plugin not recognized
- How to submit readme.txt file in wordpress directory
- wordpress shortcode A executing code from shortcode B
- Plugin for Reading Documents, PDF’s etc
- Simple Data Table Update and Page Integration
- How to add a box for list items?
- wp_update_post call really slow when official Facebook plugin is installed
- How to create plugin list groups?
- Show latest and related articles from 3 different blogs
- Woocommerce custom fields
- This plugin throws error on the events page only [closed]
- PHP if url extension action=discussion condition use [closed]
- Is it possible to set different payment gateway on each Gravity Forms form? [closed]
- Create Custom Coupon Type
- Text Wrapping in WPDataTables
- how to show selected options drop down menu values in attributes field in after saving post.php
- Buffered output in chunks and shortcode – how do I achieve that?