Title: semiologic external-links plugin on localhost
Last modified: August 18, 2016

---

# semiologic external-links plugin on localhost

 *  [kdmurthy](https://wordpress.org/support/users/kdmurthy/)
 * (@kdmurthy)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/semiologic-external-links-plugin-on-localhost/)
 * When you are running wordpress on localhost this plugin is not working. The following
   modification to the code fixes the problem:
    Change ` if ( preg_match("/\d{1,3}\.\
   d{1,3}\.\d{1,3}\.\d{1,3}/", $_SERVER['HTTP_HOST']))  at the beginning of the 
   code to  if ( preg_match("/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/", $_SERVER['HTTP_HOST'])
   || !strpos($_SERVER['HTTP_HOST'], '.'))
 * Hope this helps.
 * Thanks and Regards
    KD

Viewing 1 replies (of 1 total)

 *  [Denis de Bernardy](https://wordpress.org/support/users/denis-de-bernardy/)
 * (@denis-de-bernardy)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/semiologic-external-links-plugin-on-localhost/#post-293954)
 * good point. thanks for the fix — it’ll be into the next version of the plugin.

Viewing 1 replies (of 1 total)

The topic ‘semiologic external-links plugin on localhost’ is closed to new replies.

## Tags

 * [external links](https://wordpress.org/support/topic-tag/external-links/)

 * 1 reply
 * 2 participants
 * Last reply from: [Denis de Bernardy](https://wordpress.org/support/users/denis-de-bernardy/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/semiologic-external-links-plugin-on-localhost/#post-293954)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
