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
0 answers

Canonicalization : I want to know if it's a device name or a file name but everytime I'm getting regular expression mismatched

Everytime I enter a wrong filename, its going to Regular Expression mismatched. Where am I doing wrong is it the regular expression or something else. Why r is always matching REG_NOMATCH char fname[128], rlpath[PATH_MAX-1]; int r; regex_t…
user3192813
  • 3
  • 2
  • 6
0
votes
1 answer

CXF / XML-Signature: How to change the canonicalization algorithm?

I am writing a simple CXF client and server with a little bit of WS-Security (XML Signature). So far so good. ... outProps.put("signatureParts", "{Element}{" + WSU_NS + "}Timestamp;" +…
Frizz
  • 2,524
  • 6
  • 31
  • 45
0
votes
1 answer

Canonical Cover example

I'm learning for my exams in the course databases and have some problems with the functional dependencies. So I got the functional dependencies: A->BE, AE->BD, F->CD, CD->BEF, CF->B After decomposition and left-reduction I get: A->B, A->E, A->D,…
Kingalione
  • 4,237
  • 6
  • 49
  • 84
0
votes
1 answer

Canonicalization of php system

I'm trying to get rel=canonical to work on my site, a php cms system called tomatocart. I'm using this php snippet which does create the correct url, however it shows the url on the page and it does not place it in the Head area where it should be.…
0
votes
1 answer

Domain & subdomain canonical URL

I have a website where content on few subdomains is the same as on main domain. The reason for this is that I run an affiliate program. For example affiliate1.mydomain.com has same content as mydomain.com (except different style). What I would like…
Byteme
  • 589
  • 2
  • 6
  • 10
0
votes
0 answers

Is Canoncialize package breaking oAuth in my mvc app?

I've been using Schourode's Canoncialize package to ensure all urls are lowercase. I find it really convenient and would like to continue using it. https://github.com/schourode/canonicalize But I hit a snag when using OAuthWebSecurity. The…
Martin Hansen Lennox
  • 2,837
  • 2
  • 23
  • 64
0
votes
1 answer

URL Canonicalization for WordPress site

I have the website drwagenberg.com which can open on both URLs: http://www.drwagenberg.com/ http://drwagenberg.com/ I want to canonicalize the URL http://drwagenberg.com/, so that whenever the user types this URL it automatically makes it…
Zahid Khan
  • 1,250
  • 3
  • 15
  • 31
0
votes
1 answer

C# why XmlDsigC14NTransform remove all whitespaces from xml

I have problem with XmlDsigC14NTransform. I trying to repeat example from http://www.di-mgt.com.au/xmldsig2.html (part Compose the canonicalized SignedInfo element and compute its SignatureValue) but my code loses whitespaces from xml and i cant…
Frank59
  • 3,141
  • 4
  • 31
  • 53
0
votes
1 answer

.htaccess 301 redirect to www issue

I am trying to redirect all from non-www to www. So example.com redirects to www.example.com I enabled Rewrite Engine in Apache and added this to .htaccess: RewriteEngine on RewriteCond %{HTTP_HOST} ^example\.com$ RewriteRule ^(.*)…
Cyrus
  • 7
  • 6
0
votes
2 answers

Redirect /index.php from the end of the URL

Have a website with subpages all in this format: mydomain.com/something That's fine. But what is NOT fine is that you can also do mydomain.com/something/index.php (you can enter address in this format into your browser) and you still get the…
Mordor
  • 485
  • 2
  • 4
  • 14
0
votes
1 answer

Removing html extentions and add trailing slash to files on all directories without affecting internal urls

I am using the code in below to redirect index.html and non-www version of URL to www. It also removes *.html extensions from the files. Now, I would like to add a trailing slash at the end of the files across all directories. Following are the…
0
votes
1 answer

Use ALGO_ID_C14N11_OMIT_COMMENTS in xades4j

I need to sign my documents using ALGO_ID_C14N11_OMIT_COMMENTS and ALGO_ID_C14N11_WITH_COMMENTS canonicalization. Can you tell me what should I change to xades4j to permit this (Isimply need xades_bes and xades_t, no verification by now). Should I…
Michele Bortolato
  • 707
  • 2
  • 11
  • 27
-1
votes
1 answer

IIS10 UrlRewrite, multiple canonical TLD's & non-canonical sub-domains + HTTPS

I'm having some trouble with URL rewrite. I have a website that hosts multiple child sites all within the same Site in IIS10. The primary site has 3 TLD's that should redirect to a primary canonical TLD. On the same site there are multiple…
UserSN
  • 953
  • 1
  • 11
  • 33
-1
votes
1 answer

How to Remove the IP canalization using .htaccess file

Recently I have gone through my website with some SEO tools and they suggest that I remove my IP canalization using .htaccess file, but I don't know how to remove this using .htaccess file code. What does this mean?
-1
votes
1 answer

Choosing a canonical version

I'm running a website that uses an SSH certificate. This leaves for potential CNames: https: //example.com https: //www.example.com http: //example.com http: //www.example.com From an SEO perspective I understand that it's best to choose one and…
Doug Fir
  • 19,971
  • 47
  • 169
  • 299
1 2 3
13
14