24-06-2015, 06:47 PMSozin Wrote: 24-06-2015, 05:47 PMMr_Joker Wrote: 24-06-2015, 05:39 PMSozin Wrote: 24-06-2015, 04:21 PMMr_Joker Wrote: 23-06-2015, 02:24 PMGodsHand Wrote: Add this to your .htaccess file Code:RewriteEngine on RewriteCond %{HTTP_HOST} ^example\.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L] This will add the WWW prefix to your domain names in URLs example\.com do i remove \ ?? Uhm... Edit it? It's text. RewriteCond %{HTTP_HOST} ^example.com$ [NC] Tried that it hardly works it redirects me to URL not found lol. I am not God. Can you please post some more info? Like the pic of the error and your current Rewrite rule. How the hell do you expect the community to help you?
24-06-2015, 05:47 PMMr_Joker Wrote: 24-06-2015, 05:39 PMSozin Wrote: 24-06-2015, 04:21 PMMr_Joker Wrote: 23-06-2015, 02:24 PMGodsHand Wrote: Add this to your .htaccess file Code:RewriteEngine on RewriteCond %{HTTP_HOST} ^example\.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L] This will add the WWW prefix to your domain names in URLs example\.com do i remove \ ?? Uhm... Edit it? It's text. RewriteCond %{HTTP_HOST} ^example.com$ [NC] Tried that it hardly works it redirects me to URL not found lol.
24-06-2015, 05:39 PMSozin Wrote: 24-06-2015, 04:21 PMMr_Joker Wrote: 23-06-2015, 02:24 PMGodsHand Wrote: Add this to your .htaccess file Code:RewriteEngine on RewriteCond %{HTTP_HOST} ^example\.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L] This will add the WWW prefix to your domain names in URLs example\.com do i remove \ ?? Uhm... Edit it? It's text. RewriteCond %{HTTP_HOST} ^example.com$ [NC]
24-06-2015, 04:21 PMMr_Joker Wrote: 23-06-2015, 02:24 PMGodsHand Wrote: Add this to your .htaccess file Code:RewriteEngine on RewriteCond %{HTTP_HOST} ^example\.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L] This will add the WWW prefix to your domain names in URLs example\.com do i remove \ ??
23-06-2015, 02:24 PMGodsHand Wrote: Add this to your .htaccess file Code:RewriteEngine on RewriteCond %{HTTP_HOST} ^example\.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L] This will add the WWW prefix to your domain names in URLs
RewriteEngine on RewriteCond %{HTTP_HOST} ^example\.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
Loading Info...