What is best way to change directories (on GoDaddy)?
-
I am ready to move my new site from https://www.patiastephens.com/wordpress over to https://www.patiastephens.com. I’ve read some of the Codex instructions and various forum topics, and it sounds like I could run into some problems since I am hosted on GoDaddy and can’t change the .htaccess file.
What is the easiest way for me to move my WordPress pages into my main directory?
-
Check out these instructions on moving your WordPress install within your site.
Yes, I read those, and it says you have to change your .htaccess file. But GoDaddy apparently does not provide access to the .htaccess file.
When I searched the forums for a solution, it sounded like people hosted on GoDaddy have had major problems trying to move their files because of this.
Does the blog load on the main domain once you’ve followed all the instructions except for the .htaccess?
You shouldn’t need direct access to that file. The steps tell you do do that so it will reset your permalink structure to the new directory. You should just be able to save your permalinks which will edit the .htaccess for you.
I haven’t tried to move the blog yet. I’m nervous about doing so until I know for sure what I’m doing.
What do you mean by “save your permalinks”?
If you’re nervous, make sure you have a backup of your database and a copy of your theme.
By visiting this page and clicking “Save” at the bottom, you tell WordPress that you have updated your permalinks, and it then knows it needs to update the database with the new settings.
So basically WordPress should update the .htaccess for you (I’m pretty sure; maybe someone else will chime in.)
I looked over the instructions for backing up my database (https://codex.www.ads-software.com/WordPress_Backups). This all seems so unbelievably complicated.
OK, I managed to find out how to backup my database in GoDaddy. Now I wait two hours.
I spent 10 hours moving files yesterday and my site is now completely destroyed. So much for trying to do things right.
godaddy gives you access to your .htaccess file. But, you most likely only have one of those if you set up permalinks.
As for moving WP, it should be fairly easy…. where did things go wrong?
You really should just have needed to change the 2 URLs in general settings
Then moved your files, you should have just been able to select all WP files/folders, and moved them to root (html) in one click
THat’s it…. you also must not have any extranneous files (like godaddys default index.htm file) sitting in the root directory
The move should have taken a grand total of 2 minutes…. where are you in the process? And what are the issues?
There was no .htaccess file in my site, and according to other forum posts I read, GoDaddy does not provide access to it.
The first URL in Settings was grayed out, so I found Codex instructions on how to change those two URLs in functions.php.
I deleted everything from my server (except for _db_backups) so that I would have a clean slate, then started uploading all the contents of the wordpress folder on my local computer. (I had previously synced the two, so I had a current copy.)
Unfortunately, I have been getting constant error messages when trying to access my server:
-Operation timed out – cancelling
-File activity incomplete — two files or folders were not updated.
-FTP error occurred – cannot make connection to host
-The connection was lost during the transfer and Dreamweaver cannot reconnect to the server.
-There was no response from the server while transferring the file …I thought it might be my Internet connection, so I went to a local cafe and used their Wi-Fi. No difference. I went back and forth with GoDaddy tech support a few times before they said they were referring my problem to their “Advanced Technical Support Team.” That was yesterday afternoon and I haven’t heard a thing since.
After some 10 hours of uploading files, I have most but not all of them on the server. My site is still returning errors: https://www.patiastephens.com. I can’t access wp-admin. I’m debating whether I should keep trying to upload files and hope it all works, or use GoDaddy to reinstall WordPress in my main directory, then restore my theme and database. But first I have to go to work.
What a mess.
Are you trying to use GoDaddy’s file manager for FTP? It’s junk. Use Filezilla, a stand alone FTP client. The errors you see on the site are from missing WP files. Try Filezilla.
You’re on a windows server, so you may not have a .htaccess file you can see. Linux will show an .htaccess at root. But that’s irrelvant, really. Unless .htaccess gets damaged from editing or is not writable, then you don’t need to edit it by hand.
You don’t necessarily need to back up your database. It’s ideal, yes, but unless you specifically delete the database in GoDaddy’s manager, it’s not going to go away.
You should really go ahead and change from WIndows to Linux; life will be much easier. GoDaddy can make the change in an hour or two and then you can upload your files again via Filezilla: Switching Your Hosting Account Operating System
You should really go ahead and change from WIndows to Linux
apologies, I forgot to check which server the OP was on. I’ll second @songdogtech’s advice…. wordpress will work much better on godaddy using Linux hosting
I’m using Dreamweaver FTP. I’ve never had problems with it before and I don’t want to switch.
Why is Linux hosting better than Windows? I’m tired of screwing around with all this technical stuff just to make my WordPress site work.
Why is Linux hosting better than Windows?
it just works better really. IIS (windows) hosting, especially godaddy can be pretty flaky. I learned that a couple years ago… Some things just don’t work right on Windows…
permalinks for instance
https://codex.www.ads-software.com/Using_Permalinks#Permalinks_without_mod_rewritebasically, windows on godaddy just isn’t as flexible. Not just for WordPress, but for other software packages. I had issues with zencart, SMForums, mediawiki, etc. It was just headache after headache…
Windows vs Linux won’t affect how you use your hosting…. nothing will even appear any different for the enduser
Its entirely up to you, you can pretty much have things working on Windows or Linux… just something I ran into a while back. I picked Windows first because it made sense to me since I’d never used Linux. Not realizing it really had nothing to do with what I knew how to use….
I know Linux is better, but I can’t handle one more thing right now unless it’s absolutely necessary. I also want to switch web hosts, because I’m tired of GoDaddy’s BS.
So, I uninstalled WP from my /wordpress directory and installed it in the main directory. Then I restored the database and wp-content folder. I now have a site again, but it does not appear to have a style sheet and I can’t log in to WP admin.
https://www.patiastephens.com/
https://www.patiastephens.com/wp-login/Any ideas where to go from here?
- The topic ‘What is best way to change directories (on GoDaddy)?’ is closed to new replies.