views:

36

answers:

1

Hi,

I have setup my site with 5 pages which are my menu options.

When running my WordPress site on my local host using MAMP, my url is:

http://localhost:8888/mySite/ or http://www.mySite.com/ (when I go live)

When I click on a menu item, it changes the URL to:

http://localhost:8888/mySite/MenuOptionA or http://www.mySite.com/mySite/MenuOptionA

How can I setup a Permalink or something else, so that it always just shows my main URL above without the /MenuOptionA when I have click on any menu options?

I basically would like my url to always just show http://www.mySite.com/ no matter what menu option is selected.

Hope this is possible.

Thanks.

+1  A: 

You can change you're site's url easily by adding in the following statements into wp-config.php

define('WP_HOME','http://www.mySite.com/');
define('WP_SITEURL','http://www.mySite.com/');

If you don't want to maintain two different config files, you can put a conditional in there to determine what value to use.

blockhead