How Redirecting non-www to www in wordpress without using .htaccess?


Hello Everyone!

I am here now just going to tell you all a simple way for redirect your wordpress website from non www(http://yourdomain.com) to www((http://www.yourdomain.com)) URL  OR  www(http://www.yourdomain.com) url to non-www((http://yourdomain.com)) URL.

WordPress will 301 redirect your domain to the version (www or non-www) located in the Settings->General.

Here you have just need to change the WordPress Address URL and Site Address URLScreenshot-4

This will redirect any requests to http://mrwebsolution.in to http://www.mrwebsolution.in. There are several benefits from doing that:

  • It will avoid duplicate content in Google
  • It will avoid the possibility of split page rank and/or split link popularity (inbound links).
  • It’s nicer, and more consistent.

Enjoy Code!

Advertisements

Sr. Software Engineer

Tagged with: , , , , ,
Posted in Wordpress
5 comments on “How Redirecting non-www to www in wordpress without using .htaccess?
  1. Cialis says:

    I think this is one of the most important information for me.
    And i am glad reading your article. But should remark on
    some general things, The website style is perfect,
    the articles is really great : D. Good job, cheers

  2. URL says:

    … [Trackback]

    […] Read More here: raghunathgurjar.wordpress.com/2013/09/19/how-redirecting-non-www-to-www-in-wordpress-without-using-htaccess/ […]

  3. Cialis says:

    Your style is unique in comparison to other folks I’ve read stuff from.
    I appreciate you for posting when you’ve got thhe opportunity, Guess I’ll just book
    mark this page.

  4. … [Trackback]

    […] Read More: raghunathgurjar.wordpress.com/2013/09/19/how-redirecting-non-www-to-www-in-wordpress-without-using-htaccess/ […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: