I've tried to add the HrefLang at my shop to improve the SEO at other countries. But it doesn't work properly and I have this problem.
Noindex backlinks
This is the code. I've insert it at the head.tpl
The website is allowed at Spanish and English.
`
{block name='head_hreflang'}
<link rel="alternate" hreflang="es-es" href="https://nameofmysite/example/es/">
<link rel="alternate" hreflang="en" href="https://nameofmysite/example/en/">
{/block}`
I just want everything to work properly without any issues.
Related
I have two RSS feeds on a CPT (custom post type) page. The question is, while users are visiting specific CPT pages, how do I remove only the "main RSS feed" link in the header source code, so that the second RSS feed link (CPT RSS feed) remains.
Main RSS Link
<link rel="alternate" type="application/rss+xml" title="Site Title » Feed" href="https://my.site/feed" />
CPT RSS Link
<link rel="alternate" type="application/rss+xml" title="Site Title » CPT Category Feed" href="https://my.site/learn/reviews/feed" />
I've searched for solutions and there are many about removing all RSS feed links but there don't seem to be any about removing the main feed link only, whilst leaving the others. I don't want to disable any feeds, just to remove the link to the RSS feed on specific pages.
Now the url of the product is changed based on the page you are.
For example:
If I click on category and then on product the url of the product will be:
www.mysite.com/sneakers/street/nike-air-max-v1
If I click on manufacturer and then on product the url of the product will be:
www.mysite.com/nike/nike-air-max-v1
For SEO reasons I want only a single url, the one when I click on category.
How can I do that in opencart 1.5x ?
I suggest using relationship canonical in head section of your website.
If you were to have these two URLs:
www.example.com/sneakers/street/nike-air-max-v1
www.example.com/nike/nike-air-max-v1
I would "choose" one main URL and then in each other URL section write this line
<link rel="canonical" href="http://www.example.com/nike/nike-air-max-v1">
So, at the end of the day, sneakers/street/nike-air-max-v1 page (part of) code would look like:
<head>
<title>Nike Air Max V1</title>
<link rel="canonical" href="http://www.example.com/nike/nike-air-max-v1">
</head>
I'm running a WordPress site. When I search a specific page in search engine, it gives me other things besides that page which I don't want. Could someone tell how to avoid such things (dt_benefits) from being crawled?
To have crawlers ignore your page, you need to add a meta tag <meta name="robots" content="noindex" /> to each page you'd like not indexed. Alternatively, since you're using Wordpress, I'd recommend installing Yoast SEO Plugin and noindex your pages through there.
I would like to optimize the header of my wordpress website-blog. By default I see only these entries:
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php wp_title( '|', true, 'right' ); ?></title>
Well, I would like to add a description tag, keywords and facebook Open Graph. But as I do, when sharing a blog post on facebook, the post description gets overwrited and this is not what I want.
How could I have a default description tag for my business, but keep the blog post description as well in case I am sharing some content?
Thanks.
Did you try this plugin: https://wordpress.org/plugins/add-meta-tags/
It seems to accept site-wide meta tags as well as content-related ones.
Facebook will rewrite those descriptions, not Wordpress.
You have to add another meta tags for Facebook, called Open Graph tags, such as og:title, og:description and others.
How should i implement site with two language that one language direction is rtl.
should i create form-rtl.css and main-rtl.css and check user language and if user have selected a rtl language i have to add this form-rtl and main-rtl.css files after yii css files?
The direction should be set in HTML (using the dir attribute), since it is an inherent property of a writing system, rather than casual presentation feature.
Some style settings may need to be set with due attention to directionality, so it makes sense to have separate CSS files for settings for RTL writing and for settings for LTR writing. But probably most of the CSS settings can be kept in one file.
So you could have something like this for an Arabic-language page:
<html lang=ar dir=rtl>
...
<link rel=stylesheet href=common.css> <!-- overall settings -->
<link rel=stylesheet href=rtl.css> <!-- settings specific to RTL writing -->
<link rel=stylesheet href=ar.css> <!-- settings specific to Arabic language,
e.g. font family settings -->