WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Did I install this correctly? Using 1and1 hosting (6 posts)

  1. wickywills
    Member
    Posted 1 year ago #

    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 the http://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?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    What urls are entered in settings -> General?

  3. wickywills
    Member
    Posted 1 year ago #

    Currently (working), the URL's are as follows:

    WordPress URL: http://s436411157.websitehome.co.uk/dm_wp
    Site url: http://s436411157.websitehome.co.uk

    However the domain I would like to get working is http://doggies-n-moggies.co.uk/

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

  5. wickywills
    Member
    Posted 1 year ago #

    Thanks for the reply esmi, though this has now been resolved.

    Turns out it was various issues with 1and1. Moving the site to the root instead of a subdirectory, plus adding the below to .htaccess helped also:

    Options All -Indexes
    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    Hope this helps someone else - basically, avoid 1and1!

  6. wickywills
    Member
    Posted 1 year ago #

    resolved

Topic Closed

This topic has been closed to new replies.

About this Topic