Hello,

I have searched the issues, but I cannot seem to find this problem addressed.

I have used Rules to activate a redirect on page view. I have redirected the existing url to the author's profile's URL using the token [user:account-url].

However, my final redirected URL has two slashes: example.com<strong>//</strong>user/author-name

This works, but is there any way to fix this?

Comments

haopei’s picture

Oops, the final url above is supposed to be:

example.com//user/author-name (without the strong tags; I forgot that I cannot enter tags withing code tags)

:)

haopei’s picture

Issue tags: +redirect
haopei’s picture

Issue tags: +token, +slash
haopei’s picture

*bump*

mitchell’s picture

Component: Provided Rules integration » Rules Core

Closing old issues. Reopen of need be.

seanr’s picture

Version: 6.x-1.3 » 7.x-2.x-dev
Category: support » bug

This is still a problem. Doesn't break anything for me at least, but it's really ugly and annoying. Took a quick look, but I can't find where in the code this action is even provided. :-/

tr’s picture

Category: Bug report » Support request
Issue summary: View changes
Status: Active » Closed (cannot reproduce)
Issue tags: -token, -redirect, -slash

Can't reproduce this with current D7 Rules. No user: tokens available in the path redirect action, use [site:login-url] instead.