• Okay so this is my situation. I already have an existing site running, but I want to create a whole new one using wordpress.I want to use my same host, but they do not have the 1 click wordpress install so I have to do it manually. I have found a youtube guide for the manual install that I believe is going to help me. The question this youtube video does not answer for me is how to download and create that new site using the same domain as the cite that is currently running. I know that you have to pick a domain while you are doing the install but if I pick the domain of the cite that is already running, because I want to use it, what will happen? What way should I go about doing this?

Viewing 8 replies - 1 through 8 (of 8 total)
  • You can’t install WordPress with the same URL as your old site and have both of them running at the same time. You will need to install WordPress in a subfolder such as /wordpress. Then, when you are ready you can make the switch following the directions here:

    https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    If you install it without using a subfolder like /wordpress it will overwrite your existing website.

    Thread Starter adamflove

    (@adamflove)

    The article that you gave me shows how to transfer my existing wordpress into a subfolder, but I do not have it installed or anything yet. How would I step by step create this subfolder and then install wordpress directly into it? Then after I had my website running the way I want it, how would I switch it over to my main site?

    Thread Starter adamflove

    (@adamflove)

    How do I create the location where wordpress would be installed?

    Hi adamflove, I’ve have had a situation like this before. Here’s what you can do:

    1. Download and unzip the WordPress software
    2. Visit your host’s control panel and set up a MySQL database, database user, and database password
    3. Use an FTP program like Transmit or Cyberduck to upload the “wordpress” folder (renamed to something else, if you like) to the root directory of your site on your host’s server
    4. Use your favorite browser and visit your-domain.com/wordpress/wp-admin/install.php (if you renamed the wordpress folder, change that part of the URL)
    5. If everything has gone well up to this point, you should see WordPress’s famous 5-minute install screen
    6. Enter your database, database user, and database password info you set up (or received from your host) in step 2
    7. Again, if everything has gone well, your new WordPress installation should be running at your-domain.com/wordpress
    8. Create an admin user and password (different from the database user and password) and start architecting your site, setting preferences, and creating content
    9. After you have built out your site’s content, changed to a theme you like, etc. you may want to follow the instructions in the link Tim S posted, above. That will allow you to remove the “wordpress” folder name from the URL, so your website can be powered by WordPress at your-domain.com

    The readme.html file in the software’s folder also contains some helpful info and links. Good luck, and reply if it still doesn’t work as expected.

    Hi Trace, thanks for those instructions. I’m trying something similar to the original poster… I”m stuck somewhere between step 4 and 5. When I visit any of the pages like your-domain.com/wordpress/wp-admin/install.php or anything under your-domain.com/wordpress/ it just downloads the file a file to my browser – either binary if it’s just a directory or the file itself, like the install.php file. It does not try to render anything.

    Does anybody know, do I need to start/restart anything specific? I did restart my nginx of course already. Thanks for any info.

    UPDATE – SOLVED
    Forgot to add the usual fast-cgi stuff to my nginx config and url rewrites while I was at it..

    location ~ \.php {
    		fastcgi_pass unix:/var/run/php5-fpm.sock;
    		fastcgi_index index.php;
    		include fastcgi_params;
    		#fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    	}
    
    	rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml$ "/index.php?xml_sitemap=params=$2" last;
    	rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml\.gz$ "/index.php?xml_sitemap=params=$2;zip=true" last;
    	rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html$ "/index.php?xml_sitemap=params=$2;html=true" last;
    	rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html.gz$ "/index.php?xml_sitemap=params=$2;html=true;zip=true" last;

    All works now. Thanks.

    Cool, glad to hear that it worked out!

    Elegant Themes

    (@allwordpressthemes)

    Great tutorial man.Working fine 🙂

    Oh Great Tutorial. Trace You Have made it more Clear and easy to Go Through

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Installing with an already existing site’ is closed to new replies.