Hi all, I bought a templatemonster template. I loaded it up and i'm starting to edit. When I type my url though, it enters as http://mysite.com. Does anyone know how I can configure this so it executes http://www.mysite.com. I looked through the template and can't seem to figure out what to do to make this work. Thanks much
you need to edit the url http://mysite.com in your html editor and make it point to your website. hope that helped
we'll..not sure where to edit that. I checked my index.html, I can't find anything which defines how the URL should execute.
Are you executing that url in your browser or viewing it through an editor? Is there an attached js/javascript file in that template that can redirect the url? Are you uploading it to a web host which is configured to change the url automatically?
Hey i got your problem. The error that u r facing needs 301 redirection. The person who has designed your site, might have given you the details of control panel of your site. Or you can directly contact them for this. They can guide you up..
Thanks for the replies, mkda, i'm executing the url in my browser. I'm with hostgator as my host. I checked my 301 redirect in my admin panel and I configured it to redirect to www. The thing is, it takes longer to load the website though. Is Is there any other way I can run this site without having to 301 redirect every request? I have a .htaccess file....do I need one for every domain on my account though?
the template has nothing to do with your address. As posted above you need to edit your .htaccess file that is on the server (you do need to do this for any original domain name that you have) do a search for www vs non-www and you will get all the info you need on how to do this. It is probably running slow for you because you made the change is your control panel and no the .htaccess file
Simple, imput this into your .htaccess: Redirect /olddirectory/oldfile.html http://yoursite.com/newdirectory/newfile.html Code (markup):
Redirect non-www to www Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^yoursite.com [NC] RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301] Code (markup):