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

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -