seo , Best method to put url in href for SEO


Best method to put url in href for SEO

Question:

Tag: seo

if possible, I would like to know what is the best practies for SEO to put url in <a href="">

Method 1: <a href="/blog-1">

Method 2: <a href="http://example.com/blog-1">

Can you help me?


Answer:

Bots can interpret relative as well as absolute URLs and follow them.

I would prefer absolute URLs as we can govern what the urls are, rather than leaving it to bot to find out and follow through them. It also provides the flexibility of switching the protocols from http to https:// even though the page is non secure or vice versa. Hope this helps.


Related:


Block “cloner” servers rendering content from our server


apache,seo,clone,cracking
I have a website of mine (freeofficefinder.com) that is being cloned (see here: thelawyerserviceratings.org) There are actually over 25 websites that are currently cloning our website. Obviously this is hurting our SEO ranking greatly due to "duplicate content". Is there something that I could add to the Apache config file...

Code Igniter SEO friendly URL rewriting


php,.htaccess,codeigniter,url-rewriting,seo
I'm facing issues while rewriting URLs in codeigniter framework. Here is my URL http://localhost/article/lg-watch-urbane-vs-moto-360-a-detailed-real-world-comparison/19 And I've a controller like this : class Article extends CI_Controller { function __construct() { $this->set_page_name( "View Article" ); } function index($perma_link="",$id="") { $this->response['article'] = $this->restutil->get("portal/articles/get/".$id,array('id'=>$id))->article; $this->render_view('articles/view'); } } And my .htaccess is like this:...

google analytics code on landing page and cookie law


jquery,google-analytics,seo
New EU cookie law do not allow page to set cookies on first load and until user make any action, scroll is consider as implicit acceptance I'm not sure if ga('set', 'anonymizeIp', true); is enough to allow google analytics to be considered as non profiling cookie how can i activate...

Different addresses for different products


php,seo
I have a table shoes(id,shoename,color,brand,price,imagename,available). I am trying to sell shoes online through my website. Currently what's happening is, catalog.php(a page on my website) shows all the shoes in my table 'shoes'. Here's the code in inside a loop. echo "<div class='shoe-view'>"; echo "<img class='show-view-image' src='scripts/shoes/uploads/".$result["imagename"]."' alt='".$result["imagename"]."'/>"; echo "<form action='viewshoe.php'...

How can I get better google indexing results?


seo,google-search,pagerank
I have just launched a new domain, www.nextlevelsmf.com and it's not showing for some keywords I would like it to. Can anyone give me some advice to help it rank better please? I'd like it to show on the first 2 pages for: Managed SMF hosting SMF host/hosting Managed SMF...

How do I strip out ?_escaped_fragment_= using .htaccess


ajax,.htaccess,mod-rewrite,seo
Google discovered that I'm allowing end users to navigate my content using ajax loading, and is loading my pages as a user client rather than requesting them as new page loads. So instead of trying to index www.mysite.com/page, it's requesting www.mysite.com/?_escaped_fragment_=/page Which is not at all what I want it...

Multiple modals with galleries vs. a single dynamic one


javascript,dom,seo,image-gallery,bootstrap-modal
Lets say we have a long list of posts on a single page. Each of those posts has a hidden div with multiple img tags inside it. When a user clicks on the post, the images inside the hidden div should be showcased in a modal gallery. Which approach is...

How to increse number of sitemapindex


xml,seo,sitemap,googlebot
I'm intereset if i can have many sitemapindex like this: <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap> <loc>https://domain.com/sitemap/destinatieTag.xml</loc> <lastmod>2015-02-01T05:00:34+02:00</lastmod> </sitemap> </sitemapindex> I mean 1 sitemapindex to refer athor sitemapindex , or what is maxium limit for a sitemap? Example if destinatieTag.xml is athor <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap>...

How seo implemented for distancebetween.com website?


seo,google-search
When I Search for distance between bangalore to mumbai in Google, distancebetween.com comes up in the search results. I mean if I search for distance between any source to destination they have results for that. They have one dynamic page where user can enter source and destination and those inputs...

disqus SEO google crawler doesn't load comments


