![]() |
The urls
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.?
|
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. |
Thanks, how exactly could I edit the code to do that. (Sorry I have next to no experience with coding.)
|
There is an article here on how to do it and some more information for reading;
http://dense13.com/blog/2008/02/27/r...with-htaccess/ |
Thanks! <33
|
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] |
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. |
All times are GMT -5. The time now is 12:47 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.