Using a canonical link with non-duplicate pages


HOME ยป Webmasters

I want to use canonical tag for index.php and all versions of index.php below: index.php index.php?something index.php?somethingsomething I also have URLs like:someproduct.html However, I am using packaged software and cannot add a canonical link to just index.php and its variations, the software will also add it to someproduct.html. Do you know how Google will respond to someproduct.html page if I do this?

Related to : Using a canonical link with non-duplicate pages
How to add canonical tags in wordpress category/archive pages?
Webmasters

I think wordpress auto generate canonical tags for the single post pages (I am using wp 3.3.2 ). But it is not in category or archive pages. How should I add canonical tags to those pages?


I have tried following code in header.php file


$path = $_SERVER['REQUEST_URI'];
$uri = "http://www.mydomain.com" . $path;
print('<link rel="canonical" href="' . $uri . '"/>');

But this give just the request URL not the master/parent URL of the page.
I just want to get canonical tags from the wordpress same as single post page did. Not like this kind of custom code. An

Duplicate wordpress pages - I need to strip the -2/ suffix from duplicate pages using .htaccess
Webmasters

Frustrating because it seems like it should be simple.


Client had a data snaffu and a lot of merged pages in Wordpress.


domain.com/king-2
domain.com/king


are the same page.


Client wants to redirect all the -2 pages to the non -2 pages


So:


domain.com/king-2 -> domain.com/king


How could i use .htaccess to set up a rule to do this for all -2 pages?


Thanks...


Canonical URL link
Webmasters

I am using a canonical url link


<link rel="canonical" href="http://test123.com" />

to avoid duplicate content issues between http and https versions of a site.
At the moment I have it set up that both the http and https versions have the canonical link in the head section.


Is this correct or should I only have the canonical link in the head section on the https version and nothing on the http version? Or does it matter either way?


(I want bots to index my http version and not my https version).


Canonical phpinfo() Link Thread!
Webmasters
Canonical phpinfo() Link Thread!
 
I find that lots of hosts don't put the link to a phpinfo() script on their websites, even though that would save everyone a lot of unnecessary questions.
So I figure we should have a thread where people can add links to phpinfo scripts on their own hosts, or hosts where they happen to have the URL of a phpinfo script.
For those of you who own your own web hosting services, here's a chance to show off all your installed goodness, and all it takes is placing a simple link here (and put one in your FAQ section on your web site too, for the love of
canonical tag can it be used on all pages
Webmasters
Im working on a site that has had an seo expert review it.They have advised me that we should apply canonical tags on every other page http://www.domainname.com/detail/table&r=dining-room <link rel="canonical" href="http://www.domainname.com/detail/table"/> is it really required that the canonical tag only appear on every other page, or will it play nicely if it appears on the same page ?The reason I ask this is... isnt the link also telling Google that it is infact on the r
Using a canonical link with non-duplicate pages
Webmasters
I want to use canonical tag for index.php and all versions of index.php below: index.php index.php?something index.php?somethingsomething I also have URLs like:someproduct.html However, I am using packaged software and cannot add a canonical link to just index.php and its variations, the software will also add it to someproduct.html. Do you know how Google will respond to someproduct.html page if I do this?

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .