monkeysteez Posted April 7, 2010 Share Posted April 7, 2010 I have searched on google and here for a while and have not come up with a solid answer/solution and I have been playing with .htaccess files for about 4 hours now. If I have an .htaccess file in my root folder that changes non wwws to wwws then I can't login into the backend. I have to change the name of my .htaccess temporarily to access the backend then switch it back when I am done. I know there is an .htaccess file in the admin section of the site but I am not sure if that is the correct file to edit. What should I do to fix this? Different .htaccess code or is there some way to do this using OScommerce? Also I have one more similar question. I had an old domain that I am going to continue paying for but I just bought a new one that is much easier to SEO because it contains our keywords. Currently all the static links in my site go to the old domain, I can change the configure.php file to the new one but is there any way to setup a permanent redirect to the new domain that will direct all clicks to this new domain? would this be done in the .htaccess file as well? Thanks in advance for the n00bish question. Link to comment Share on other sites More sharing options...
spooks Posted April 7, 2010 Share Posted April 7, 2010 I have searched on google and here for a while and have not come up with a solid answer/solution and I have been playing with .htaccess files for about 4 hours now. If I have an .htaccess file in my root folder that changes non wwws to wwws then I can't login into the backend. I have to change the name of my .htaccess temporarily to access the backend then switch it back when I am done. I know there is an .htaccess file in the admin section of the site but I am not sure if that is the correct file to edit. What should I do to fix this? Different .htaccess code or is there some way to do this using OScommerce? any htaccess rules places in the root will apply to the whole site unless sub-dirs contain htaccess files, in which case rules within those will superseed the previous. But if you just add www. to your admin configure file defines as apropriate, your issue will go. Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
monkeysteez Posted April 7, 2010 Author Share Posted April 7, 2010 Works perfectly! Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.