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:
- How to maintain W3C standards compliance of a theme
- Load plugin on specific page only
- Does a plugin’s “main” file need to be named the same as the folder containing it?
- Disable plugins on cron and ajax page
- Convert WordPress pages to PDF
- Plugin or mod for wordpress to make content publication SUPER easy
- enqueue script only if it is not already enqueue
- Display (and manage) webcam images?
- Overwrite textdomain of plugins by default – Lost Translation
- jQuery plugin only in one page/post
- Google Analytics post views in WordPress? [closed]
- Custom database table for plugin not creating on activation
- Hook (upgrader_process_complete) running moment
- WordPress 3.1 and Disqus throws Warning: number_format() error in Posts List
- Is there a quick way to inject i18n domain into theme/plugin files?
- Can’t see login page after migration
- How to import 55k images (uploaded via FTP) into WordPress Media libary? [closed]
- Debugging Technique Question re: functions.php
- WooCommerce: Change default country on the cart page [closed]
- How can I list recent posts excerpts?
- Custom Taxonomy Tag Search
- An issue with SEO Ultimate
- How do I modify the position of a plugin?
- Hiding posts – WP Hide Post not working
- Add a custom form on the post-new.php admin page
- how to give a user a role?
- Scripts at the end of the page
- WSOD after upgrading to 3.1
- looking for navigation plugin (accordion) [closed]
- When using Simple Fields plugin, how do I pull the information out of the database to display on a page?
- Trouble with editing template for “List category posts” plugin
- How to use JSON data from URL into table on my wordpress website
- How to show WP addon installation path during installation?
- Replace default og:image tag YOAST
- Automatic plugin updates not working
- Fromcraft Plugin On click submit button [closed]
- A include_template Question
- How to Create a shortcode to this php function
- Trouble with very basic plugin creation
- My single.php page does not show the related data to the post which is clicked
- How to add CSS via custom plugin?
- How to add custom table style for table block in gutenberg editor
- Issues with a WP plugin menu system
- Moving a plugin js to footer
- WordPress Ajax code is not Working
- Add a “View all” button on WooCommerce product archives pages
- I am trying to make a field show and save from quickedit screen
- How do I add an options page at the bottom of the list?
- What goes into wp_postmeta and why?
- Dequeue, Unregister, Remove Action – Not Working on Plugin
- Price comparison table based on Custom Post Type?
- WordPress Update Question
- The “Child Pages Shortcode” plugin, block template
- “After file loaded” action
- Add_image_size not generating correct size
- navigation among single posts
- Is there a way to insert multiple images into a post at the same time without using a gallery?
- How to get a custom page through plugin?
- Filters on the_content with plugins, pages and shortcode
- Plugin access and Roles
- How to create a plugin page that shows XML?
- How to make WooCommerce payment method field optional?
- can’t install any wp plugins [duplicate]
- Custom Post Type same name as Category
- how to display recent post by category on home page
- How to display the custom post related blog by category?
- Overriding inline !important CSS with Javscript code snippet with media query
- WP Forms not displaying,becomming an fatal error
- Disqus comment system not show
- Accessing data from Google Cloud Datastore in WordPress site
- Login issue in WordPress
- Mobile and Tablet responsive in Elementor but not on the actual site?
- WordPress backend post update without refresh
- Warning: sprintf(): Too few arguments in nav-menu-template.php
- RSS icons have the same Alt tag. Lighthouse is failing these elements. How do I display different alt tags for each icon?
- Cant visualize protected password portfolio elements
- How to create multiple pages for PDFs
- How to fix slow comment query?
- How to Call Function From Separate WordPress Install on Same Server?
- wp meta_query meta_value compare =REGEXP delimited by space
- How to echo a plugin’s function into a template?
- How to insert variable which contain array value in wp_options table?
- How to assign plugin to top level menu?
- Login redirect to dynami url – currently using Peter’s Login Redirect
- Multiple Accounts on 1 email – Multisite
- Array to string conversion error when trying to POST multidimensional array
- Excluding CPT generated by a plugin from the loop
- WordPress Permission Problems on Ubuntu 12.04 with LAMP stack
- How to Overwrite validate_plugin function
- Form data to wordpress DB
- Is it possible to send user new password after they clicking on forgot password in word press
- Register additional wp plugin directory
- How to prevent page load on form submission
- How to display blog posts only authored by the administrator
- Send email notification when meet the condition
- how to show the data from a myqsl database in a post [closed]
- Cannot edit Sidebar in any theme in wordpress
- how to update wordpress plugin programmatically using plugin path
- How to get all scripts and styles from the header. Including those added by plugins?
- How to add links to different language versions of WordPress