View Single Post
  #3  
Old 08-04-2009, 09:22 PM
arlecchina arlecchina is offline
Member
 
Join Date: Feb 2009
Posts: 65
Credits: 3,689
arlecchina
Default RE: Removing www. from url

Quote:
Originally Posted by BMR777
It shouldn't be auto-adding a www. to the links. What links in particular is this happening on? I can take a look at the code for those specific links. Also, in inc > config.php your domain doesn't have www. in it, correct? :)
There's no www. in the domain.
PHP Code:
$domain 'localhost';                //Your domain name (No http, www or . )
$scriptpath 'directory';        //The folder you installed this script in 
I was only assuming that it was the www. that is the problem. But now since you said that the www. isn't automatically inserted...i'm not sure what the problem could be.

I am using WAMP.
I know that the config.php file is correct regarding database, database user and password. I am unsure if I am inputting the right "domain" (in quotes since it's not a domain...it's local host) and directory.

When you go the site locally it's supposed to be

http://localhost/directory/

however I get a 500 Internal Server Error.

Any ideas why?
Reply With Quote