codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[docs] HTTP redirects



> On Nov 17, 2020, at 2:45 PM, Peter Matulis <peter.matulis at canonical.com> wrote:
> 
> Hi,
> 
> So I followed instructions [1] to implement redirects and it's not working. Please let me know where I went wrong:
> 
> https://review.opendev.org/#/c/763067/ <https://review.opendev.org/#/c/763067/>
> 
> Shouldn't the first URL redirect to the second?
> 
> https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/config-openstack.html <https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/config-openstack.html>
> https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/configure-openstack.html <https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/configure-openstack.html>
> 
> Thanks,
> Peter
> 
> [1]: https://docs.openstack.org/doc-contrib-guide/redirects.html <https://docs.openstack.org/doc-contrib-guide/redirects.html>
Youâ??ve followed the steps to put the redirects in your repo, but not to enable redirects for the published project.

You need to edit https://opendev.org/openstack/openstack-manuals/src/branch/master/www/project-data/latest.yaml#L859 <https://opendev.org/openstack/openstack-manuals/src/branch/master/www/project-data/latest.yaml#L859> as described in https://docs.openstack.org/doc-contrib-guide/redirects.html#enable-detailed-redirects-for-your-project <https://docs.openstack.org/doc-contrib-guide/redirects.html#enable-detailed-redirects-for-your-project>

It is also possible that the redirect rules that have been added in the patch you linked to wonâ??t do what you expect. All of the other example redirects use the full path from the root of docs.openstack.org <http://docs.openstack.org/>.

Doug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20201117/def8c981/attachment.html>