× Here you can get community support related to ReDJ.

Redirect links from main to subdomain

More
8 years 11 months ago #4588 by Xadim
Hi,
I move part of my site to subdomain and want some link redirect to this subdomain. For example:
FROM : mysite.com/dossiers-acm.html
TO : mysubdomain.mysite.com/dossiers-acm.html

If he click on a link in a folder, he must be redirect to the same folder in the subdomain. E.g:
FROM : mysite.com/folder-1/xxxx.html
TO : mysubdomain.mysite.com/folder-1/xxxx.html

And to finish, do you have a simple way to do a bulk redirect to this subdomain?
Your help is needed.
Regards

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

More
8 years 11 months ago #4592 by admin
Replied by admin on topic Redirect links from main to subdomain
The first is simple:
From URL: ^/dossiers-acm\.html$
To URL: {scheme}://mysubdomain.mysite.com/dossiers-acm.html
Request only: true (checked)
Skip URL: mysubdomain.mysite.com

Probably you need a rule like this for each folder in the subdomain (there is no common patten to match).

Regards
The following user(s) said Thank You: Xadim

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

More
8 years 11 months ago #4596 by Xadim
Replied by Xadim on topic Redirect links from main to subdomain
I got this error: "The page isn't redirecting properly". Something's probably missing.
Please, can you have a look on my configuration? I can give you an access.

Regards

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

More
8 years 11 months ago #4599 by admin
Replied by admin on topic Redirect links from main to subdomain
Hi,
send me an email at info(at)selfget.com and I will check your settings as soon as I can.

Regards

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

More
8 years 11 months ago #4600 by Xadim
Replied by Xadim on topic Redirect links from main to subdomain
Done!
Thanks in advance

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

More
8 years 11 months ago #4601 by admin
Replied by admin on topic Redirect links from main to subdomain
Ok, we will follow up by email.

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

Time to create page: 0.162 seconds