Building locally, then uploading
-
I would greatly appreciate any advice and wisdom.
I’m new to WordPress and want to build & design locally, test locally, then upload to my hosting server.
I have some questions about “best practices,” how to ensure that local files and hosting files are not in conflict, and what I need to do so upload works OK.
My hosting service now offers WordPress, which I have installed. I have also installed a local version that I will use with local testing server.
I am trying to research, set up correctly, and proactively plan so upload will go smoothly. I apologize for the length of this inquiry — but I have recently been going through the nightmares of Vista, so I’m trying to plan ahead with this major new addition. I will end up with 3 blogs, 2 of which will bring major attention to WordPress.
Before I get to my questions, here is some set-up reference information:
HOST CONFIGURATION:< /br>
My hosting service, APlus.net (Apache server) now provides WordPress — which I installed as follows:1. Host places mywebsite files in html folder in root directory, so WordPress installation path:< /br> /home/html/wordpress/
2. On Host, MYSQL databases are automatically named the same as my user ID, and I use my same password. They are named: “UserID” & “UserID2” & “UserID3”
3. Absolute path to MYSQL database =< /br> /var/db/mysql/mydatabasename
4. Absolute path to my html folder = /home/partition/yourftpusername/html
LOCAL CONFIGURATION:< /br>
1. I use WAMP(Apache) with PHP and MYSQL + Dreamweaver — on PC/Vista (and may convert to MAC)2. Local WordPress installation path: < /br> C:\wamp\www\MyWebsiteName\WordPress\
3. Testing server WordPress installation path:< /br> https://localhost/MyWebsiteName/WordPress/
4. Installation:
wp-config.php
— I used same settings as HOST wp-config.php file, as followsExample:(real Name/User/Password not used)< /br>
// ** MySQL settings ** // define('DB_NAME', 'johndoe'); // The name of the database define('DB_USER', 'johndoe'); // Your MySQL username define('DB_PASSWORD', 'johndoepassword');// ...and password define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
< /br>
QUESTIONS: BUILDING LOCALLY AND UPLOADING1. In LOCAL install, assigned logon username and password are different from HOST install. Will that present any upload problems?
2. I use FTP to upload site and will use that with WordPress. Should I make any changes in PATH to avoid upload problems?
2. Version issues:
- Host
PHP Version: 4.4.4
phpMyAdmin 2.6.2-pl1
MySQL 4.1.22- Local
PHP Version: 5.2.3
phpMyAdmin – 2.10.1
MySQL client version: 5.0.37Host uses PHP default Version is 4, but I have option to use 5 (although they warn that changing from 4 to 5 may create instability and I may lose
MYSQL databases — which, actually, is OK at this point because database is not yet populated).
Locally, I use PHP 5 but have option to use 4.
QUESTIONS: What is “best practice? Using same in both places, either 4 or 5? Would I have issues if I kept 4 on host but built on local using 5?
5. ISSUES RE: BUILDING LOCALLY AND UPLOADING
Any red flags I should be aware of as I build site locally before uploading?
I have not yet studied how exactly to upload completed local WordPress setup/design/content — but, as I start out, I want to be sure I change anything that needs changing before I get too far along.
For example:< /br>
- RE: Username & Password
< /br>
— any potential conflicts?- RE: Paths — any changes I should make?
< /br>
- RE: Database name issues:
As long as I name my local MYSQL database the same as the name assigned automatically by my hosting service, and my online database is not yet constructed, am I safe in constructing database and php files locally and then uploading? Any precautions I should take?
- RE:
wp-config.php
andinstall.php
< /br>
— Will I run into any local vs host conflicts?
-
RE: Local vs Host Files?
< /br>
Are there other files I need to take care with to avoid local vs host problems? Any critical files on local & host that should not be written over upon initial upload and then continuing building? Can local & host be synchronized, similar to other website files?
Thank you for any pearls of wisdom.
Aaron
- The topic ‘Building locally, then uploading’ is closed to new replies.