• My site is having problems when I use “www” in front of my site name, but it works fine without the “www.”

    try using the menu on both examples.

    good example: donwatford.com
    broken example: “https://www.donwatford.com”

    has anyone come across this problem? I searched the forum but couldnt find a similar entry.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Are you using something in root .htaccess to redirect from www to non-www versions?

    Thread Starter watfordo

    (@watfordo)

    here’s my .htaccess file

    #DirectoryIndex index.html
    #Options +FollowSymLinks
    #RewriteBase /relative/web/path/

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^(.+) – [PT,L]

    </IfModule>

    #php_value register_globals off

    I use something similar, though I spell it out in detail:

    php_value register_globals Off
    RewriteEngine on
    RewriteCond %{HTTP_HOST} =www.mysite.com [NC]
    RewriteRule ^ https://mysite.com%{REQUEST_URI} [R,L]

    The techies at my reseller/provider produced that for me, so that an input of www before any of my domains’ names will actually just load the domain without the www – and doesn’t show the www in the addy bar once loaded.

    Oh, note please that I don’t have any of my own blogs in site root, so this above is in an .htaccess in site root, and wp has its own .htaccess in its root.

    Thread Starter watfordo

    (@watfordo)

    forgive my ignorance, but how do I edit the .htaccess file for wordpress installed in the root

    I usually use my ftp client, download the file to my hdd, and open/edit in something like notepad2, then upload.

    You might like to contact your host provider tech support to see if there’s anything at all wonky about using the sort of thing I posted, before you do anything.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘site errors when I use “www”’ is closed to new replies.