October 17, 201214 yr Hello, I recently installed WordPress to my client's 1and1 hosting account, and the site works fine when browsing to the 1and1 subdomain (e.g.http://s**********.websitehome.co.uk/wordpress), and I can even get to the site fine using the full/proper domain name. However when clicking on any of the links in the navigation, the URL switches back to thehttp://s**********.websitehome.co.uk subdomain, when it SHOULD use the proper domain I have. When I contacted 1and1 they basically said that I had "installed WordPress under the subdomain" - this is what I have done many times with other hosts (Zen, Godaddy etc) but for some reason with 1and1 I'm getting the issue above. I should also point out that when changing the "Siteurl" and "wordpress url" settings within WordPress, this just causes a "Internal Server error 500" and I have to manually change the domains back to the subdomain within the database. Hope someone can help? Edited October 17, 201214 yr by wickywills
October 17, 201214 yr Try changing the URLs in the dashboard and adding: Options All -Indexes AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php to your .htaccess file. Edited October 17, 201214 yr by Renaissance-Design
October 17, 201214 yr Author Try changing the URLs in the dashboard and adding: Options All -Indexes AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php to your .htaccess file. Just did this and now when I go to the live domain (http://doggies-n-moggies.co.uk/), I get no css for the homepage, and none of the links work!?
October 17, 201214 yr Looks like all your WP stuff is in a folder called dm_wp - move everything to the site root, unzip this and upload migrate.php to the root of the site and visit migrate.php in your browser. Use the tool to replace http://doggies-n-moggies.co.uk/dm_wp/ with http://doggies-n-moggies.co.uk/ and delete migrate.php when you're done.
October 17, 201214 yr Author Looks like all your WP stuff is in a folder called dm_wp - move everything to the site root, unzip this and upload migrate.php to the root of the site and visit migrate.php in your browser. Use the tool to replace http://doggies-n-moggies.co.uk/dm_wp/ with http://doggies-n-moggies.co.uk/ and delete migrate.php when you're done. Just did this, and now I'm getting a "Forbidden" error: Forbidden You don't have permission to access / on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
October 17, 201214 yr Did the migrate tool complete? Additionally this thread title could quite happily have been cut to "problem with 1and1"... just saying
October 17, 201214 yr Author The migrate tool did complete, though got a few warnings below: Your current URL (http://doggies-n-moggies.co.uk/'>http://doggies-n-moggies.co.uk/dm_wp/'>http://doggies-n-moggies.co.uk/dm_wp/'>http://doggies-n-moggies.co.uk/dm_wp/) is not the same as the current home URL (http://doggies-n-moggies.co.uk/). This could cause issues. Please confirm you want to proceed below. Your current URL (http://doggies-n-moggies.co.uk/dm_wp/) is not the same as the current site URL (http://doggies-n-moggies.co.uk/dm_wp). This could cause issues. Please confirm you want to proceed below. Your replacement URL (http://doggies-n-moggies.co.uk/) is not the same as the current server URL (http://s436411157.websitehome.co.uk). Please confirm you want to proceed below. Nothing to migrate!
October 17, 201214 yr Author Ok, well I changed the domain in 1and1 to point to the site root (instead of dm_wp) and I have the site back (well only the homepage, and WITHOUT CSS!). Moving Wordpress from the sub directory to the root didn't seem to solve anything Edited October 17, 201214 yr by wickywills
October 17, 201214 yr I see the problem here... 1 & 1. Sorry, couldn't resist. Good luck fixing the problem OP Should just be a simple straight forward migration to the main domain and of the sub domain. Is that all 1&1 have said? If so thats terrible support. My host would normally just reply with "we found the problem, and fixed it for you". Edited October 17, 201214 yr by jamesosix
October 17, 201214 yr Site appears fine for me so long as we're talking about http://doggies-n-moggies.co.uk/
October 17, 201214 yr Author FRIGGING SOLVED IT!!!!! Had to change my .HTAccess file (should have thought of that when "Renaissance-Design" told me to move it to the root!) God knows why it didn't work as normal, won't be using 1and1 for any of my personal stuff thats for sure!!!!!
October 17, 201214 yr Doh! I always forget that step when moving sites myself. Even just visiting the permalinks settings page should do it.
October 17, 201214 yr Author I see the problem here... 1 & 1. Sorry, couldn't resist. Good luck fixing the problem OP Should just be a simple straight forward migration to the main domain and of the sub domain. Is that all 1&1 have said? If so thats terrible support. My host would normally just reply with "we found the problem, and fixed it for you". Yeah, always found 1and1 support to be shockingly bad. Personally I use either Storm, Zen or Godaddy as my regular hosts - all have been really helpful (also looking into a reseller account with Heart Internet). Think people just see the 1and1 adverts on TV and think "it's on telly so it must be good!". Microsoft is advertising IE9 on TV as well - says it all really......
October 17, 201214 yr Author Doh! I always forget that step when moving sites myself. Even just visiting the permalinks settings page should do it. That's interesting, so does visiting permalinks in Wordpress do some sort of reset to the .htaccess file? Handy to know if so
October 17, 201214 yr That's interesting, so does visiting permalinks in Wordpress do some sort of reset to the .htaccess file? Handy to know if so WordPress writes the .htaccess file with the permalinks so changing the setting rewrites the WordPress section of the .htaccess file.
October 17, 201214 yr Author WordPress writes the .htaccess file with the permalinks so changing the setting rewrites the WordPress section of the .htaccess file. Got it - thanks for the help! I suppose it's good to have problems like this - good way to learn (after you endure the hours of stress before a solution is reached!!)
Create an account or sign in to comment