wzhao6898 Posted March 29, 2010 Share Posted March 29, 2010 Hi there,I've configure the Canonical URL module to set thehovercam.com to be the canonical URL. From what I understand, now all the traffic directed to www.thehovercam.com is now redirected to thehovercam.com, but it doesn't seem it's doing that.Is there anything else I need to set before this will work?Thanks,David Link to comment Share on other sites More sharing options...
rocky Posted March 29, 2010 Share Posted March 29, 2010 I think you've misunderstood the purpose of the canonical URL module. It doesn't automatically redirect pages. The only thing it does is add the following to the header of your website: <link rel="canonical" href="{$canonical_url}" /> where {$canonical_url} is what you entered on the configuration page. To automatically redirect pages, you'll need to manually modify your .htaccess file. See my post here for how to do that. Link to comment Share on other sites More sharing options...
wzhao6898 Posted March 29, 2010 Author Share Posted March 29, 2010 Now I've read more on this, understand the concept now, Thanks very much! Link to comment Share on other sites More sharing options...
nilsonnq Posted March 1, 2019 Share Posted March 1, 2019 I find the canonical module? Where can I put <link rel = "canonical" href = "{$ canonical_url}" />. Can you give me the way? Link to comment Share on other sites More sharing options...
spoorti1509 Posted March 4, 2019 Share Posted March 4, 2019 Thanks for the post and i learnt something useful Link to comment Share on other sites More sharing options...
eci_kluczbork Posted April 28, 2021 Share Posted April 28, 2021 On 3/29/2010 at 6:07 AM, rocky said: I think you've misunderstood the purpose of the canonical URL module. It doesn't automatically redirect pages. The only thing it does is add the following to the header of your website: <link rel="canonical" href="{$canonical_url}" /> where {$canonical_url} is what you entered on the configuration page. To automatically redirect pages, you'll need to manually modify your .htaccess file. See my post here for how to do that. Good morning, I have one question for you. I can? <link rel = "canonical" href = "{$ canonical_url}" /> Does this code indicate that the given subpage is a canonical link? My point is, I am looking for a solution to apply self-canonical to prestahop 1.6. So that each subpage points canonical to itself. Could I count on help? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now