[ 
https://issues.apache.org/jira/browse/SOLR-10595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16005522#comment-16005522
 ] 

Hoss Man commented on SOLR-10595:
---------------------------------

the only downside to the javascript approach is that search engines would never 
"de-index" the cwiki pages in favor of the new ones.

I think the ideal solution would be:

# ask infra to modify the cwiki configs so any 
{{https://cwiki.apache.org/confluence/display/solr/.*}} URLs get rewritten to 
something like {{https://lucene.apache.org/solr/guide/old/*}}
# setup our own rewrite mapping rules for each URL from {{/solr/guide/old/.*}} 
to ... whatever

(doing 2 redirects means we can directly tweak the mappings later if we decide 
we want to, w/o neeing to involve infra)

> 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
>
> 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.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to