Banner for Root Relative Urls
Converts all URLs to root-relative URLs for hosting the same site on multiple IPs, easier production migration and better mobile device testing. Wordpress Tutorial
Noted That:
  • To install correctly this root-relative-urls.zip .
  • Fisrt Download the root-relative-urls.zip to your computer
  • Extract/Open root-relative-urls.zip to Your Computer.
  • Then, Find readme.txt file inside root-relative-urls.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.
Start the Tips:

Step-1 : Download " root-relative-urls.zip " to Your Local Computer.

Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.

Login to Wordpress Root Relative Urls

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Root Relative Urls

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Root Relative Urls

Step-5 : Now, Browse " root-relative-urls.zip " Downloaded plugin from your computer, Where you downloaded " root-relative-urls.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Root Relative Urls

Step-6 : Now, Click on " Active Plugin "

Activate Root Relative Urls

Step-7 : Then, See left Side Menu. " Root Relative Urls " folder is added on left Side Menu. Now, Click on " Root Relative Urls " folder.

Noted that: If you do not see " Root Relative Urls " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Root Relative Urls Configurations and Settings or How to work " Root Relative Urls " in your WordPress site.

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Root Relative URLs " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Root Relative URLs
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  1. Upload the plugin to the /wp-content/plugins/ directory
  2. Add the following entries to your wp-config.php file before the “That’s all, stop editing!” comment:

    
    define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);
    define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']);
    define('WP_CONTENT_URL', '/wp-content');
    define('DOMAIN_CURRENT_SITE', $_SERVER['HTTP_HOST']);
    
  3. Activate the plugin through the ‘Plugins’ menu in WordPress Admin

  4. Save your permalink settings twice in a row (Admin > Settings > Permalinks : Save Changes) x2
  5. You’re done! Now you can happily browse and manage your site from any URL, including an IP address if you wish.

Name