• My multisite main pages work inconsistently. Everything is OK without www-prefifix. Out of two subdomains one works fine when entering with www-prefix but the otherone show: “Nothing Found”-message and manages to load only small part of the content. Main domain home page is OK with and without the prefix.
    I have checked the DNS entry tables with the hosting support they are OK. Also did reactived all plugins (but did not move to default theme).

    As things seem to work partly I believe it can be a settings issue.
    The subdomains are fi.pedalslot.com and en.pedalslot.com.

    Any ideas?

Viewing 1 replies (of 1 total)
  • Thread Starter JTRinne

    (@jtrinne)

    I searched the topic and found out how to use redirect rules in .htaccess -file. Added these two lines there:
    RewriteCond %{HTTP_HOST} ^www\.domain\.com [NC]
    RewriteRule ^(.*)$ https://domain.com/$1 [L,R=301]

    Where domain was replaced by my own problematic sub-domain name.

    I considerthis as a patch only as out of main domain and two sub-domains in my WP-network only one had problem with the www-prefix. With this patch also this one is seemingly working, but really the underlining problem has not been addressed, just circumvent.

Viewing 1 replies (of 1 total)
  • The topic ‘www prefix in subdomain’ is closed to new replies.