Trending March 2024 # How To Fix WordPress Showing Localhost Ip Address For Comments # Suggested April 2024 # Top 4 Popular

You are reading the article How To Fix WordPress Showing Localhost Ip Address For Comments updated in March 2024 on the website We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested April 2024 How To Fix WordPress Showing Localhost Ip Address For Comments

Instead, WordPress displays the localhost IP address

Fix an Incorrect IP Address in WordPress

Note: before editing any file in WordPress, please create a good backup of that chúng tôi backup helps you restore the file in the event of any mishaps.

The easiest way to solve this problem is by adding a simple code snippet to the “wp-config.php” file. To do that open your FTP client, log into your website’s FTP account and open the chúng tôi file.

Once the file has been opened, copy the below code snippet and paste it at the bottom of the file. Next, save the file and re-upload it.

// Code for showing correct client IP address


































What’s Happening With that Code Snippet?

When your WordPress website is behind an HTTP proxy or using a load balancer, an HTTP header called “X-Forwarded-For” is used to store all the IP addresses including the real client IP address in the chain.

By default, the IP addresses in the “X-Forwarded-For” HTTP header are comma separated and the first IP address in the chain is always the client IP address.

What we are doing with the above code snippet is taking all those IP addresses, exploding them into individual pieces and storing them in the $mte_xffaddrs array. Since the first IP address is related to the client, we can use the zero index and point it to REMOTE_ADDR within the $_SERVER array.

Fix Incorrect IP Address in WordPress Using Plugin

If you don’t want to mess with core WordPress files, then you can use a plugin called Proxy Real IP. Though the plugin hasn’t been updated in a long while, it is still functional. The plugin basically does the same thing as the above code. However, the plugin uses the preg_match function rather than the explode function.

Just install and activate the plugin like any other. There is no settings page or options to configure.

Fix Incorrect IP When Using Cloudflare

When you are behind a proxy like Cloudflare, WordPress may sometimes show the Cloudflare IP rather than the actual client IP or even the localhost IP.

There is an easy fix for this issue, too. Just paste the below code at the bottom of the chúng tôi file.

// Fix incorrect IP when using Cloudflare






















With the above code we are grabbing the real client IP using HTTP_CF_CONNECTING_IP and pointing REMOTE_ADDR to that IP address.

Vamsi Krishna

Vamsi is a tech and WordPress geek who enjoys writing how-to guides and messing with his computer and software in general. When not writing for MTE, he writes for he shares tips, tricks, and lifehacks on his own blog Stugon.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

You're reading How To Fix WordPress Showing Localhost Ip Address For Comments

Can’t Obtain An Ip Address On Ps5? 2 Quick Ways To Fix This

Can’t obtain an IP address on PS5? 2 Quick Ways to Fix This Often, DNS misconfiguration will lead to this issue






To fix Windows PC system issues, you will need a dedicated tool

Fortect is a tool that does not simply cleans up your PC, but has a repository with several millions of Windows System files stored in their initial version. When your PC encounters a problem, Fortect will fix it for you, by replacing bad files with fresh versions. To fix your current PC issue, here are the steps you need to take:

Download Fortect and install it on your PC.

Start the tool’s scanning process to look for corrupt files that are the source of your problem

Fortect has been downloaded by


readers this month.

Many of our readers have complained about struggling to connect their PS5 console to an internet connection like Wi-Fi or Ethernet network. They report the error indicating the PS5 console can’t obtain an IP address within the time limit. However, this article will discuss basic steps to fix the issue.

Alternatively, our readers may be interested in our guide on how to fix the CE-112840-6 error on PS5.

Why is my PlayStation failing to obtain an IP address?

Several factors may be responsible for the PlayStation5 not obtaining an IP address for the internet connection. Some notable ones are:

Router connection issues – The most common cause of the PS5 console failing to obtain an IP address is a faulty or unstable router. An outdated router firmware can cause your network connection to fail due to bugs and compromised components.

DNS error – The error may occur if the DNS server running on the console is not working. It can be because the DNS settings are not correctly configured, causing PS5 to fail to resolve the IP address from the server or requested resources.

Issues with PS5 console network settings – You may experience internet issues if your console’s network configuration impedes its connection to network devices like routers and Ethernet. Hence, it causes the PS5 redirect error, preventing it from obtaining any IP address.

Nonetheless, you can fix the problem by troubleshooting your network device and the PS5 console.

What can I do if my PlayStation fails to obtain IP address?

Reconnect the console to the network device.

Restart the PS5 console and check if the problem persists.

Power cycle your Router or Modem.

