Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ip]

The tag has no usage guidance.

0
votes
0answers
4 views

Woocommerce IP Blocking geographical area / cities

I am looking for input, an opinion or your experience; I would like to be able to show website surfers who come across my website or woocommerce site different sites based on IP. I have an e-commerce ...
-2
votes
1answer
35 views

Detecting IP Address of someone using 'copy' function [closed]

Is it possible through WordPress (through a plugin, PHP or otherwise) to detect the IP of someone copying (ctrl+c) content on my website, and have that data sent/displayed to an admin? Appreciate ...
0
votes
0answers
18 views

IP detection for currency switching then user selection

I run an ecommerce platform which retails in 4 currencies (EUR, GBP, AUD, USD). I am currently using the pro version of Booster for Woocommerce to have a system where the user's IP is used to assign a ...
0
votes
1answer
26 views

block IP wordrpess for the next X minutes

I would like to implement same example from here, about not allow you to publish another question after 40 minutes of your first question. I have a Wordpress site and users ( register and no register)...
0
votes
1answer
34 views

Accessing WP multisite via IP instead of domain

I have a WP multisite installation protected with a firewall service which I cannot disable. Now, I need to access a particular site within the multisite installation via IP. I got the absolute path ...
1
vote
1answer
49 views

Blacklist IP After Using WordPress Plugin Detector?

I searched a website to see what some of the plugins it is using. I used: http://wppluginchecker.earthpeople.se/ Now when I visit the website, it looks like the CSS is missing. I have been told this ...
1
vote
1answer
45 views

Store brute-force IP addresses

How can I store IP addresses which try to brute-force the login section or to login too frequent too fast? I need to store all IPs, then use them in another application, sort of like a learning ...
0
votes
1answer
80 views

Is there any reason only 1 (my) IP would be added to this table using $wpdn->insert?

