View Full Version : The urls
henley421
04-01-2013, 09:21 PM
I use google chrome and it does not like any of the links on my site. http//mysticania.x10.mx/index is what every link ends up like on my site(except it changes the address to the according page). It there anyway I could change this to make it www.?
AlexC
04-02-2013, 07:08 AM
The script has been formatted to automatically to remove the "www" so people can use subdomains.
You can use the .htaccess file to force all addresses to www. or not if you like, but it is recommended to just leave it as it is. There is no added benefit of changing it when the script handles it already.
henley421
04-02-2013, 09:50 AM
Thanks, how exactly could I edit the code to do that. (Sorry I have next to no experience with coding.)
AlexC
04-02-2013, 11:27 AM
There is an article here on how to do it and some more information for reading;
http://dense13.com/blog/2008/02/27/redirecting-non-www-to-www-with-htaccess/
henley421
04-06-2013, 09:38 PM
Thanks! <33
henley421
04-09-2013, 06:27 PM
It does change the url to a www. address but now the url is like this:
This is the coding I am using, is there anything wrong with it: http://www.www.mysticania.x10.mx/
RewriteEngine On
# Redirect non-www to www
RewriteCond %{HTTP_HOST} !^www\mysticania.x10.mx.(.*)
RewriteRule (.*) http://www.mysticania.x10.mx%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{REQUEST_URI} !\.(js|css|gif|jpg|png|ico)$ [NC]
RewriteRule ^(.*)$ http://www.mysticania.x10.mx%{HTTP_HOST}/$1 [R=301,L]
RewriteRule ^get/([0-9]+).gif$ /click/siggy/$1 [L]
AlexC
04-09-2013, 06:35 PM
I honestly don't know what the problem is then - I'm not really a very good coder, I just looked it up. xD
Maybe try another website? or ask someone else, sorry.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.