[
https://issues.apache.org/jira/browse/SOLR-10595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16082213#comment-16082213
]
Cassandra Targett commented on SOLR-10595:
------------------------------------------
bq. Which begs the question whether we should establish a version-less URL for
the ref-guide
This already exists - put in
https://lucene.apache.org/solr/guide/coreadmin-api.html and it redirects to
https://lucene.apache.org/solr/guide/6_6/coreadmin-api.html. There is a rule in
.htaccess to redirect to the proper version, which will change as new versions
are released:
{code}
RedirectMatch temp /solr/guide/(?!index.html)([a-z].*) /solr/guide/6_6/$1
{code}
I can't remember what issue I did that on, but it was around the time of the
6.6 release.
> Redirect Confluence pages to new HTML Guide
> -------------------------------------------
>
> Key: SOLR-10595
> URL: https://issues.apache.org/jira/browse/SOLR-10595
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: documentation
> Reporter: Cassandra Targett
> Attachments: new-page-urls.txt, page-tree.xml
>
>
> Once the new Ref Guide is live, we may want to redirect pages from Confluence
> to the new HTML version.
> I'm undecided if this is the best idea, I can see pros and cons to it. On the
> pro side, I think it helps firmly establish the move away from Confluence and
> helps users adjust to the new location. But I could see the argument that
> redirecting is overly invasive or unnecessary and we should just add a big
> warning to the page instead.
> At any rate, if we do decide to do it, I found some Javascript we could tell
> Confluence to add to the HEAD of each page to auto-redirect. With some
> probably simple modifications to it, we could get people to the right page in
> the HTML site:
> https://community.atlassian.com/t5/Confluence-questions/How-to-apply-redirection-on-all-pages-on-a-space/qaq-p/229949
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]