× Here you can get community support related to ReDJ.

Redirecting folder + to root

  • 4FootyFans
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #6790 by 4FootyFans
Redirecting folder + to root was created by 4FootyFans
Hello

I would like to redirect my backup site (which Google are incorrectly crawling) to the Live site (root).

e.g.

www.tld.com/back/store/category/sub-category/product

to

www.tld.com/store/category/sub-category/product

And, generally, /back/* to /*

So, /back is the directory which holds the backup.

Thanks

Eddie

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

More
6 years 3 months ago - 6 years 3 months ago #6792 by admin
Replied by admin on topic Redirecting folder + to root
Hi,
assuming that ReDJ is installed on the backup site, create a rule as follow (literally):
From URL: ^/back/
To URL: {scheme}://{siteurl}{pathltrim /back}{queryfull}

Kind regards,
Luigi
Last edit: 6 years 3 months ago by admin.

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

  • 4FootyFans
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #6793 by 4FootyFans
Replied by 4FootyFans on topic Redirecting folder + to root
Thanks Luigi.
I had it installed on the Live site only.
Best
Eddie

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

More
6 years 3 months ago #6796 by admin
Replied by admin on topic Redirecting folder + to root
U're welcome Eddie!

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

Time to create page: 0.160 seconds