Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem with 1and1 and Wordpress

Featured Replies

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 by wickywills

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 by Renaissance-Design

  • 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!?

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.

  • 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.

  • 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!

  • 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 by wickywills

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 by jamesosix

  • 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!!!!!

  • 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......

  • 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 :)

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.

  • 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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.