• Hi All,
    We have this problem where the pictures on the portal show as www. but in reality are not.
    This is a problem for us as the pictures don’t load in our internal network.
    Any ideas would be much appreciated.
    Thanks,
    Charlie

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Can you take a screenshot of your General Settings and paste a url here?

    goto

    Settings > General

    It’ll look like this

    View post on imgur.com

    Thread Starter itpsupport

    (@itpsupport)

    Hi Stef,
    It looks like this – https://imgur.com/a/2J0JlIF
    Thanks,
    Charlie

    Hey Charlie! Cool. So the problem lies somewhere else because you already have www there and your site renders non www

    So what’s in your config or htaccess? Do you have access to both?

    Thread Starter itpsupport

    (@itpsupport)

    Hi Stef,
    I do have access to those files.
    Not sure what I am suppose to be look for though.
    Thanks, Charlie

    Great.

    So in the config look for something like this

    define( 'WP_HOME', 'https://www.example.com' );
    define( 'WP_SITEURL', 'https://www.example.com' );

    don’t change anything off the bat just see if they’re and if they have no www in them

    In htaccess you’ll want to look for

    #Force non-www:
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
    RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]

    again don’t change anything. Just report back if found.

    Thread Starter itpsupport

    (@itpsupport)

    Hi Stef,
    I cannot really find those entries. I am using a file manager plugin to browse around the files/folders.
    The top 4 lines of my htaccess files looks like is

    <IfModule mod_deflate.c>
        AddOutputFilterByType DEFLATE text/plain
        AddOutputFilterByType DEFLATE text/html
        AddOutputFilterByType DEFLATE text/xml

    Thanks, Charlie

    Got it. So then the last place to look is in your host’s redirect in cPanel. It’s going to look like this

    View post on imgur.com

    See what you have in there.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Pictures do not use www. by default’ is closed to new replies.