SocialEngine 4: Redirect non-www Requests to www

This simple tutorial will teach you how to redirect non-www requests to www using .htaccess for social engine 4 or any other website.

This will basically create a 301 Permanent redirect.

All you have to do is to append/add to your .htaccess file and the result would be like this:

If you request “” it will automatically redirect to “”

# Redirect non-www to www mod
RewriteCond %{HTTP_HOST} ^
 RewriteRule (.*)$1 [R=301,L]

Simply change “” in the above two lines and you are ready to go.

What’s the use?

It’s good for SEO (search engine optimization)

Looking for quality SocialEngine Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , | Posted under SocialEngine | RSS 2.0

Author Spotlight

Andrew Cross

Hi, I'm Andrew. A am a 26, ICT Administrator which offers support to company's around the South Wales Area. I have created a few social sites for myself and other company's. So far 2 out of 3 have been successful using the powerful SocialEngine Script. I continue to try and help the community of SocialEngine by giving Support and Technical Help where possible.

Leave a Reply

Your email address will not be published. Required fields are marked *