Check for Router Firmware updates – Using the router for a long time can cause its firmware to become outdated and infected with bugs. You can read our article on router Firmware updates for more steps.

If you can’t resolve the error, proceed with the solutions below:

1. Change PS5 console DNS Settings

Changing the PS5 DNS server’s configuration allows it to quickly translate the web addresses and read IP addresses.

2. Run a Network test on the PS5 console

Testing the internet connection will resolve issues with the communication modules impeding the console from obtaining an address.

Check how to test internet speed for more detailed steps.

Additionally, you can read about what to do if you can’t sign in to the PlayStation Network account. Also, we have a comprehensive article about how to change the region on the PS4 console.

Still experiencing issues?

Was this page helpful?


Start a conversation

How To Track The Original Location Of An Email Via Its Ip Address

You’ve received an email and you want to figure out where it came from. At first glance, it seems impossible. There’s just an email address and that could have come from anywhere in the world. There’s no stamp, postage mark, or return street address like letter mail.

Email does have similar features to letter mail that most of us never see. One of them is an IP address that’s sort of like a street address. The challenge is to track an IP address from an email. 

Table of Contents

Let’s look at how to view and read an email header first. This is also a good way to tell if an email is fake, spoofed, or spam.

How To Read An Email Header

With every email, there is an email header. Think of this as a sort of envelope that travels with the mail. It has the sender and recipient information, as well as information picked up along the way. It’s not obvious that the header is there and it can be difficult to read.

How To View An Email Header In Gmail

On the page that opens, you’ll see the plain text version of the email at the bottom. All the odd text up to where the email content begins is the header.

How To View An Email Header In Yahoo Mail

The window that opens will have the plain text version of the email. Everything right up to the body of the message is the header.

The Message details window will open, showing only the header of the email.

How To View An Email Header In Outlook

Look at the bottom part of the Properties window when it opens, for the Internet headers section. The text in the box is the header.

How To Read An Email Header

The easiest way to read an email header is to use an online header analyzer. Some choices include Google’s GSuite Toolbox Messageheader or MX Toolbox’s header analyzer. We’ll use Google’s.

The results will be displayed in order of hops through the internet, starting at 0 for the point of origin. In the example below, the IP address has been blurred out for privacy. To track an IP address from an email, this is the IP you would use to try to find the geographical origin of the email. It might also be there as a domain name.

How To Track An IP Address Location From An Email

There are several sites on which you can perform a whois search to track down an IP address location. A whois search is a search to find out who the owner of the domain name is or the IP address. Search for one that you like, but we’ll use chúng tôi today.

The results will come back with a lot of information. The Registrant Contact section will likely list the Name, Street, City, State/Province, Postal Code, and Country of the person or company that registered the domain name or owns the IP address.

What If The Domain Is Google, Yahoo Or Outlook?

When an email is sent from a free email service like Google, Yahoo, or Outlook, it won’t carry the IP address of the sender. It’ll just show the IP or domain name of Google, Yahoo, or Outlook. Of course, that could be thousands of miles from the sender’s actual location.

Check The Email Domain Name Turn A Domain Name Into An IP Address

What if you have a domain name but no website to check? And the whois search hides their actual location? Try turning the domain name into an IP address and doing a whois search on that.

Open the Windows Command Prompt.

What If I Still Can’t Find The Location?

Trying to track an IP address from an email is detective work. Work being the important part of that phrase. How much work you put into it depends on how much you want to know where the email came from. 

Keep trying different combinations of what we’ve gone through. Try different email header sites and whois search sites. Try just searching the entire email address and see if it’s associated with someone’s profile on a website. That might have their location. Maybe you’ll find a post from it in a forum. Sometimes forums will show what country a person is from. Get creative, you’re the detective!

How To Fix The WordPress 5.5 Jquery Problem

WordPress 5.5 is largely a success. But there have been numerous conflicts from themes and plugins that caused sites to break. Arguably the biggest issue stems from WordPress’ decision to remove the outdated jQuery Migrate.

The first step of the process of modernizing WordPress was removing the jQuery Migrate 1.x in WordPress 5.5. And that’s what is causing some sites to break.

Some WordPress themes and plugins are using older jQuery scripts, which is causing a range of problems.

According to WordPress page for the jQuery Migrate Helper:

“With the update to WordPress 5.5, a migration tool known as jquery-migrate will no longer be enabled by default.

This may lead to unexpected behaviors in some themes or plugins who run older code.”

As of this writing, over 80,000 WordPress publishers have downloaded the WordPress plugin in order to stop the “unexpected behaviors” of WordPress 5.5.

Over 2,000 Plugins with jQuery Conflicts

According to a post on WordPress, a search of the plugin directory that was conducted two weeks ago discovered over 2,000 plugins that had conflicts.

According to a WordPress Core Committer who did the research:

“This results in ~2400 plugins with the potential to break when jQuery Migrate is disabled upon upgrading to 5.5.”

That list was created two weeks ago. The amount of plugins that have issues should by now be smaller.

Over 200 Themes with Conflicts

The list also discovered over 200 themes that broke.

“For themes these changes to the search bring the results from ~2600 themes to ~250 themes, with only 5 having more than 10k active installs.”

Some people may be experiencing issues with their themes because of outdated code. But some of those problems are because of plugins that are bundled with those themes. For example, premium page builder plugins and slider plugins are routinely bundled with some themes. But because they’re premium, they won’t necessarily get updated to the latest version, depending on your software license.

If upgrading to the latest version of a theme doesn’t solve your problem, you can install the WordPress Enable jQuery Migrate Helper in order to restore functionality.

But be warned that this is only a temporary solution. It may be helpful to troubleshoot your site to identify what functionality is causing the issue. Once the function is identified, you may be able to download an up to date replacement plugin to handle that broken function.

Keep reading to understand more about troubleshooting.

How to Troubleshoot WordPress 5.5 Update

Here’s a screenshot of what an error would look like:

If you want more tips on how to troubleshoot a JavaScript error in WordPress, scroll to the bottom of this article to the Citations section for an official WordPress tutorial.

Common Issues After Upgrading to WordPress 5.5

Some of the problems are so bad that some publishers can’t log back in.

Many of the issues some publishers are experiencing after updating to WordPress 5.5 are related to losing site functionality.

WordPress 5.5 Update Problems

These are just some of the problems users are experiencing

How to Fix WordPress 5.5 jQuery Problem

WordPress has released a plugin that restores the jQuery Migrate library. Installing this plugin will cause your site to work again. But…

The plugin does not actually fix what is wrong with your site.

What the plugin does is makes your site work again. But it does not fix what is wrong with the site.

What is wrong with the site is an outdated plugin or theme. If your image slider isn’t working, then the problem is probably image slider plugin. Updating that plugin is a solution.

But if there is no update for the plugin that needs to be updated, then you’re probably using an abandoned plugin. An abandoned plugin is generally one that hasn’t been updated in a long time.

What constitutes a “long time” is not clear cut because some plugins don’t need to be updated that often.

Most plugin developers are improving their software. So, in general, if a plugin hasn’t been updated in a year or more, it’s probably somewhat abandoned.

It’s best to stop using that plugin. Abandoned plugins can become security issues.

In the case of an abandoned plugin, it’s a good idea to find a more actively maintained plugin that does the same thing.

The plugin that you need to restore functionality to your WordPress site is called, Enable jQuery Migrate Helper. You can download it here.

Enable jQuery Migrate Helper plugin is not fix for what broke during the WordPress 5.5 update. It’s just a way to restore functionality.

It’s important to take the next step of diagnosing what is broken and fixing the actual problem.

Once the plugin or theme is repaired, you will be in a better place in terms of security and user experience for your site visitors.


Mapped Drive Not Showing? Here’s How To Fix It

Mapped Drives are great options to link a folder to a drive or share resources on a domain. However, in some scenarios, they may not show up. Most people have encountered this issue while using Group Policy Preferences or logon scripts to create mapped drives if UAC is enabled.

The reason for the issue is how the UAC treats your Administrators user group. If you use an elevated process to create the drive, your system only makes it available to full admin users. However, when UAC is enabled, your system treats the Admin user as a standard user only, unless you are using an elevated process.

The methods we mentioned earlier all use elevated processes to create the mapped drives, so they don’t show up in your explorer, which you can’t run as admin by default. Similarly, mapped drives you create from non-admin methods don’t show up in elevated processes.

There are also other few possible reasons for mapped drives not showing. In this article, we provide the solutions for all the causes of the issue.

Here are the main reasons for mapped drives not showing on your PC:

Design issue due to UAC providing standard access token instead of an administrator token to unelevated process.

Mapping drive with the same letter as a previous persistent one without removing its residual settings.

Multiple drive mapping policies that conflict with each other.

Policies that delete mapped drives running alongside policies that create them.

Improper Item-level targeting configuration.

SMB protocol disabled on your system.

First, make sure to run gpupdate /force on Command Prompt to force the group policy to apply. You can also run the gpresult /r command to check all active policies.