seo,disqus
I see in google webmaster We were unable to load Disqus. If you are a moderator please see our troubleshooting guide. instead of comments. But i read in the Internet, disqus comments are readable by google Crawler. As i understand to show "We were unable to load..." google had to...

Duplicate title error after redirecting with 301 [closed]


.htaccess,redirect,gwt,seo
let you explain every point: I have duplicate title issue with 404 error pages, I have redirect all pages with 301 redirection with use of WordPress Plugin. And it works and decrease the error, After that I have update plugin sitemap-index, and all error are back. I have checked some...

Site name in Google search results for multi-language websites


html,seo,schema.org,google-rich-snippets
Using Schema.org, I can set the name for my website so it’s visible in Google Search: https://developers.google.com/structured-data/site-name Example: <script type="application/ld+json"> { "@context" : "http://schema.org", "@type" : "WebSite", "name" : "Your WebSite Name", "alternateName" : "An alternative name for your WebSite", "url" : "http://www.your-site.com" } </script> What if I have multi-language...

si​tem​ap-​tax​-po​st_​tag​.xm​l not found - webmaster tools


wordpress,seo
I'm a newbie in webmaster tools. I get 3 errors in webmaster tools: 1.2: We encountered an error while trying to access your Sitemap. Please ensure your Sitemap follows our guidelines and can be accessed at the location you provided and then resubmit. *General HTTP error: 404 not found Sitemap:...

Does document format change behaviour of Google bot in terms of SEO? Like /path and /path.htm .html .php [closed]


seo,googlebot
I was told to delete ".html" from web application links in order to be better seen by Google bot. So example.com/path/to/resource.html should be example.com/path/to/resource. I didn't find any document saying that format of the resource, placed in urls, has any influence as such. No matter if it's php, htm, html...

SPDY on shared host & SEO Sematics


seo,semantics,shared-hosting,spdy,http2
NodeSPDY on shared host I got a webspace hosted by uberspace and want to use NodeSPDY, but there is a loadbalancer in between which cuts off the tls connection. On uberspace one can request a Port to be opened. With this port it is possible to request resources directly by...

How can I tell if prerender.io is running correctly on modulus.io?


meteor,seo,prerender,modulus.io
UPDATE I am able to install prerender on the modulus server now. BUT there is a problem with where to place the prerender token: app.use(require('prerender-node').set('prerenderToken', 'YOUR_TOKEN')); Where in the .demeteorized node app does this line go? I am running a meteor app on modulus.io I have installed the https://github.com/prerender/prerender-node package....

Removing the number of first page in Yii2 Pagination from the URL


.htaccess,pagination,seo,yii2
For SEO purposes I need to remove the first page number from the URL. i.e I have the following: example.com/pages/view/1 and example.com/pages/view the two URLs points to the same contents of the view action. I want to make the pagination free from 1 in the URL. i.e first Page link...

MixItUp vs PageSpeed Insigths


