Questions tagged [canonicalization]

is a process for converting data that has more than one possible representation into a "standard", "normal", or canonical form.

As per Wikipedia:

In computer science, canonicalization (abbreviated c14n, where 14 represents the number of letters between the C and the N; also sometimes standardization or normalization) is a process for converting data that has more than one possible representation into a "standard", "normal", or canonical form. This can be done to compare different representations for equivalence, to count the number of distinct data structures, to improve the efficiency of various algorithms by eliminating repeated calculations, or to make it possible to impose a meaningful sorting order.

197 questions
0
votes
2 answers

PHP - IP Canonicalization test

This is code for getting site's IP $ip = gethostbyname(parse_url('http://www.wikipedia.com', PHP_URL_HOST)); print_r($ip); but, what is the proper way to check with php does the website's IP redirects to site's domain? EDITED: It seems I wasn't…
codexy
  • 413
  • 1
  • 5
  • 18
0
votes
1 answer

MSXML and cannonical XML

Is there a good way to canonicalize XML with MSXML6? I have an XML document that I load into a IXMLDOMDocument object. I need to perform an operation like singing or hashing on the document. I would like to put it into XML canonical form a la…
sam msft
  • 537
  • 6
  • 17
0
votes
0 answers

How to solve IP canonicalization on Google App Engine Services?

I am using Google App engine with Koa.js frameowork, I want to determine what is the ip address that I can use to access my service so that I can implement a redirect in my application. I am doing this because seositecheckup gives me an error /…
0
votes
1 answer

Should the properties of a given REST resource have a consistent order?

RESTful GET requests to a given resource should be idempotent: identical requests should always return an identical result. How is "identical" defined here--are documents with the same properties identical, regardless of the order? Or do I need to…
Stew
  • 4,495
  • 6
  • 31
  • 41
0
votes
2 answers

htaccess Canonicalization for https url (http://www)

RewriteEngine On RewriteCond %{HTTP_USER_AGENT} libwww-perl.* RewriteRule .* ? [F,L] RewriteCond %{HTTPS} off RewriteCond %{HTTPS_HOST} !^www.website.com$ [NC] RewriteRule ^(.*)$ https://www.website.com/$1 [L,R=301] I used this to…
Rahul
  • 311
  • 2
  • 3
  • 8
0
votes
1 answer

Digital signature verification error for accessing webservice

I need to send a digital signature as one the parameters to an external webservice. The steps to create as per documentation is : Create a DOM representation of the XML data Create a canonicalised representation of the DOM data. The canonicalised…
0
votes
1 answer

ASP.NET MVC Lowercase URL doesn't work after Publishing

i have a ASP.NET MVC5 Site running successfully at www.hoxat.com. for SEO purposes , i have used Canonicalize Nuget Package and used following code routes.LowercaseUrls = true; routes.AppendTrailingSlash = false; …
Asad Ali
  • 111
  • 2
  • 7
0
votes
1 answer

How to use canonical tags with a global header

My website uses a global header.php file, which is pulled from all pages on my website using the
Tristan
  • 215
  • 1
  • 2
  • 11
0
votes
1 answer

Java canonical path security

I'm studying Android security vulnerabilities, and since Java is being used, the attacks in the language also need to be addressed. I'm studying from this link. I have a fair idea about canonical paths, absolute paths, and relative paths in Linux.…
gaurav jain
  • 3,119
  • 3
  • 31
  • 48
0
votes
0 answers

Duplicate Page errors with sub domains with same content?

A website I'm working on has sub domains with duplicate content on it. Example: florida.example.com/info california.example.com/info All have the same content on it and moz and web master tools are throwing crawl errors. This is a wordpress site.…
user3330820
  • 501
  • 2
  • 7
  • 17
0
votes
2 answers

URL Canonicalization through .htaccess

I'm trying to redirect http://www.example.me to http://example.me, but for some reason it's not working. Can somebody help me with this by telling what is wrong on my .htaccess file? RewriteEngine On SetEnvIfNoCase…
Marcell Almeida
  • 292
  • 3
  • 9
0
votes
2 answers

Canonical data model

I am building an application that exposes a Rest API and on the backend communicates and orchestrates multiple SOAP services to build the responses to the REST API. I have been reading about Canonical Data Models and how they can help me loosely…
jon lee
  • 887
  • 1
  • 15
  • 32
0
votes
1 answer

Canonical redirect change between app versions

I have an iOS app which connects to an API running on a website. For SEO purposes I want to add a canonical redirect on the website from www.mysite.org to just mysite.org. The current version of the app connects to www.mysite.org/api. In the new…
Sean H
  • 1,045
  • 1
  • 14
  • 32
0
votes
1 answer

Fix IP and URL canonicalization issues on my .htaccess

Am trying to do an IP and a URL canonicalization on my .htaccess for my website(www.mydomain.com.ng) and IP(http://173.254.30.129/) i did the below code but it did not work. RewriteEngine On Options -multiviews RewriteBase / RewriteCond…
0
votes
1 answer

More specific rules for an AWS Canonical Request header list?

The AWS documentation here seems to have somewhat confusing, incomplete or contradictory information. It states that CanonicalHeaders is a list of request headers with their values. Which suggests that we'd put all request headers in the canonical…
limp_chimp
  • 13,475
  • 17
  • 66
  • 105