{"id":2978,"date":"2017-07-08T18:01:03","date_gmt":"2017-07-08T16:01:03","guid":{"rendered":"http:\/\/meteotemplate.com\/blog\/?p=2978"},"modified":"2017-07-08T18:02:02","modified_gmt":"2017-07-08T16:02:02","slug":"meteotemplate-15-0-new-feature-ip-restriction","status":"publish","type":"post","link":"https:\/\/meteotemplate.com\/blog\/?p=2978","title":{"rendered":"Meteotemplate 15.0 &#8211; New Feature &#8211; IP restriction"},"content":{"rendered":"<p>Hi guys,<\/p>\n<p>in the few upcoming posts I will just briefly explain some of the new features. So far the update seems to be working fine so I issued tokens to everyone who has asked for one.<\/p>\n<p>First thing I want to talk about is the new IP restriction feature.<\/p>\n<p>In the Main settings you can now specify a particular IP(s) or IP range(s) and then, it will only be possible to log in as admin from those IP addresses. This should further enhance the security, however, use this with caution.<\/p>\n<p>First, make sure your internet provider does not often change your IP. If so, then make sure you use a range instead of a particular IP. And if your IP changes often and there is no pattern in it, then unfortunately you must leave this disabled.<\/p>\n<p>Likewise, in case you enable this and need help from me in the future, if I ask you for the admin password because I need to check something, you will also need to temporarily disable this so that I can get in as well.<\/p>\n<p>Last but not least, an obvious question:<\/p>\n<p>What do I do if my IP does not match the one specified in the Main settings and I cannot change it because I cannot get in at all?<\/p>\n<p>The solution in this case is to use an FTP client, download the config.php in your template root folder and then look for a parameter enableAdminIP, you will surely find it and just change it from &#8220;true&#8221; to &#8220;false&#8221;. Then upload it back replacing the original config.php and log in using your admin password and do whatever change you need to in the Main settings.<\/p>\n<p>Please note &#8211; as mentioned before this is not essential, if you use different admin and update password, and it is a strong one, you should be fine.<\/p>\n<div style=\"min-height: 30px;display: inline-block;\"><input id=\"2978\" style=\"float: right;max-width: 50px;\" src=\"https:\/\/meteotemplate.com\/blog\/wp-content\/plugins\/wp-advanced-pdf\/asset\/images\/pdf.png\" alt=\"#TB_inline?height=230&amp;width=400&amp;inlineId=examplePopup1\" title=\"Export pdf to your Email\" class=\"thickbox export-pdf\" type=\"image\" value=\"Export to PDF\" \/><\/div>","protected":false},"excerpt":{"rendered":"<p>Hi guys, in the few upcoming posts I will just briefly explain some of the new features. So far the update seems to be working fine so I issued tokens to everyone who has asked for one. First thing I want to talk about is the new IP restriction feature. In the Main settings you &#8230; <a title=\"Meteotemplate 15.0 &#8211; New Feature &#8211; IP restriction\" class=\"read-more\" href=\"https:\/\/meteotemplate.com\/blog\/?p=2978\">Read more<span class=\"screen-reader-text\">Meteotemplate 15.0 &#8211; New Feature &#8211; IP restriction<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":2517,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[3],"tags":[545,544,7,543],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/meteotemplate.com\/blog\/wp-content\/uploads\/2017\/05\/infoBlack-e1494169580864.png","_links":{"self":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2978"}],"collection":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2978"}],"version-history":[{"count":2,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2978\/revisions"}],"predecessor-version":[{"id":2980,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2978\/revisions\/2980"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/2517"}],"wp:attachment":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}