WordPress.org

Ready to get started?Download WordPress

Forums

The Best Method? (4 posts)

  1. Callum
    Member
    Posted 2 years ago #

    Good day all, new to the forum and new to WordPress... Please could you guys take the time to answer my questions. Would really appreciate it.

    I have installed WordPress with MAMP onto my macbook and have been playing around with it. Battling with getting sliders etc. in the right place but thats another story.

    Could someone please clear a few things up for me:

    1) How does one go about using/designing more than one website, does every site have its own login details that you would enter at the same localhost:8888/wp-config.php screen?

    2) Is it possible to set up some sort of site manager for easy access to all the sites?

    3) Is developing a site with the use of MAMP and then uploading via FTP the best way in which to use WordPress? What do think is the right way in which to do it?

    4) Was I supposed to copy the WordPress files into the MAMP htdocs folder?

    5) How can I get the login URL to be localhost:site_name?

    Thanks for your time!!

  2. Callum
    Member
    Posted 2 years ago #

    Also, when running MAMP, what is the point of that control panel that opens in your web browser with phpMyAdmin and mySQL etc? What am I supposed to do with that?

    Thanks again!

  3. Callum
    Member
    Posted 2 years ago #

    Managed to look into this whole wordpress thing last night. if someone could just send some assistance my way regarding the following questions i'd really appreciate it.

    3) Is developing a site with the use of MAMP and then uploading via FTP the best way in which to use WordPress? What do think is the right way in which to do it?

    4) Was I supposed to copy the WordPress files into the MAMP htdocs folder?

    5) How can I get the login URL to be localhost:site_name?

  4. JFrankParnell
    Member
    Posted 2 years ago #

    i dunno what mac does for hosts file, but i can run several sites on my local host by moding hosts, adding listens and virtual hosts in http.conf

    in hosts, do like
    127.0.0.4 mysite.com

    in http.conf look for
    #Listen 12.34.56.78:80
    and start making a list under it
    127.0.0.4 mysite.com
    127.0.0.5 othersite.com

    still in http.conf, look for
    #virtualhost

    under that, put this (changing the ips and SeverName and dirs)
    <VirtualHost 127.0.0.4:80>
    DocumentRoot "C:\Users\d\Documents\path\to\www"
    ServerName mysite.com
    <Directory "C:\Users\d\Documents\path\to\www">
    Options FollowSymLinks Indexes
    AllowOverride All
    Order deny,allow
    #Allow from 127.0.0.4
    Allow from all
    #deny from all
    </Directory>
    </VirtualHost>
    for each site youre working on.

    restart apache and probly your browser. now, unless you have redirects in your htaccess, if you go to http://www.mysite.com, you'll go to the live site, if you go to mysite.com, you'll go to your local dev.

Topic Closed

This topic has been closed to new replies.

About this Topic