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 )); } | |
Manually submitting website pages to google Usually google crawls website's in a scheduled manner, but some time you may want to tell google about your new page or an important content updation. Insuch cases you can use following methods. Submit URl tool, Sitemap re-submission tool or Fetch as Google tool Each option is explained below:
Comments
Post a Comment