jquery,seo,pagespeed,mixitup
PageSpeed Insights says “Remove render-blocking scripts” and list jquery.mixitup.min.js :_( But the script is included at the bottom of the page (and minified), and the functions that use MixItUp is also on the bottom of the page! I don’t know what can I do. Any suggestions please? Thanks a lot....

Convert MVC Website to be Responsive


mobile,model-view-controller,seo
While investigating the Google SEO issue with respect to not having a mobile web site. I've learned recently that lack of proper mobile site would reduce the search ratings, and a different content for a mobile and a desktop sites might hurt your SEO as well. Currently we have a...

Does HTTP URL parameter order matter for caching? [closed]


http,caching,seo,uri,url-parameters
Are the two URLs equivalent with respect to browser caching and website seo? 1 - http://example.com/resource.html?a=a&b=b 2 - http://example.com/resource.html?b=b&a=a If the resource for the first URL is cached and the browser needs to find the resource for the second URL can it use the cached resource? I want to know...

Slidershow jquery and convert to css


jquery,css,html5,seo,slider
I downloaded script for slider show and it work without problems but after implemented this slide show i have problems with seo optimalization in HTML5. Because this code using this <div u=""> or <img u=""> and its still write me that i cant use this combination div with tag "u"....

What should be the name of the sitemap file for Google SEO?


seo,sitemap,google-search
I created a sitemap for my website that contains the below code: <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> <url> <loc>http://www.example.com/</loc> </url> <url> <loc>http://www.example.com/aboutus.html</loc> </url> <url>...

fullPage.js: Make all slides and sections visible in search engine results


jquery,seo,web-crawler,single-page-application,fullpage.js
I'm using fullpage.js jQuery plugin for a Single page application. I'm using mostly default settings and the plugin works like a charm. When I got to the SEO though I couldn't properly make Google crawl my website on a "per slide" basis. All my slides are loaded at the page...

Schema.org mandatory fields and the time needed until Google shows changes


seo,schema.org,google-rich-snippets
I have implemented Schema.org (using Microdata) inside my product pages and when I check Google Webmaster Tools it is crawled by Googlebot and interpreted successfully. The point is I have not implemented some properties inside Product type like brand. I need to know whether there is some subset of all...

How to fix Google search SEO after transfer old website and hosting to new framework website and hosting? [closed]


search,seo,transfer
I had an ecommerce website with magento and Nexcess hosting, but now i have changed the website to new framework Kohana and Arxive hosting. Website has SAME DOMAIN NAME. I have moved my website to new framework and hosting for about a month, but Google still cache old information SEO...

My website Images not indexed by Google, Yahoo and Bing [closed]


php,codeigniter,seo
I'm using codeigniter framework. why Search Engine's not indexed my website images ? My website has been made since 2013. My website is : www.shadyab.com. It likes groupon website(Offering daily deals at restaurants, retailers and service providers.). An image url : http://www.shadyab.com/assests/images/upload/kaktoos4.jpg What should I do to tell search engines...

proper use link hreflang


html,seo,multiple-languages
I use below link tag for multiple language, have two question should I add <link href="http://domain.com/" rel="canonical"> in url http://domain.com/?hl=en or http://domain.com/?hl=es? should I add <html lang='en'> in url http://domain.com/?hl=en and <html lang='es'> in http://domain.com/?hl=es? <head> <!-- … --> <link href="http://domain.com/" hreflang="x-default" rel="alternate"> <link href="http://domain.com/?hl=en" hreflang="en" rel="alternate"> <link href="http://domain.com/?hl=es"...

Best HTML5 Semantics for SEO article and section?


html5,seo
This question is in regards to the article section and aside tags as it relates to best SEO practices. I've seen some tutorials teach that you should place an article tag and inside the article tag various section tags. However some books I've read have it the other way around...

WooRank Touchscreen Readiness Failing


responsive-design,seo,responsiveness
I'm currently using the WooRank website to improve my sites SEO> However, it keeps failing on "Touchscreen Readiness". It states my buttons should be 40px in height/width which they appear to be.. but it's failing. Any advice? URL: http://www.answer-hut.com...

How do I retain search engine accessibility when loading external file into html


javascript,jquery,html,seo,cross-platform
I plan to: $('#main.sidecontent').load('/sidecontent.html'); and insert: <div class="sidecontent" id="main"></div> a div on several html pages since the content of this div is the same and I try to straighten my workflow, basically avoiding editing every single html page when this content div changes. My questions: Is this method recommended for...

How Google “distinguishes” website articles from news? [closed]


html,seo,google-search
When I search keywords from Google, it shows all articles related to these words and It has separate tab called "News", where Google shows related news. How Goolge "Knows" that article from site is about News? I have opened source codes of multiple news websites and they has "itemprops" in...

How to “remove” indexed pages in Google and AngularJS


angularjs,nginx,seo,google-index
I have an AngularJS 1.0.7 web application. Some months ago I sent a sitemap.xml file to Google, so the urls are indexed. Now, I would like to upload a new sitemap file with some updates on those URLs. I mean, the pages are the same but the urls have changed...

What is more important for images - alt tag or name


seo
I am making a blog with huge ammount of images, and one way to do it, is by using Flickr Gallery plugin, which provides a functional gallery or your albumbs, but the links aren't looking good (www.......5129512891.jpg), but they do have the proper alt tags (Red Carpet From Turkey). So...

Best JSON-LD practices: using multiple