Hi @Raj Sekharan:
If I understand your question lets say you have three (3) subdomains on your multisite and you only want to debug the first?
If yes then it’s a simply matter of adding the following to your /wp-config.php
file:
if ($_SERVER['HTTP_HOST']=='foo.example.com')
define('WP_DEBUG', true);
else
define('WP_DEBUG', false);
Or if you are a fan of terse coding you can just do it like this:
define('WP_DEBUG', $_SERVER['HTTP_HOST']=='foo.example.com');
Related Posts:
- restore_current_blog() vs switch_to_blog()
- How to get blog name, when using WordPress Multisite
- Which asset URLs are acceptable in a “vanilla” MU install?
- Using MAMP and Xip.io to view a WordPress Multisite on a local network
- How to make a newly registered site on multisite network “live” only when the user is ready
- Generate a user list per site to communicate upgrade plans
- Get all terms inside a specific taxonomy in a multisite
- Adding capabilities to super admins
- New Multisite Network: redirected you too many times
- Getting a blog language (site “lang_id” field vs the WPLANG setting)
- wp-admin slow in multisite
- Multiple Domains and Subdomains Using Multisite Installation
- Protect Uploads in Multisite
- Subdomain multisite gives 404 on sub sites
- Add New Sub Site from the WordPress back end then in sub site options table option_value must be with https
- Global Parent theme for all sites
- WordPress Multisite – is it possible to put the main site in a subdirectory?
- W3 Total Cache – How to disable “Performance” menu under multisite? [closed]
- How to clone and locally run a network for testing
- the blog owner multisite
- Multisite without .htaccess
- How to prevent first post and first comment on WP MU?
- Multisite installation on IIS gives 404 trying to access the admin dashboard
- Is Partial SSL Possible? ( multisite )
- In Multisite “Sites” list, what do “deactivate” and “archive” really do?
- How to properly force https and www on multisite with Apache HTAccess
- How to Rename wp-login.php for Multisite?
- Why does the My Site dropdown show only a single domain?
- Does WordPress MultiSite use separate MySql databases?
- Performance on WPMS
- Display site administrator’s id by current blog id inside link
- SELinux security vs WordPress updates
- Installed domain-based Multisite but can’t access wp-admin (redirect loop)
- WordPress Multisite Strange Redirect on Primary Site
- Switch MultiSite main site with another (multilingual sites) – with subfolder – no subdomain
- WordPress Multisite’s in subdirectory not redirecting to dashboard settings
- Multisite: How can I have the admin bar (toolbar) use the language of the user instead of the language of the sub-site being viewed?
- My Media Library is broken across all my subsites
- How to host unrelated pages on WordPress domain
- Updated to version 3.8 and Admin pages are very slow. How to diagnose problem? [closed]
- Multisite install on subdomain w/ subdomains change siteURL
- Make uploads live outside of the WP folder
- Multi-Site Subfolder User Permission Issue
- Programmatically Add Item to WP Multisite Menus
- why there is a large file named core in wpmu’s directory?
- How Can I Change The Name Of My Subdomain in WordPress Multisite
- WordPress multi-site, developing locally and syncing live changes
- wp_get_attachment_image_src on multisite
- Problem with parked domain for my mutisite
- Error : Cookies are blocked or not supported by your browser
- How To Run Multiple Multi-Site Networks On Same Box [closed]
- Changed sub-site to its own domain trigger 302 redirects for all page links
- Multisite – big hosting package or several hosting packages?
- Multiple Websites that share some content types and not others
- Solving a get_user_meta() problem in Multisite
- In Multisite the users profile picture keeps disappearing for “the other site”
- How to use the sunrise.php script for Multisite network domain mapping?
- Page Builders and WP Multisite
- How to pull data from child installation to parent theme
- Which is the correct way to migrate content from single WP to WP multisite
- How to have one installation at blog.example.com and multiple blogs in sub folders such as blog.example.com/userA?
- Is a multisite install what I need?
- Infamous admin login redirect
- Website not listed under Sites (in a Network environment)
- Running hundreds of WP in multisite
- get_site_option / update_site_option – the main site and sub sites do not share the same storage
- Create link preview for theme wordpress
- Bitnami multisite change URL of secondary blog
- Language per user role, how can I achieve this?
- Can I use the main Multisite as a backend only?
- Number of total comment does not tally with the number of comment?
- Domain not redirected correctly with WordPress Multisite
- No debug log for WP multisite is created
- Subsites in Multisite throw 404 in wp-admin
- WordPress theme to support single website but with 3 sections for 3 languages
- Can assign a new domain to a site in a multisite?
- Possible to have duplicate usernames on different two multisites
- Main site media are accessible in subsite domain
- Update siteurl and home in multisite subsites to https
- WordPress multi-domain with multiple sites with multiple languages
- Including non-wordpress pages within a single multisite domain
- Domain level problem for multisite?
- How can I import posts into different wordpress multisites at once?
- Redirect www.mainsite.com/subsite/wp-login to www.mainsite.com/wp-login
- Activation of new Registered site fails on multisite
- Migrate site from WordPress multisite to another WordPress multisite
- How to login a user with wp_set_auth_cookie on a specific blog within a multisite environment
- Split a Multisite Into Single WordPress Websites
- How does adding custom meta to signup form work?
- Can’t un-archive site after upgrading to WordPress 3.8
- How to handle responsive and non responsive websites in one WordPress Theme?
- Is it possible to put a site other than #1 as a Multisite top-level domain?
- Should I go for Multisite or separate WP Installation?
- Cookies in Multisite network where sites have their own domain name?
- Swap domains of two sites with each other in multisite
- Many big issues in the website, WP_Debug not showing
- wordpress multisite with already existing subdomain
- Why the sites dropdown in multi-site installation is different from the list of sites when seen full page?
- WPML is blocking WP core update
- Multisite: Redirect a deleted site – Best practice?