I am trying to redirect a sub domain or just a link... but the option does not want to accept the parth... example: http://www.example.com/#pcode-GF3/ It is refusing to accept the parth "#pcode-GF3/" Is there any other way around this?
Yes that is an anchor in html. Try http://www.example.com#pcode-GF3 Somewhere on the index page should be <a name="pcode-GF3">
Whats the best way to always re-direct "example.com" to "www.example.com" I am not sure I understand the subdomain or alias domain setup....
I usually do that from .htaccess. Try something like the following: Code: # If they try to access us with example.com, reroute them to www.example.com RewriteCond %{HTTP_HOST} ^example\.com RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L] This would go in the .htaccess folder in your base web folder - something like: Code: /var/www/clients/client1/web1/web/.htaccess If you want to force every possible permutation to redirect to www.example.com, take a look at this page: http://www.besthostratings.com/articles/force-www-htaccess.html That link would redirect example.com, mail.example.com, toasteroven.example.com - anything, really - to www.example.com.
I tried that in the /web folder editing the .htaccess of oneof my website but the first time i got an internal error then i tried again and it failed.. It didnt do it
HTML Redirect You can also just do a simple html redirect. Like this Code: <HEAD> <meta HTTP-EQUIV="REFRESH" content="0; url=http://www.wherever.com/"> </HEAD> save it as index.html and you're good. I did this on one of my web servers for a company site that went out of business. Their DNS was still pointed to my server and I could not get it changed. After the domain was deleted, the server continued to get hammered with requests. So I just put the site back up, and redirected it elsewhere! Problem solved.