If you still encounter this issue, you can try out the following solutions:

Sometimes, the mapped drive doesn’t show on your File explorer. It happens in the following conditions:

You created the drive in admin mode, for example using a batch script as admin or using any app with elevated privilege.

You have enabled User Account Control (UAC).

As we mentioned earlier, this happens because UAC handles the Administrators as standard users on unelevated processes. So, you can’t see the mapped drive on File explorer.

You can temporarily resolve this issue by restarting Windows Explorer. To do so,

This method is also useful if you created the mapped drives using a standard access token (not elevated) and want to access it from elevated processes like CMD or some apps. However, keep in mind it can compromise the security of the user computers.

Regardless, here’s what you need to do:

Restart your PC and check if the mapped drives show up.

Another method you can apply is using the logon scripts while also including a postpone script provided by Microsoft.

The script runs a task scheduler after a certain amount of time has passed since the user logged in. The task scheduler runs on elevated mode so it creates the mapped drive for elevated processes.

However, even before the scheduler runs, the logon script is automatically triggered right after logging in which makes the mapped drive available to standard users.

Here’s the complete process for the method:

Open a text editor like notepad. You can enter notepad on Run to open this text editor.

Copy and Paste the following script provided by Microsoft:

‘ This sample launches the application as interactive user. ‘ A constant that specifies a registration trigger. const TriggerTypeRegistration = 7 ‘ A constant that specifies an executable action. const ActionTypeExecutable = 0 ‘ A constant that specifies the flag in RegisterTaskDefinition. const FlagTaskCreate = 2 ‘ A constant that specifies an executable action. const LogonTypeInteractive = 3 WScript.Quit End If strAppPath = WScript.Arguments(0) ‘******************************************************** ‘ Create the TaskService object. ‘******************************************************** Set service = CreateObject(“Schedule.Service”) call service.Connect() strTaskName = “Launch App As Interactive User” ‘******************************************************** ‘ Get a folder to create a task definition in. ‘******************************************************** Dim rootFolder Set rootFolder = service.GetFolder(“”) ‘Delete the task if already present On Error Resume Next call rootFolder.DeleteTask(strTaskName, 0) Err.Clear ‘******************************************************** ‘ Create the new task ‘******************************************************** Dim taskDefinition Set taskDefinition = service.NewTask(0) ‘******************************************************** ‘ Create a registration trigger. ‘******************************************************** Dim triggers Set triggers = taskDefinition.Triggers Dim trigger Set trigger = triggers.Create(TriggerTypeRegistration) ‘*********************************************************** ‘ Create the action for the task to execute. ‘*********************************************************** ‘ Add an action to the task. The action executes the app. Dim Action Set Action = taskDefinition.Actions.Create( ActionTypeExecutable ) Action.Path = strAppPath WScript.Echo “Task definition created. About to submit the task…” ‘*********************************************************** ‘ Register (create) the task. ‘*********************************************************** call rootFolder.RegisterTaskDefinition( _ strTaskName, taskDefinition, FlagTaskCreate, _ ,, LogonTypeInteractive) WScript.Echo “Task submitted.”

net use Z: /delete net use Z: "\serverAny Server"

The mapped drive also doesn’t show if you haven’t properly removed another drive with the same drive letter. It can happen if you persistently reserved the drive letter for one mapped drive and remove it improperly. So its residual settings still remain causing conflicts with the new mapped drive.

There are two ways to resolve this issue. You can either change the mapped drive to a separate drive letter or you can delete the residual settings of the previous mapping.

To change the drive letter,

To delete residual settings,

It is also possible that you created a logon script or policy to delete all mapped drives and forgot. Or you may have created more than one drive mapping policy that are overwriting each other.

So, you should go through all the policies for the GPO and remove such policies. The best way to set a group policy for mapping network drives is to tailor individual policies for separate OUs which combine all the mapped drive policies.

It’s better to use Item-level targetting on the drive mapping to set conditions and improve organization. You can use the AND, OR, IS, and IS NOT operators to set the conditions.

If you set a wrong operator, for instance, using AND instead of OR, the mapped drive won’t be available to all users or all of the mapped drive may not be available.

You need to check your Item-level targeting settings to resolve this issue. To do so,

You can also try creating a new policy, but not on the default domain. You should always create new GPOs and link them to the necessary targets while creating policies. Here’s how you can do so:

You can also try setting automatic DNS if you can’t see a mapped drive linking to a network resource. If the DNS servers or IP configuration of your system conflicts with the source computer, you may nor see the drive.

To do so,

