× Here you can get community support related to ReDJ.

possible to redirect from .nl to .com website?

  • monique67
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 2 months ago #3532 by monique67
I am building a new website and changing the adress to mysite.nl to mysite.com. Is it possible to redirect with ReDJ?

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #3537 by admin
Hi,
this can be done with ReDJ if it can intercept the old requests (i.e. Joomla and ReDJ receive also the old .nl requests). But this can be also done with a simple directive in your .htaccess file (on Apache web server):
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysite\.nl$ [OR]
RewriteCond %{HTTP_HOST} ^www\.mysite\.nl$
RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds