my site works both way www. and none.
When I enter www.mysite.com and then I click some link, it changes to mysite.com( no www). How can I redirect all this links to work with www?
Thanks
my site works both way www. and none.
When I enter www.mysite.com and then I click some link, it changes to mysite.com( no www). How can I redirect all this links to work with www?
Thanks
Thanks Kobra for reply. I'm sorry but I was not able to fix it. Fiirst of all I was able t to find only one configure.php page which is in admin. I was not able to find second one and also I was not sure which line I need to edit.
Also .htaccess was in admin folder and not in main. I have yahoo webhosting and it doesn't allow dot in front of htaccess; therefor I rename it to htaccess. do you think it would couse problem?
one in /includes the other in admin/includesFiirst of all I was able t to find only one configure.php page which is in admin. I was not able to find second one and also I was not sure which line I need to edit.
Admin
otherCode:define('HTTP_SERVER', 'http://www.xxxx.com'); define('HTTPS_SERVER', 'https://www.xxxx.com'); define('HTTP_CATALOG_SERVER', 'http://www.xxxx.com'); define('HTTPS_CATALOG_SERVER', 'https://www.xxxx.com');
Code:define('HTTP_SERVER', 'http://www.xxxx.com'); define('HTTPS_SERVER', 'https://www.xxxx.com');Do not mess with that oneAlso .htaccess was in admin folder and not in main.
That is a issue as it is the "dot" that enables it on a 'nix serverI have yahoo webhosting and it doesn't allow dot in front of htaccess; therefor I rename it to htaccess. do you think it would couse problem?
What type of server does YaHoo provide?
And why are you messing with YaHoo anyway?
Zen-Venom Get Bitten
Well I was uploading zen cart into yahoo webhosting( the regular one, not e-comerce one) it didn't let me to upload that file so I have to rename and then it let me to upload. So, do you think I still have to edit .htaccess for redirect or since it already carries other name (without dot) I don't have to touch it?
Besides main url rest of them I fixed. All pages fixed, beside mysite.com doesn't redirect to www.mysite.com, but when i click any like from mysite.com (it's good) it goes to www.mysite.com/myfolder
What kind of server?
Zen-Venom Get Bitten
To be honest, I'm new I don't know that much, but it is yahoo web hosting, unlimited space. it is just basic one.
I just found out that all pages are being forward to www.mysite.com except new product page. New Porduct page is still mysite.com. Any Idea why?
Bookmarks