How does github keep a loaded page while changing URLs? - url

https://github.com/ether/pad/tree/master/etherpad
If you click on that, then go to "bin", the URL changes, but the page doesn't reload.. how is this possible? It's not #'d!

It is some new html5 candy: history api. Also, here is an article where the github team explains the full implementation.

Related

Umbraco 7.4 URL Redirect Feature

Is there an available URL redirect for Umbraco 7.4? I mean I'm aware that there is a URL Redirect Management Tools in Umbraco 7.5 but we are using the lower version and it doesn't have that. Is there a way to achieve the same result? The scenario is this.
We created an web.com/about-us page. Now this is cached in google search now.
We then decided to change about-us to corporate now the cached version is still pointing to about-us where in fact the new URL now is web.com/corporate
How can I achieve a URL redirect? If someone manually typed or clicked on the cached url like about-us how can Umbraco 7.4 redirects it to the correct site? Would appreciate a step by step process if possible since I'm still new in Umbraco
you can use something like SEO Checker to manage this for you - there are also other plugins available that can do the redirection management.
https://our.umbraco.com/packages/website-utilities/seo-checker
As my first post has been hidden due to lack of detail, which is understandable, I am adding this new answer with more details.
We use UrlTracker for our projects - it is a nuget package that you install and then you can start using it. This can help.
The Url Tracker is used to manage URLs within umbraco and it automatically tracks URL changes, for instance when a node is renamed, this makes sure the old URL will redirect to the new location. Using this; you can also create your own redirects, based on a simple URL or using a Regex pattern. This is especially handy while migrating existing indexed URLs to your new website.
Please check this umbraco package web page for more details. Alternative links can be found below, hope this helps.
https://24days.in/umbraco-cms/2013/sharing-is-caring/
https://www.marceldigital.com/blog/2017/08/5-umbraco-seo-packages-you-need-right-now

Customize the TFS web dashboard

Like the title says, how can I customize the web dashboard in TFS 2012? I have created my own Work Item Type and would like a shortcut on the home page of Team Web Access. I am using the default Team Web Access page and I would just like to have a shortcut button immediately on the front page instead of in a dropdown, which is where it's contained now.
Thanks!
There is no supported way to do this. In TFS 2015 they have the concept of Web Extensions, but that is only for specific extension points which doesn't include changing the home page.
You can do it in an unsupported manner, but I wouldn't recommend it. You can find the ASPX/CSS/JS files on the server that TFS uses for the web site and hack away at them. I've known people that have done this before. But there are probably repercussions when it comes time to upgrade.
For posterity, I've found a dirty solution to do this without cloning the website and gutting it (as described here: http://awaitwisdom.com/how-to-extend-tfs-team-web-access/). Note that this solution is really dirty and may not fit your project needs.
The solution works by swapping the default work item options (based on the process template you are using).
Use WITADMIN to export your Categories into an XML. Find a work item currently on the front page that you're okay with swapping out for the work item you want to be on the front page. Change "DEFAULTWORKITEMTYPE" to "WORKITEMTYPE" in the tags. Add a new entry: and it should show up as one of the shortcut buttons on your home page.
I highly recommend doing your modifications with Microsoft TFS Power Tools 2012.

How to create multiple wiki pages in Bitbucket and see/edit them later?

I could create multiple wiki with '+new' link, but after creating it, there is no easy way to see this new page from repository home page. Only 'home' (default) wiki is available. Am I missing something ?
In github, this feature intuitive and pretty straight forward. You can see all you wiki pages with the 'pages' link.
You can more or less reproduce the "pages" page from github by replacing the text in the root page by the following:
<<toc / >>
Though their does not appear to be a feature that lists all the created wiki pages on bitbucket, you could clone the wiki repository in order to view and edit each wiki page as a separate file. The command to clone a wiki is something like:
hg clone https://<user>#bitbucket.org/<user>/<project>/wiki
To create a wiki page- In your bit bucket account firstly create a repository , after that inside your repository click on wiki link. you will see + create page button. click on it. and start writing your wiki page.
To see your old wiki pages- firstly select your repository , go to wiki link. then you see your repository name / Home. click on this repository name which is hyperlink to list of all wiki pages. here you can view your old wiki pages.
This feature is currently broken. Follow Issue BB-6368 for the fix.
More information here

duplicate url+content generation problem

In my current site I have a link in the header section for skype, Gtalk, MSN chat, by clicking on the link the chat application get launched.
The problem is that, the link uses a href tag. and by doing this the SEO process is facing problem as there is some duplicate url have been created. In SEO process if different URLs have the same content the process not works.
Any suggestion from coming out from this problem.
One simple way to remedy this is add this adding a element with the attribute rel="canonical" to the section of the non-canonical version of the page.
More information please go to http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=139394
make them js url (with the js function in an external script)

How do I hide the My Site Link in SharePoint 2007?

I would just like to hide the link and keep the other links like Welcome name and My Links. I just want to hide the My Site link, but I do not want to remove it from the site.
Thanks.
You should be able to remove the link from your master page; it looks like this:-
<SharePoint:DelegateControl ControlId="GlobalSiteLink1" Scope="Farm" runat="server"/>
<SharePoint:DelegateControl ControlId="GlobalSiteLink2" Scope="Farm" runat="server"/>
<wssuc:Welcome id="explitLogout" runat="server"/>
it's the second link...
You might find this useful
http://www.heathersolomon.com/blog/articles/BaseMasterPages.aspx
edit---
I should have added that you should not delete the link only comment it out.
See Disable MySite and MyLinks in Sharepoint (MOSS) 2007 by Michael Van Cleave.
Note: for all users you specify, this will remove My Links from all web sites of all web applications that use the Shared Service Provider.

Resources