Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect rules with # don't work #140

Open
ktbartholomew opened this issue Jun 8, 2016 · 0 comments
Open

Redirect rules with # don't work #140

ktbartholomew opened this issue Jun 8, 2016 · 0 comments

Comments

@ktbartholomew
Copy link
Contributor

ktbartholomew commented Jun 8, 2016

Relocated from rackerlabs/nexus-control#491 /cc @meker12

@ktbartholomew Just a note regarding issue #489.

I had updated the Monitoring redirect rule to go to the Monitoring doc menu on the docs landing page. When I go to this link that's where it take s me: https://developer.rackspace.com/docs/#rackspace-monitoring,

Also, I should have added the # redirect rule under the rackspace-monitoring developer guide one. Sorry that I broke that redirect.

However, when the rule is implemented, the redirect doesn't come out properly. It replaces the # with %23

I copied this from the SDK rule, which also uses the # tag. That one doesn't work either.

https://developer.rackspace.com/docs/sdks/ takes you to https://developer.rackspace.com/docs/%23docs-managed-vmware-services/

Interestingly, in Firefox, you just get a 404. It doesn't add the %23 to the URL. In Chrome, you get a 404, but you see the %23 in the URL.

Is there a way to create a rule with an anchor tag? Maybe you need to escape it or something.

meker12 added a commit to rackerlabs/nexus-control that referenced this issue Dec 14, 2016
Nexus control bug causes redirect rules with # character to
generate an invalid URL. 
(deconst/presenter#140).
Update product specific api.rackspace.com redirect target
to remove anchor links. Updated targets
direct legacy links to the home page of product API.
robb-romans pushed a commit to rackerlabs/nexus-control that referenced this issue Jan 25, 2018
* removing outdated redirects as the file is read top down

* fixing typo found while going through redirects

* removing pound in link as they don't work with redirects (see deconst/presenter#140)

* fixing typo. Original 404'd instead of redirecting

* fixing too many redirect errors on two sets
@meker12 meker12 closed this as completed Sep 21, 2020
@robb-romans robb-romans reopened this Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants