robots.txt - Preventing google(search engines) to indexing specific view of my codeigniter website -


i'm using following text in robots.text resides in root of website hiding view.php google.

user-agent: * disallow: /application/views/view.php 

am doing correct or have write controller path following

user-agent: * disallow: /index.php/mycontroller/function 

you need reference url rather path file. in case correct way is

user-agent: * disallow: /index.php/mycontroller/function 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -