As a beginner in SEO, how do I do 302 redirects/ rel="canonicals"
-
One of the things Inseem to leave undone is failure to do 302 redirects or rel="canonicals" on my site www.johannesburg.today. Please help .
-
Hope the below helps.
30x in .HTACCESS #PERMANENT REDIRECT
redirect 301 /url-linked-to.html /new-page-you-want-to-link-to.html#TEMPORARY REDIRECT FOR SHORT TERM CHANGES
redirect 302 /url-linked-to.html /temporary-page-you-want-to-link-to.htmlCanonical Tag
Cheers
Tim
-
Canonicals can be added in Yoast too.
-
Hello,
For the Redirects:
You have asked about 302 redirects - do you intend to make the redirect permanent or are you transitioning sites temporarily?
If permanent, you probably want to make those 301 redirects instead of 302.
There are a lot of ways to redirect and most depend on the CMS (content management system) you're using. If you are using WordPress, each page has a redirect option at the bottom using the Yoast Plugin. Simply install it and scroll down the page you wish to redirect. There will be an area where you can fill in your new URL.
Rel=canonicals are established through Google Search Console. Here's a link that will help you with the process:
https://support.google.com/webmasters/answer/139066?hl=en
"To address these issues, we recommend you define a canonical URL for content (or equivalent content) available through multiple URLs. You can do this for Google Search in a number of ways: Set your preferred domain. Indicate the preferred URL with the rel="canonical" link element."
The Moz Blog also put up a pretty great rel=canonical guide (i.e. when to use them and when not to). That link is here:
https://moz.com/blog/complete-guide-to-rel-canonical-how-to-and-why-not
Hope this helps and feel free to ask any follow up questions you have.
Cheers,
Rob
-
Why do you need 302 redirects? That is a temporary redirect--do you have some pages that have been temporarily moved?
Although many sites do put canonicals on every page (making them canonical to themselves) this is not necessary. You only really need them if you have duplicate content on your site. Do you have that? If not, you don't need canonicals either.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Link rel="prev" AND canonical
Hi guys, When you have several tabs on your website with products, you can most likely navigate to page 2, 3, 4 etc...
Technical SEO | | AdenaSEO
You can add the link rel="prev" and link rel="next" tags to make sure that 1 page get's indexed / ranked by Google. am I correct? However this still means that all the pages can get indexed, right? For example a webshop makes use of the link rel="prev" and ="next" tags. In the Google results page though, all the seperate tabs pages are still visible/indexed..
http://www.domain.nl/watches/?tab=1
http://www.domain.nl/watches/?tab=24
http://www.domain.nl/watches/?tab=19
etc..... Can we prevent this, and make sure only the main page get's indexed and ranked, by adding a canonical link on every 'tab page' to the main page --> www.domain.nl/watches/ I hope I explained it well and I'm looking forward to hearing from you. Regards, Tom1 -
Is it better to use XXX.com or XXX.com/index.html as canonical page
Is it better to use 301 redirects or canonical page? I suspect canonical is easier. The question is, which is the best canonical page, YYY.com or YYY.com/indexhtml? I assume YYY.com, since there will be many other pages such as YYY.com/info.html, YYY.com/services.html, etc.
Technical SEO | | Nanook10 -
Wordpress rel next & previous for SEO
Hi, I have implemented this function into my wordpress theme. However, I can only get the prev rel to show up. Does anyone have an idea? function rel_next_prev(){
Technical SEO | | SEOhughesm
global $paged; if ( get_previous_posts_link() ) { ?>
} if ( get_next_posts_link() ) { ?>
} }
add_action( 'wp_head', 'rel_next_prev' );
?>0 -
Redirect a 301 Redirect
Does any link juice get passed from a permanent redirect to a new 301 redirect? If so, are there any studies which indicate an estimated percentage?
Technical SEO | | RedCaffeine0 -
Rel=canonical overkill on duplicate content?
Our site has many different health centers - many of which contain duplicate content since there is topic crossover between health centers. I am using rel canonical to deal with this. My question is this: Is there a tipping point for duplicate content where Google might begin to penalize a site even if it has the rel canonical tags in place on cloned content? As an extreme example, a site could have 10 pieces of original content, but could then clone and organize this content in 5 different directories across the site each with a new url. This would ultimately result in the site having more "cloned" content than original content. Is this at all problematic even if the rel canonical is in place on all cloned content? Thanks in advance for any replies. Eric
Technical SEO | | Eric_Lifescript0 -
Rel Canonical ? please help again!
Hi, I have been looking at the on page section and the grading. And I have noticed on nearly all of my pages an error. No More Than One Canonical URL Tag Moderate fix <dl> <dt>Number of Canonical tags</dt> <dd>2</dd> <dt>Explanation</dt> <dd>The canonical URL tag is meant to be employed only a single time on an individual URL (much like the title element or meta description). To ensure the search engines properly parse the canonical source, employ only a single version of this tag.</dd> <dt>Recommendation</dt> <dd>Remove all but a single canonical URL tag</dd> </dl> <a class="more expanded">Minimize</a> Please how do I make sure these canonicals are working properly, My rankings are getting worst fro long tail and short tail keywords. I am not even ranking for the main keywords "Probate" at all now! Our site is probate, we sell probate, we talk aout probate and now we are out of the top 200??? http://www.finalduties.co.uk Kind Regards Elissa HAyes
Technical SEO | | Chris__Chris0 -
Combining 2 blogs into one. What is quicker, easier and better - rel canonical or an htaccess/ 301?
The objective I have is to archive an entire blog (which I no longer have time to keep up) with multiple posts over 4years , into another blog as a a folder. My question: would it be quicker and easier to do a rel canonical, or separately list all pages in htaccess and do a 301 redirect.
Technical SEO | | charlesgrimm0 -
Considering redirecting my site from .com/us to just .com. What could the possible SERP consequences?
Today we use country-specific .tlds but have the US site on .com/us; .com is now a 'flag-site.' Ikea uses that structure too (.com/.com/us). Looking potential risk to redirecting current US site to .com.
Technical SEO | | KnutDSvendsen0