Mapped drives use the Service Message Block (SMB) protocol, which is a network protocol that helps in file sharing. So you need to make sure to enable this protocol to prevent any issues with the mapped drives.

The latest Windows use SMB2 instead of the older SMB 1.0, so you need to check for it. Here’s how you can do so,

However, if you are using any Windows earlier than Windows 10 version 1709 or Windows Server version 1709, you need to enable SMB 1.0. To do so,

It is also possible that some buggy update is causing problems with your mapped drives. Microsoft will surely release the patches for such bugs, so you should install any updates as soon as they are available, especially cumulative updates.

If you started encountering this issue after a certain update and the previous solutions didn’t help, uninstall the latest update to roll back your system.

How To Fix Font Awesome Icons Showing As Box? – Webnots

In web development, it is common to use font icons in SVG format instead of typing symbols using escape entities. For example, Font Awesome icons are most popular due to the scalability of the icons without loosing quality. However, if you do not implement properly font awesome icons will show as box. If you have problems with font icons, check out how to fix.

Using Font Awesome Icons in Website

There are two ways to use font icons on your website. One is to use in HTML tag and other is to use CSS pseudo classes. In both methods you should link the source font awesome CSS and host the font files on your server so that proper styles can be applied to the icons. Below is an example of using font awesome in HTML:

Using Font Awesome

Check this article from official site on how to use font icons on your website. When something is missing on loading, you will see the box like below instead of the icon.

Font Icon Sow Box

Why Font Awesome Icons Showing as Box?

In order to insert a font icon on your site, you have to have the followings:

Host fonts on your server

Link correct font awesome CSS version

No conflict with old and new versions on the same site

Check correct font family

Use proper CSS class

Check font weight

Check CSS content code

Let us check out ease point in detail.

1. Host Fonts on Your Server

In order to use font awesome on your website, it is necessary to host the font files also in the same directory. All web font typefaces should be available in “/webfonts” folder and referenced in the CSS located in “/css” folder.

In most cases, the theme or plugin you use will install all necessary CSS and font files on your server. This is the case, especially when you use WordPress for your website.

2. Link Correct CSS Version

Font awesome was available for free till version 4.70. However, there are both free and pro versions available starting from version 5.0. Though version 4.70 was outdated, most free plugins and themes still uses 4.70 due to the uniform CSS class and ease of use. However, version 5.0 has brands and solid styles for free users and you can use chúng tôi to include both styles.

You can either register with font awesome site to get a CDN kit or use the CDN files available from Cloudflare.

Get Font Awesome CDN Kit

3. Conflicting CSS Versions

One of the problem we have faced with a WordPress site is that a plugin was using version 4.70 and the theme was using 5.0. This was causing the conflict due to incompatible CSS class and content codes. Therefore, make sure to use the latest version 5.0 with proper CSS source file on your site.

Font Icons Showing as Box

4. Use Correct Font Family

In order to use font awesome with CSS, you should use proper font family. Below is the kind of CSS code used in version 4.70.

font-family: “FontAwesome”; font-weight: normal; }

However, this will show a box instead of an icon with version 5.0. you should use the following CSS with versions 5.0 free version.

Therefore, make sure to use correct “Font Awesome 5 Free” font family in the CSS. In addition, if you are using social icons then the font family should be “Font Awesome 5 Brands”. These are the two font families available for free users.

5. Use Proper CSS Style Prefix

Another confusion is that version 5.0 has different CSS classes than the previous versions. On version 4.7 you can use the fa style prefix like below:

However, this will not work with version 5.0 onwards. The fa style prefix was deprecated and you should use fas for solid icons and fab for social branding icons like Facebook.

6. Check Font Weight

Font awesome version 5.0 does not support general “font-weight:normal” declaration in CSS. You should declare specific font weight for the icon to show up.

7. Check CSS Content Code

The last point is to make sure the content code used in CSS is correct. You have to use one of the available code in from the font awesome site in CSS pseudo element. In addition, ensure to use the code in the format “f00d”; to show the icon correctly.


Below is the summary of font family, font weight, style prefix and styles available for free and pro users. You have to ensure all these are correct for the icon to show up instead of a box.

StyleAvailabilityFont WeightStyle PrefixFont FamilySolidFree900fasFont Awesome 5 Free or Font Awesome 5 ProRegularPro400farFont Awesome 5 ProLightPro300falFont Awesome 5 ProDuotonePro900fadFont Awesome 5 DuotoneBrandsFree400fabFont Awesome 5 Brands

Update the detailed information about How To Fix WordPress Showing Localhost Ip Address For Comments on the website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!