I have setup a site with all my public facing pages under a Home node.
On the same level of the Home node I have a "Back Office" node which I use for a widget repository, error pages and the like. These pages all have a url.
Is there a way to completley hide the "Back Office" content nodes urls?
Currently if I view the url of a widget, it will redirect to the 404 page, but I dont want the urls to be viewed or to be indexed in search engines.
Take a look at U4-862 and up-vote it if you think this would be a useful addition/change to the core!
Regardless, I think you'll find that (A) as long as you never create any of your own links to this "back-office" node of yourse, then search engines will never find it, and also (B) even if such a link did exist, the fact that it is returning a 404 (because it doesn't have a template) means that the search engine isn't going to index it...
Hide "Back Office" URL Content Node
Hi all,
Is there a way to hide a content node url.
I have setup a site with all my public facing pages under a Home node.
On the same level of the Home node I have a "Back Office" node which I use for a widget repository, error pages and the like. These pages all have a url.
Is there a way to completley hide the "Back Office" content nodes urls?
Currently if I view the url of a widget, it will redirect to the 404 page, but I dont want the urls to be viewed or to be indexed in search engines.
Any help would be grateful.
Martin
You could try these two approaches perhaps....
1) create a robots.txt file in the root of your website, telling any search engine crawlers to not index your widget repository (http://www.javascriptkit.com/howto/robots.shtml), e.g.:
2) redirect any requests to your widget-repository page using the Umbraco routing file found in /config/UrlRewriting.config, e.g.:
Thanks Ian,
I has thought of using the robots file, but was a little unsure of how succesful it would be.
Redirecting the url looks like a bettre way to go.
Thanks again.
Take a look at U4-862 and up-vote it if you think this would be a useful addition/change to the core!
Regardless, I think you'll find that (A) as long as you never create any of your own links to this "back-office" node of yourse, then search engines will never find it, and also (B) even if such a link did exist, the fact that it is returning a 404 (because it doesn't have a template) means that the search engine isn't going to index it...
Best of luck!
Hi,
I was just having a re-think on this as I only used the robot.txt file method suggested.
Using the redirect method, is it possible to redirect all URL's under http://www.mysite.com/repository/ without having to enter every URL.
I have given the user the ability to create widgets, with the url after repository could be anything.
Any help would be grateful
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.