• Hello All,

    I have installed WordPress on my home computer using WAMP. I’ve also set up port forwarding on my router so that I can access my webserver by typing in my IP address.

    After the default WordPress installation, I can access my site by going to http://localhost/wordpress. I’ve also tried changing the wordpress address and site address through the backend to the IP of my router, and I am able to view my site externally.

    My question is: Can I do both at the same time?? It seems like this would be a common request, but so far I can only do one of them at a time. I’ve set up Joomla on my computer and I am able to do this no problem, why is WordPress unable to do this?

    Any comments/suggestions are greatly appreciated!!

Viewing 1 replies (of 1 total)
  • Thread Starter rcopeland

    (@rcopeland)

    The only solution that I have come up with so far is to change

    define('WP_HOME','xxxxx/wordpress');
    define('WP_SITEURL','xxxxx/wordpress');

    in wp-config.php where xxxxx switches between localhost and the IP of my router, but this is far from optimal.

    My router doesnt support “Filter Internet NAT Redirection” so if I type the IP of my router, from inside my home network, it doesnt connect.

Viewing 1 replies (of 1 total)

The topic ‘Localhost AND Externally accessible site?’ is closed to new replies.