2011-11-21, 12:18 AM
2011-11-21, 12:22 AM
Edit your board URL in your settings and add the www in front.
2011-11-21, 12:26 AM
But when I add the www. the url don't work see www.premium4you.org
2011-11-21, 12:28 AM
1>
Add this to your .htaccess
2>
Add this to your .htaccess
Quote:RewriteEngine on
RewriteCond %{HTTP_HOST} ^premium4you\.org$ [NC]
RewriteRule ^(.*)$ http://www.premium4you.org/$1 [R=301,L]
2>
(2011-11-21, 12:22 AM)Paul H. Wrote: [ -> ]Edit your board URL in your settings and add the www in front.
2011-11-21, 12:51 AM
This don't work for me
2011-11-21, 12:55 AM
You need to create a shortcut before the public_html folder area, and make this shortcut link back toward public_html. Your hosting account that you have must not have created this automatically for you, but it's a simple easy thing to fix.
2011-11-21, 12:59 AM
redirect non www to www htaccess, Possible code to use ..
1.
2.
3.
4.
All of this 4 codes should work on server that has mod rewrite enabled.
1.
rewritecond %{http_host} ^phwebmaster.net [nc]
rewriterule ^(.*)$ http://www.phwebmaster.net/$1 [r=301,nc]
2.
RewriteCond %{HTTP_HOST} !^www\.phwebmaster\.net$
RewriteRule (.*) http://www.phwebmaster.net/$1 [R=301,L]
3.
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
4.
RewriteCond %{HTTP_HOST} ^phwebmaster.net [NC]
RewriteRule ^(.*)$ http://www.phwebmaster.net/$1 [L,R=301]
All of this 4 codes should work on server that has mod rewrite enabled.
2011-11-21, 01:09 AM
where to find htaccess file?
2011-11-21, 01:11 AM
*public_html/.htaccess
*public_html/yourdomain.com/.htaccess
*htdocs/.htaccess
*public_html/yourdomain.com/.htaccess
*htdocs/.htaccess