WordPress Plugin: Add or Remove Www

The Word­Press plu­g­in Add or Remove Www seeks to solve a com­mon prob­lem: pre­vent­ing redi­rects from a www- ver­sion to a non-www ver­sion of a site — or vice-ver­sa.

Add or Remove Www lets you eas­i­ly con­fig­ure your Word­Press site to always (or nev­er) use the www. sub­do­main in all links of the posts and pages.

It’s com­mon that you’ll cre­ate a con­tent link or include an image, link­ing to http://YourSiteNameHereForExample.com/imageExample.jpg — but your serv­er then redi­rects that to http://www.YourSiteNameHereForExample.com/imageExample.jpg . That adds in an extra serv­er request and delay to the user.

Instead of going through every image and link, one by one, mak­ing sure they’re all con­sis­tent, Add or Remove Www changes the links.

Note: the ver­sion 1.0 does NOT change all the pre­vi­ous­ly exist­ing URLs, it affects all the con­tent and image URLs that are saved/modified after sav­ing acti­vat­ing the plu­g­in and choos­ing the suit­able option.

We plan on adding more options to be edit­ed — if you have any oth­er sug­ges­tions, please let us know! You can con­tact us via http://wpsos.io.

The instal­la­tion and use is very straight­for­ward. You should:

1. Upload the fold­er ‘add-or-remove-www‘ to the ‘/wp-con­tent/­plu­g­in­s/‘ direc­to­ry
2. Acti­vate the plu­g­in through the ‘Plu­g­ins’ menu in Word­Press
3. From the ‘Set­tings’ menu, there should be a new option, called ‘Add Or Remove Www’

As of ver­sion 1.0, you can choose between two options: using the URLs with or with­out www. The option affects all the post and page URLs, includ­ing image URLs.
Note: the ver­sion 1.0 does NOT change all the pre­vi­ous­ly exist­ing URLs, it affects all the con­tent and image URLs that are saved/modified after sav­ing the option.