× Here you can get community support related to ReDJ.

Remove Trailing Period

  • shaoen01
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 11 months ago - 10 years 11 months ago #2799 by shaoen01
Remove Trailing Period was created by shaoen01
Hi,

Tried a couple times on my own, but can't seem to get my redirect working.

Due to some redirection on higher domain level, the website can include a trailing period before the "/" at the end.

E.g. www.my-website.com./

It should become: www.my-website.com/

I would want to remove trailing period right after the ".com" and before the "/".

If there are additional queries behind, everything else should remain the same but the "." trailing period should be removed.

E.g. www.my-website.com./article-id=3&itemId=300

It should become: www.my-website.com/article-id=3&itemId=300

How should i do this? Thanks!
Last edit: 10 years 11 months ago by shaoen01.

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

More
10 years 11 months ago #2805 by admin
Replied by admin on topic Remove Trailing Period
Try this:
From URL: www\.my-website\.com\.
To URL: http://www.my-website.com{path}{queryfull}
Request only: false (unchecked)

Kind regards,
Luigi
The following user(s) said Thank You: shaoen01

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

  • shaoen01
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 11 months ago #2807 by shaoen01
Replied by shaoen01 on topic Remove Trailing Period
Thanks, it works!

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

More
10 years 11 months ago #2810 by admin
Replied by admin on topic Remove Trailing Period
U're welcome :)

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

  • shaoen01
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 11 months ago #2822 by shaoen01
Replied by shaoen01 on topic Remove Trailing Period
I tried another scenario like below with the trailing period after the "com", but it doesn't seem to remove it? Below is a sample url:
www.my-website.com./folder1/sef1

Any comments? Thanks

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

More
10 years 11 months ago #2823 by admin
Replied by admin on topic Remove Trailing Period
Hi,
the rule we created should redirect also this URL. If not, there's something wrong and I need to check your settings. You can post here or send me at info(at)selfget.com a dump of the ReDJ rules table.

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

Time to create page: 0.158 seconds