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

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

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

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