Forwarding to another domain: via .htaccess and Redirect
Step 1:
Create a file named .htaccess on the webspace (dot in front, without an extension).Note: This redirect method works only with an all-inkl private package and redirects to another domain. In the browser address bar, the target address appears after the redirect.
Step 2:
Redirect to another domain:Redirect 301 / http://zieldomain.de/
301 and http://zieldomain.de/ please replace with the status code and the redirect domain you want.
Here’s a selection of possible status codes and what they mean:
Status 301 Moved Permanently
The requested page is from now on permanently available under a new address.
Status 302 Found (Moved Temporarily)
The requested page is temporarily available under another address. The old address stays valid though. Browsers usually follow up with the GET method, even if the original request was a POST.
Status 307 Temporary Redirect
The requested page is temporarily available under another address. The old address stays valid though. The same method should be used as with the original request. That means: a POST is followed by a POST too.
Step 3:
Redirect to a subdirectory:
Redirect /index.htm http://zieldomain.de/verzeichnis/
Edit the entry http://zieldomain.de/verzeichnis/ according to the redirect domain you want.
If the redirect is for a subdirectory, then specify it, e.g.:
Redirect /verzeichnis/index.htm http://zieldomain.de/verzeichnis/
Step 4:
The domain call should now forward the visitor to the target. If that doesn’t work, please clear your browser cache and then try the call again.Search in support and FAQ