There is a page with two domains:
www.exampleone.com
www.exampletwo.com
I need to redirect to the start page:
www.exampleone.com to www.exampleone.com/#!/news.html
www.exampletwo.com to www.exampletwo.com/#!/news.html
and last but not least: for each page I need to redirect, for example: www.exampleone.com/about.html to www.exampleone.com/#!/about.html www.exampletwo.com/about.html to www.exampletwo.com/#!/about.html
I really don't know how to solve this, should I use Javascript or .htaccess? for the last redirect in my example is it better to use conditions? but how?
any ideas?
Note. The content is loaded using ajax, so the index page is always the same, so the /#!/... thing.
EDIT: direct, there are live addresses http://www.jester04.ch or http://www.jester04baden.ch , the redirection of the start page is solved, as you can see in the js file, but for the redirection /#!/ I still need help, thanks.
source share