Hashtags in Webhelp output
Oxygen general issues.
-
- Posts: 8
- Joined: Mon May 04, 2015 10:51 pm
Hashtags in Webhelp output
Post by ashleybrown415 »
Hi,
The oXygen webhelp output uses hashtags as a separator, but google doesn't index them properly and they're causing a bunch of problems for our team. Can I change this setting somehow? Ideally, the #s would just be dropped altogether, i.e.
http://docs.localytics.com/#Dev/Instrum ... -mode.html
would become
http://docs.localytics.com/Dev/Instrume ... -mode.html
Thanks in advance to anyone who can help!
Ashley
The oXygen webhelp output uses hashtags as a separator, but google doesn't index them properly and they're causing a bunch of problems for our team. Can I change this setting somehow? Ideally, the #s would just be dropped altogether, i.e.
http://docs.localytics.com/#Dev/Instrum ... -mode.html
would become
http://docs.localytics.com/Dev/Instrume ... -mode.html
Thanks in advance to anyone who can help!
Ashley
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Hashtags in Webhelp output
Post by sorin_ristache »
The hash characters (the #'s) should not be removed from the address of the WebHelp pages and from the links to other WebHelp pages.
Google will index properly the pages that have a # in the address if you override in your custom Google Analytics code the default page value by adding a call like this one:
as explained on the Analytics website.
Google will index properly the pages that have a # in the address if you override in your custom Google Analytics code the default page value by adding a call like this one:
Code: Select all
ga('send', 'pageview', { 'page': window.location.pathname + window.location.search + window.location.hash});
Regards,
Sorin
<oXygen/> XML Editor Support
Sorin
<oXygen/> XML Editor Support
-
- Posts: 8
- Joined: Mon May 04, 2015 10:51 pm
Re: Hashtags in Webhelp output
Post by ashleybrown415 »
Is there a way for us to fix this behavior, where an incorrect link including a hashtag causes the site to load inside itself?
Thanks!
Ashley
Thanks!
Ashley
-
- Posts: 8
- Joined: Mon May 04, 2015 10:51 pm
Re: Hashtags in Webhelp output
Post by ashleybrown415 »
Also, could you clarify how it could be that the change you're suggesting would affect Google search results, since Google search crawlers can't & don't read javascript? It's hard to imagine how the change could impact how our site reads & routes URL requests. Many of our customers come to our site via Google search, so it's vital that the links are indexed properly.
Thanks!
Ashley
Thanks!
Ashley
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Hashtags in Webhelp output
Post by sorin_ristache »
I can't find that behavior of the site loading inside itself. How can I see that in the browser on your site? What links do I have to click?ashleybrown415 wrote:Is there a way for us to fix this behavior, where an incorrect link including a hashtag causes the site to load inside itself?
What browser name and version do you use?
Regards,
Sorin
<oXygen/> XML Editor Support
Sorin
<oXygen/> XML Editor Support
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Hashtags in Webhelp output
Post by sorin_ristache »
Google clarified it on their website. Please see the note about overriding the default page value.ashleybrown415 wrote:Also, could you clarify how it could be that the change you're suggesting would affect Google search results, since Google search crawlers can't & don't read javascript?
The change that I suggested will only impact how Google will index the WebHelp pages that are loaded by a URL that includes a hash character.ashleybrown415 wrote:It's hard to imagine how the change could impact how our site reads & routes URL requests.
Regards,
Sorin
<oXygen/> XML Editor Support
Sorin
<oXygen/> XML Editor Support
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service