WordPress.org

Support

Support » How-To and Troubleshooting » Prefix www from URL

Prefix www from URL

  • when i type http://www.domain.com i get a 301 redirect to domain.com adding on 1 sec to the page load.

    i have other non wordpress sites were if i typw http://www.domain.com or domain.com the url stays the same and displays the proper content.

    is there a way to get the wordpress install to work with or wothout the ww prefix and not cause a 301 redirect?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can’t have both on WordPress, just one or the other.

    A 301 redirect won’t hurt you, by the way, or your SEO ranking.

    is there a simple work around to be able to get both?

    well the 301 adds 1sec of to the page load sometimes even more

    Pioneer Web Design
    Participant

    @swansonphotos

    A (address) Maps a host name to an IP address. When a computer has multiple adapter cards or IP addresses, or both, it should have multiple address records.

    In DNS, WWW is an a record. If you have a domain with an a record for WWW already (normal setup), then creating a sub like blog . domain . com is also another a record. having that sub then be accessible with an a record of WWW . sub. domain . com would not fly.

    CNAME (canonical name) Sets an alias for a host name. For example, using this record, zeta.microsoft.com can have an alias as http://www.microsoft.com.

    Check with your provider/host and don’t change DNS unless you are absolutely sure of the outcome…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Prefix www from URL’ is closed to new replies.