Please who can help me to change my domain.com to www.domain.com in my socialengine site?

Help please - How I can change http://domain.com to http://www.domain.com
#3
Posted 22 April 2014 - 10:51 PM
Another way....
Paste this:
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
After this:
RewriteEngine On
In .htaccess
- HaroLymn, MiguHivy and JeffCresLome like this
#4
Posted 20 August 2014 - 08:08 AM
They are both the correct way to write it.
This is an alternative way to write it for both https://www. & http://www. 301
Note this method will not force www. on any sub.domain.tld you may have.
<IfModule mod_rewrite.c> # Disabled directory listing. Options +FollowSymLinks -Indexes # Disabled Apache multiviews plays havoc with url rewriting. Options -MultiViews RewriteEngine on # NOTICE: when 404 remove commented lines below #AllowOverride All #RewriteBase /wherever/its/located #Force www. without www. on sub.domain looks fugly RewriteCond %{HTTPS} !=on RewriteCond %{HTTP_HOST} ^domain\.com$ [NC] RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] </IfModule>
#5
Posted 09 September 2014 - 05:22 AM
Please who can help me to change my domain.com to www.domain.com in my socialengine site?
All the above will help but try this :
------------------------------------------
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R,L]
-------------------------------------------
Replace yourdomain.com with your domain
#6
Posted 16 October 2014 - 06:11 PM
I asked this question myself on another site and got this answer which works perfectly for my SE 3 site:
Again in .htaccess:
RewriteCond %{HTTP_HOST} !^$ RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteCond %{HTTPS}s ^on(s)| RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
#8
Posted 30 July 2017 - 01:16 PM
thank you
Also tagged with one or more of these keywords: domain, change, edit, socialengine, help
Social Engine 5 →
Social Engine 5 Nulled Modules →
SocialEngine v5.0.0 Nulled with v5.1.0 UpgradeStarted by fullfrontal, 06 Oct 2020 ![]() |
|
![]() |
||
Social Engine General →
Social Engine Marketplace →
Socialengine Script Plus Premium Plugins for Sale @ Good PriceStarted by blackjackson, 10 Feb 2020 ![]() |
|
![]() |
||
Social Engine 4 →
Social Engine 4 General →
Suggest some of the best plugins for new SE website.Started by thedarkknight, 15 Nov 2019 ![]() |
|
![]() |
||
Social Engine General →
Social Engine Marketplace →
<b>HotSelling</b> SE4 License, Andriod & IOS App and SEaddons Themes and PluginsStarted by Emichael, 01 Oct 2018 ![]() |
|
![]() |
||
Social Engine General →
Social Engine Marketplace →
GENUINE SocialEngine 4 License and ALL SEAO plugins for saleStarted by Emichael, 21 Aug 2018 ![]() |
|
![]() |
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users