Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: What to put into .htaccess to (re)direct incoming traffic to ...
maniqui wrote:
You mean, to remove the trailing slash?
No … isn’t it possible that although the real url path is: www.marijevijselaar.nl/www.duodyade.nl … the browser only shows www.duodyade.nl … ??
Offline
Re: What to put into .htaccess to (re)direct incoming traffic to ...
No.
Or better said: that’s not a task to be done via rewrite rules. I see the advice you got in SO, but I’m not sure if the [P] flag will work in this situation. Also, that solution from SO requires mod_proxy enabled, so you should check first with your hosting company to know if that module is available to you.
That said, what you are trying to do is easier to be done if one of this:
- you can configure the DocumentRoot for www.duodyade.nl to be
/path/to/marijevijselaar/www.duodyade.nl/. This may be doable from the hosting’s control panel. If the website is hosted a cheap shared hosting this kind of setup is usually not possible, but you will have to check. - host the duodyade.nl website in another hosting account (it could be on the same hosting).
Offline
Re: What to put into .htaccess to (re)direct incoming traffic to ...
Ok … thanks so far @maniqui … I really appreciate your help.
Offline
Re: What to put into .htaccess to (re)direct incoming traffic to ...
You are welcome. Feel free to ask here if you don’t find the way to solve this.
Offline