Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
www version vs non www version of site
#1
I am noticing through testing that sometimes my site has a www prefix and sometimes it does not.

Wordpress seems to handle this issue automatically.

Is there a similar workaround in GetSimple?

Not sure if this triggers a duplicate content penalty.
Reply
#2
(2015-07-06, 16:10:37)projwest Wrote: I am noticing through testing that sometimes my site has a www prefix and sometimes it does not.

Wordpress seems to handle this issue automatically.

Is there a similar workaround in GetSimple?

Not sure if this triggers a duplicate content penalty.

I have added these rules to my .htaccess file which will redirect all www. requests to the non-www equivilant.

Add them to the bottom of your htaccess fule and it should be good to go.

Code:
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
Web Developer
Plugins: GS Plugin Installer | Referrer Blocker | Password Protect
Reply
#3
Yeah not really a GS issue, www is a subdomain. You should be redirecting it.
Now if you have www in your siteurl in settings, and are having an issue with some links not reflecting that, then there might be a bug somewhere in GS.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)