• Home
  • WP tuts
  • Hosting talk
    • Free hosting
    • Cheap Hosting
    • comparison cloud , vps, shared, wordpress
    • managed wordpress hosting
    • managed cloud hosting
  • Speed up wordpress
  • Pc world
  • Services
  • About Me

RAaz Kumar .com

wordpress tutorials seo hosting etc

change wordpress site url

 

you can change WordPress domain name by two easy ways.

change WordPress site url From WordPress dashboard

  1. WordPress dashboard>>general settings>> WordPress site Address & Site URL Replace with New domain.
  2. Then Theme & some installed files with Old domain May load perfectly. then Login to WordPress dashboard again.
  3. install better search replace plugin and replace the old domain with the new domain but carefully because you cannot revert back.
  4. Now your New website loads perfectly.

change WordPress site URL PHPMyAdmin or database

You may also change WordPress site URL from phpmyadmin. if you unable to login to WordPress dashboard.

Databse>>wp-options table>> site address first line>> change it to your new domain.

 

 

You can also change domain name wp-config.php

add this code above that’s al;l stop editing.

 

If you theme components not loading then add the below to your active theme function.php

 

or you can activate new and reactivate existing one can also helps to fix the problem.

 

define(‘WP_HOME’,’http://employmentnewsdaily.in’);
define(‘WP_SITEURL’,’http://employmentnewsdaily.in’);

and theme functions php

<?php
update_option(‘siteurl’,’http://example.com’);
update_option(‘home’,’http://example.com’);
?>

 

you have to remove it once it worked properly.

Troubleshooting  redirect loops by .htaccess

 

WordPress URL  Apache 301 redirection Rule

.htraccess looks like

http to https

RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ https://yourdomain.com/$1 [R,L]

 

  1. NOTE: this cause redirect loops.
  2. replace with yourdomain.com.
  3. on previous website directory, Add a 301  redirect code in haccess
  4. simple code Redirect 301 / https://ur.com
  5. wildcard redirect
  6. Use Permalink finder Plugin wf wildcard redirection not works.
  7. Install better search replace Plugin: to change old URL to New URL In database:
  8. Remove w3total cache plugin define in wp-config.php
  9. more details on WordPress .

Change site Address In Webmaster Tools/console

 

Site>>Settings>>chagesite Address>> check for 301 redirection and apply changes.

is this really helpful or not.

 

Change WordPress URL & 301 Redirection Nginx

WP UR Change at cloud Server with Nginx

WordPress dashboard>>general settings>> WordPress site Address & Site URL

301

301 Redirection use in the same file

server {

listen 80;

server_name www.domain.comdomain.com;

return 301 http://NewDomain.Com$request_uri;

}

  1. internal links change  with Better search replace plugin

 

really need to care when replacing DB
we cannot revert changes unless backup.

 

 

 

Related topics:

  1. 301 & 302 Redirection in nginx, Htacess, wordpress etc Redirect URL & Domain SEO Friendly
  2. blogger to wordpress migration in 3 simple steps
  3. wordpress plugins that slow down your site and its alternatives
  4. how i recovered hacked website site 5 times ft wordpress?
  5. Change / Add / Disable favicon in wordpress Ft Genesis Theme or any theme

Ask a Question: Cancel reply

Your email address will not be published. Required fields are marked *

16 − 16 =




wordpress tutorials for beginners advanced complete guide to run WordPress

  • Optimize css delivery inline critical css, remove unused css, render blocking css
  • Top 3+ Wordpress Security Plugins 2020 (Brute force, Login lockdown, Malware scanner etc)
  • website cache best caching plugins wordpress w3tc cloudflare
  • How to add adsense amp ads to wordpress
  • wordpress password reset in 3 ways mail, phpmyadmin, mysql command
  • how i recovered hacked website site 5 times ft wordpress?
  • enable browser caching in wordpress apache nginx caching headers explained
  • W3TC w3 total cache plugin setup guide review comparison with wp rocket and wp super cache
  • Wordpress database optimization (don't neglect) plugins & phpmyadmin manually
  • install wordpress via command line apache nginx ubuntu debian
  • Converting WordPress into static website speed after 1 second dynamic 3 seconds
  • Wordpress errors and fix
  • Rules to get 100/100 in Google pagespeed insights score
  • Install xamp & wordpress on localhost windows
  • Change / Add / Disable favicon in wordpress Ft Genesis Theme or any theme
  • recommended php memory limit for wordpress (which one) 40MB , 64 MB 128 MB or 512 MB maybe 1024MB
  • wp cron job check working or not disable enable change schedule
  • Speed up wordpress Score on Google pagespeed 2020
  • change wordpress site url
  • Reduce the impact of third-party code ,optimize JS delivery, Minify, remove unused js, pre connect, inline, lazy load etc
  • combine rss feeds wordpress
  • how to increase wordpress memory & file upload size
  • Wordpress duplicate thin content Issues {FIXED}
  • How to use wordpress tags and categories
  • wordpress plugins that slow down your site and its alternatives
  • Auto post to Facebook, twitter, Google Plus Wordpress Posts 2019
  • all in one seo pack vs yoast seo pressor
  • TOP 5 Best wordpress comment plugins 2020 (disable pingback, replytocom, customize form)
  • How to bulk delete in wordpress posts, pages, Media Images, tags and categories
  • Social share buttons for website Wordpress Blogger
  • Wordpress Adsense Plugins & Manually
  • TOP 10 Wordpress Themes Premium/ Free & providers
  • best wordpress plugins social, seo, Backup, speed up your blog

About

 

raaz kumar comI am Raaz Kumar, Most Of the time in a day , I Spend on WordPress, Hosting, Server related issues, So i decided write clean posts from my personal notes, so it will be useful for every one like me. Read More,,

Please Support my work by sharing, it can helps to create free content like this.

Twitter

Facebook

Youtube

 

PUBG Mobile Tips & Tricks

free fire how to play (a-z guide) guns, tips &#038; tricks etc

Windows 10 tips & tricks

Pagespeed optimization

Pc building tips & tricks

nginx server tutorials

apache server tutorials

linux sysadmin tutorials

mysql Commands list pdf

Android studio tutorials

Gaming/ streaming tips

Airtel dth channel list

 

wordpress

 

Top 5  WP Google Analytics Plugins

WP Backup Plugins

Wp Comment Plugins

Top wordpress Security Plugins

WP Seo Plugins

WP Caching Plugins

Best Adsense Plugins for WordPress

Wp social Sharing Plugins

autoshare social media plugins

WP speed Optimization Plugins

Speedup WordPress google Score

More Wp tuts

Server Admin Cloud

 

Installing Nginx LEMP On ubuntu

Installing apache Lamp ubuntu

nginx fastcgi cache enable

php – fpm install  & Configuration

Opcache install & Configure

php -fpm pool manager explained

Mysql Install & Configuration

Redis Object cache install & configure

 

Nginx as Reverse Proxy and Load balancer

Load Balance / auto scaling in google cloud

Linux Commands PDF

Mysql Commands Pdf

Letsencrypt tutorial

mysqldump export & import 

Pagespeed Module install & configure

nginx.conf best file

mysql.conf best file

upgrade ubuntu

© 2021 - All Rights Reserved Disclaimer & Privacy Policy