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:


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...

Disallow specific folders in robots.txt with wildcards


seo,search-engine,robots.txt,google-crawlers
Can i hide specific folders from crawlers with wildcards like: User-agent: * Disallow: /system/ Disallow: /v* I want to hide all folders starts with "v" character. It will work this way?...

Canonical url for google to prevent duplicate meta?


seo,meta-tags,google-webmaster-tools
Today i went to Google Webmaster Tools to check for duplicate meta description. On almost all my news pages, this is true cause my rss feeds links to the news piece with a parameter (?rs=rss) so i can track my traffic from rss feeds. I thought the following snippet would...

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:...

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...

SEO with single page application


node.js,seo,single-page-application
I built a node.js social networking web site for noders but I get some serious problems to improve my SEO factors. How can I make it SEO friendly? And yes, given that it is a single page app, it is a little harder!

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...

Wordpress - customized pages with blocks - prohibit google seo index of blocks


wordpress,seo,woocommerce,robots.txt,google-sitemap
I'm using Wordpress and WooCommerce for my online shop. With the theme I'm using you can customize the product-category pages by adding "blocks". So if I want to have a text on the top of a product category page I simply create a block page, lets say its called "category-info"....

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:...

Best JSON-LD practices: using multiple