I'm trying to permanently redirect all
http://www.mydomain.com/something/ urls to
http://mydomain.com/something/ (so the file path is kept)

I've tried the following in my domtool file for my domain:

  web "www" with
    rewriteRule "^(.*)$" "http://mydomain.com$1"; [redirectWith permanent]
  end;

(I found a similar rule at
http://wiki.hcoop.net/DomTool/Examples/Full#spinlocksolutions.com, but
with 'secure' instead of 'www') However doing this results in
http://mydomain.com/ showing the hcoop.net home page (so I have now
removed the above code from the domtool file)

Any suggestions?

_______________________________________________
HCoop-Help mailing list
[email protected]
https://lists.hcoop.net/listinfo/hcoop-help

Reply via email to