Search for answers:
The OptimizePress Support Site Has Moved: Click here to access the new Support site

Localhost WAMP / WAMP Developers

Localhost WAMP/MAMP Installs ( are you a developer? )
If you're developing your site in a localhost environment, running something like WAMP/MAMP, or EasyPHP, please add this line to your /wp-config.php file: define("LOCALHOST", true);. 
This lets optimizeMember know definitively that your site is in a localhost environment. optimizeMember will adjust itself accordingly, maximizing functionality during your developement. optimizeMember can usually auto-detect this, but in cases where your localhost installation runs on something other than, you need to tell optimizeMember definitively, by adding that line to your /wp-config.php file. For instance, optimizeMember needs to know when your server IP is the same as all User IPs.
​Once your site goes live, please remove the line. If you're already on a live server connected to the web, please ignore this section.
Note: Using OptimizePress on a WAMP/MAMP installation will require using an API key, and you'll need to ensure that the computer is connected to the internet, otherwise OptimizePress won't be able to activate or be used on a local installation.
Didn't find an answer to your question? Contact Our Support Team (Submit a ticket)
Was this article helpful?
0 out of 0 found this helpful


Other Help Categories:

Get Started Guide

Watch our Ultimate Getting Started guide video

Pre-Sales Questions

Ask questions before purchasing our products

Login Problems

If you're having issues logging into our members hub

Accounts & Billing

Update your billing, request a refund and other accounts help

API Key Issues

Get help with licensing your site and API key issues

Membership Help

Get help creating Membership portals and courses

LiveEditor Help

If you need help using or troubleshooting the LiveEditor


Find out about the many integrations possible with OptimizePress

Affiliate Questions

Have questions about promoting OptimizePress

Clubhouse Questions

Questions about our Clubhouse Membership Subscription