Following regular expression (regEx) can be used to replace the urls in a string with the anchor tags with href attribute points to that url. RegEx: https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)? // Automatically link URL's inside text. function matchURL($string){ return(preg_replace('@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@', '$1', $string )); } | |
Steps in adding Link to this page to your blogger posts Links to your page can improve your page rank. So it is a good option to add HTML code for linking to your web page. So that reader can copy and paste it on their web page. if another website links to your web page, this is considered an external link to your website. External links to your website are the most important source of ranking power and in SEO terminology it is considered as third party ranking vote for your page.

Comments
Post a Comment