For those of you without the required sql knowledge. The steps below can be used to change your main site url variable on a network installation.
Assumption:
- Windows Operating system
- MySQL Admin basic tasks
- WinGrep
Steps:
- Download mysql dump.sql of your full wordpress database
- While using wingrep find all matches for @url then replace with @newURL
- Upload the dump file with the new variables replaced
- Change your wp_config.php file to the newURL
You are done!
Related Posts:
- Does WordPress keep track of a post’s URL history and provide automatic redirects?
- Override default url for author pages?
- Multiple endpoints to same page
- Custom slug in front of search URL
- How to prevent redirection to max 2147483647 for larger values of the page query variable?
- how to add prefix to post url structor only
- Why does wordpress still strip my query var?
- Appending numbers to url do not break the link
- Hijacking the URL for filtering
- WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)
- custom htaccess rewrite rule for page
- Passing & Reading URL Parameters with URL re-writing
- How to change page URLs to “www.site.com/page” instead of “example.com/blog/page” but keep post URLs as “example.com/blog/post”?
- Add_query_arg + two times the same argument?
- WordPress 404 unless there is a space in url
- Change default URL of image attachment
- Prevent WordPress from automatically correcting URLs
- Taking a value from PHP_URL_PATH won’t work after WordPress 5.5 update
- Display content according to current URL
- Server (WordPress) redirects files that are not supposed to (using htaccess)
- add_rewrite_rule not registering on Multisite
- Change WordPress comments url / word
- How to get “extended” path info from URL in a plugin
- How to check current URL for endpoint in a template file?
- add_rewrite_rule not working for language specific characters
- Custom URL rewrite to specific page template
- Rewrite Custom Post Type URL slug
- Define orderby in url
- Alias ‘wp-content’ directory to something shorter (framework?)
- WordPress .htaccess – route other URLs to another app
- open all .docs in word online
- How to add custom variable in url without redirect?
- Adding pretty query parameters
- Changing RSS feed URL structure
- Append a query string to the end of every URL
- add_rewrite_rule fro html to another url not working
- Preserve Domain Alias
- WordPress redirects non-existing url to existing ones – how to disable
- How to rewrite url wordpress?
- How to building pretty URLs to reflect category hierarchy?
- How to build custom route by adding taxonomies to URL ? ex: www.demo.com/communities/palo-alto/
- Wildcard forward all posts and pages with few exceptions
- Help with Rewrite Rule for Custom Post Type with Query String
- A clean custom rewrite rule for weekly archives
- Right url for custom post type
- Preserve old website URL structure after migrating to WordPress
- I want to add a new tag to WordPress URL permastruct
- Add language prefix to permalinks
- How to redirect large amount of URLs?
- How to change the Author Slug from Username to Nickname and deal with Special Characters
- Per Page Permalink Structure for Page Post Type
- ReWrite rule for files of a previously standalone blog moved to network
- Rewrite /category/cars into /topics/cars
- URL renaming issue
- Removing “www” from a site URL
- Adding a query string to only one page url
- custom wordpress rewrite
- Two sets of url one content?
- How to customize sub-URLs in a wordpress website (.htaccess)
- Weird characters behind every single link and images
- How to use wp rewrite to hide form action url?
- Rewriting a date hierarchy into a ‘yyyy-mm-dd’ slug
- How to Force WWW. in Domain With WordPress MU Domain Mapping Plugin?
- URL problem: www.sitename.com/blog and www.sitename.com/learn using same WP installation
- custom url – add attachment’s id or name after post
- How do I get posts to appear at mydomain.com/blog?
- remove archive from url :: marketpress
- Make the home page’s slug visible in the browser’s URL bar
- dynamic URL rewrite
- add_rewrite_rule with optional parameters
- How to change search page url so that it still returns a page when there’s no search query specified?
- Append a parametter at first or last to a certain URL
- Allowing multiple URLs for same Post
- How to create dynamic URLs on WordPress?
- Dynamic URL with rewrite rule not working
- i want to change URL of WordPress image or rewrite in runtime
- How to Update / Change URL when Popup Modal Loads?
- Multiple permalink with and without category for same post
- Passing a variable to hyperlink text?
- Param causing 404
- url redirect none www to www
- Root-relative paths being rewritten on ‘Edit Page’ [closed]
- How to remove Base URL Duplication?
- Get custom posts by segment of the URL
- Get parameters and custom page template
- Direct Dynamic URL in root to a location within template
- Use Parent Pages for URL Structure without Landing Page
- taxonomy term in URL slug won’t forward to the correct term for custom post like it does for default categories/normal posts
- Remove Page Slug from URL
- How to create short urls for sharing and downloadable content?
- How to stop WordPress creating URLs that don’t exist
- How to put a Custom Folder under one sub-site of Multisite WP?
- Rename page URL
- WordPress post-type create url rewriting
- How to prevent URL-modification when page title contains digits only?
- How to exclude my home page from url of my internal pages?
- How do I display a friendly URL link in the frontend?
- Please give me the rewrite rules for my ugly urls
- Lost WordPress website access after changing URL [closed]
- Remove url parameter using wordpress