I'm using a small custom plugin to create a table in the database and then add a user's IP address to the table if a certain cookie exists (this cookie is set elsewhere by clicking a term acceptance ...
0
votes
0answers
15 views

Accessing WordPress website on localhost through remote ip

I have enabled port forwarding and am able to access any folder in my htdocs folder. However, as soon as I try to access any folder that has WordPress installed in it from a remote network, it changes ...
-1
votes
1answer
33 views

Log IP of users who click a button? [closed]

Is it possible to create a new database table to log the IP addresses of users who click a specific button? This is a bit above my PHP/JS skill level so I'm trying to gauge the difficulty of doing ...
0
votes
1answer
26 views

How can I run a custom shortcode function on a live site and only run if the viewer is a specific machine?

I wrote a custom shortcode function per the client's request. I got it to work on a stock version of Wordpress but now I need to test this on the live site. I am going to send the client the code and ...
0
votes
0answers
21 views

WordPress Update E-Mail shows IP instead of Domain

since a couple of days I am having some issues regarding IP and Domain of my site. My server delivers 2 images from a slider and the slider CSS file via the IP of the site, not via its domain. The ...
0
votes
1answer
45 views

Wordpress redirect users from certain countries to subpage of language version

I would like to redirect all users from certain countries e.g from http://mydomain/subpage/ to http://mydomain/en/subpage/ ... + So I would like to insert the "/en" between the domain and subpage, so ...
0
votes
1answer
285 views

Unable to properly load Wordpress Admin page

I'm trying to fix a website for a company I used to work for. It looks like the CSS has been stripped from the page (won't load in any browser, I've tried multiple), the Wordpress theme I had ...
0
votes
1answer
44 views

How to fix IP address issues after server migration

For the sake of discussion and clarity: Old ip = 12.345.6.789 New ip = 98.765.432.10 I created a development Wordpress server/site on a local virtualbox machine that had a bridged connection which ...
0
votes
1answer
79 views

IP addresses to block to stop WP auto-update?

I am trying to run Wordpress 4.7.0 inside a docker container but the auto-update pushes me to 4.7.3. Now, I am aware that to stop auto updates I'd need to append the wp-config.php file in the back-end,...
0
votes
2answers
1k views

How do I limit access to wp-admin to an IP range?

I am trying to use the .htaccess file to restrict access to the wp-admin directory to an IP range as prescribed here # Block access to wp-admin. order deny,allow allow from x.x.x.* deny from all' ...
0
votes
1answer
75 views

Show a different link based on IP

We provide access to several databases from within the our library, but outside our library users need to go through a verification step. As such we have a different link for some IPs (eg on our ...
0
votes
1answer
62 views

redirect to a child theme based on the town of Internet users in france with the verification of the ip address

How to redirect to a child theme and what is the best solution? I have a main theme and a child theme, the main theme will be intended only to the resident of my municipality and the child theme to ...
0
votes
1answer
63 views

DNS - Change Wordpress Site Name?

I'm about to make a site go live, but I realized that Wordpress assigned the website name as the IP address under settings. When I try to change it, the website errors out. When I've tried to change ...
1
vote
1answer
167 views

Restricting user login by IP address

I have a website that is login required in order for users to view the website. I have set up one user for all internal members to use to view the website, however i want to limit just that user to ...
0
votes
1answer
865 views

Using a page-template to restrict access based on IP (Frontend)

I've found this advice for restricting the access to a whole WP site via adding a function to the init hook that holds a whitelist of IP adresses. I tried to rewrite that to the condition that only ...
0
votes
1answer
72 views

Show my custom post id if a country or ip

I explain. When a user wants to see the country come my website, for example my url: my-post-example.html I would like to capture the id and display content with the template, etct I have done in ...
1
vote
1answer
769 views

Limit access to wp_admin

I'm attempting to limit access to wp_admin by IP address but I still have a few that are getting through. I have an htaccess file in my wp_admin folder with the following: # Block access to wp-admin. ...
0
votes
1answer
112 views

Block IP Addresses using Code [closed]

Is there a way (which I am sure there is) to block IP addresses using code. I want the code to be in PHP so that I can put it in my child themes function.php to use for block some IP addresses. Thanks
2
votes
1answer
591 views

Check if a user already voted [closed]

I'm writing a Wordpress poll system. I need to check if a user already voted, show him/her a message. But i dont know exactly how can i do that! One of my solutions is that to creating a table (named ...
1
vote
0answers
36 views

Dynamically update Site/Wordpress Address

Is anyone aware of a PHP method to use the linux server's currently assigned IP address as the Wordpress Address and Site Address? I'm not too worried about breaking the site, because it's ...
8
votes
1answer
3k views

IP address whitelist to update WordPress core and plugins

I'm working on a site based on a host with quite strict firewall rules. It won't allow anything running on the site to contact an external server unless its IP address is explicity whitelisted, and I ...
0
votes
0answers
703 views

Limit Search Queries per IP per Day

I have a small website keeps several pdfs, but to prevent having all of the pdfs slurped up by someone's script (and to keep track of popularity of each file), I am requiring that people enter the ...
1
vote
1answer
705 views

Display posts if specific country

I'm running a simple query that displays some posts within a custom post type. Via each post within that post type, I've added an ACF True / False checkbox. If the checkbox is ticked, I'd like that ...
0
votes
1answer
757 views

PressPi (Wordpress) Broken Layout

We have a Raspberry Pi running PressPi which is a wordpress server. Our goal is to setup a Captive Portal using dnsmasq where users who connect to the Pi using a USB WiFi adapter see the PressPi home ...
1
vote
2answers
1k views

Plugin for limiting user registration based on ip with expiry period?

Unlike most of the spammer/spambot plugins out there, which stop registrations from a known list of spam IPs and email domains, I need to stop malicious users who may try and register more than one ...
4
votes
2answers
11k views

Relative or dynamic site url possible?

I have a local Xampp wordpress installation that I am using as sort of an intranet with some people I work with. I require them to be able to access it on our LAN router -- I found that I needed to ...
0
votes
1answer
446 views

Add a mature content warning to first-time visitors

I would like to ask visitors if they are 18+ at the first visit to my blog. If they click yes, they access the blog normally and next time they will not be asked. If they click no, they access an info ...
0
votes
1answer
144 views

get_bloginfo prints IP instead of url

I just recently moved a site to another production environment and I seem to have missed some setting in the db config as a lot of the built-in functions prints the IP instead of the url. Ideas? Tried ...
3
votes
4answers
22k views

Broken CSS after changing the site URL

I have a self-hosted Wordpress blog on my home server. Previously I accessed it directly via its original IP address taken from DHCP, but now I have configured a static IP address for it. The problem ...
0
votes
1answer
139 views

Changing the site URL

Overview: I have a self-hosted WordPress installation currently without a domain. Example: http://xx.xx.xxx.xxx/~someaccountname In a few days a domain will be pointing to this installation and I'...
3
votes
1answer
163 views

How to set ipv6 address as siteurl?

I have try to set ipv6 ip address as home and site url, but it seems not work perfectly. From there: http://[2001:da8:d800:71::250]/wordpress/ (if you view the source) we see that some url, such as ...
0
votes
1answer
146 views

Limit action in comment according to IP

I've been trying to set something that might be really easy (but I never had to do this before) : add_filter('pre_comment_user_ip', 'limit_commentator'); function limit_commentator( $comment ) { $...
1
vote
1answer
283 views

Is it possible to store visitors IPs in wp_postmeta table?

Or in any of the other 11 Wordpress tables. I also need to store: submission date, name, contact number in the same table. What approach would be best? A custom table or using a standard table?
1
vote
1answer
125 views

How do I test my localhost WordPress project with VirtualBoxVM?

I'm working on a WordPress project set up with MAMP on localhost. I try testing the site on internet explorer with VirtualBoxVM by browsing to my local ip. My problem is, wp_head() outputs absolute ...
0
votes
2answers
31k views

How to access my site using IP Address? [closed]

I would like to know how to access my website using Ip address instead of domain. Like 173.252.100.16 can used to access facebook. My Website is: www.jijojose.me Server have multiple websites hosted.
5
votes
1answer
98 views

IP address character limit

my client in his template is using <?php comment_author_IP(); ?> to display IP's of comment authors. Recently he came to me with idea of limiting whole number to several characters. Final result ...
0
votes
3answers
80 views

how to move another machine or server without dealing with IP

Wordpress website for a small company. i am able to install wordpress in IIS server. my doubt is when installing , i am giving the ip address as "192.168.0.101:87".Everything works fine.I created ...
0
votes
2answers
6k views

Redirect user based on his language and country using WPML [closed]

I am using WPML as a languages solution in my blog (in my case it's English and Spanish) I would like to know if there is a simple way of detecting where is a user coming from (which country.. I ...
1
vote
2answers
719 views

Is it possible to get the currently logged in admin's IP?

Given a wordpress (3.4.x) install that only has 1 admin, how would I grab, from within a plugin, the IP of the currently logged in admin, if there is an admin logged in? In other words: I need to ...
1
vote
1answer
284 views

How can I hide the IP of registered commentators?

There is already a related question at How do I turn off wordpress comments ability to capture a users ip address? But is there a solution to do it for users/mods/admins only? So that normal ...
0
votes
1answer
3k views

Path Issue - Getting “localhost” instead the IP

Okay, currently I'm trying my WP Theme/Plugin development on LAN so that it can be accessed with multiple devices. What I noticed recently is that the way I include the CSS files makes them not to ...
-1
votes
1answer
145 views

Test for IP in Array Always Fails on First IP

I'm working on a IP restriction plugin but having a strange problem. I have a textarea in the settings page where each of the IP addresses that should be allowed are entered, one per line. I'm then ...
1
vote
1answer
544 views

Restricting access to a single MultiSite site based on IP — possible?

I have need to restrict not just admin access but also access to the content stored on a single site in a MultiSite network based upon a user's IP address. Is this even possible? Is there an easily ...