Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

seo - Canonical URLs and Google -


as far google , canonical urls go - there advantage adding 301 redirect from:

http://www.mydomain.com/index.php

to

http://www.mydomain.com/

no default page open when no page name specified either "index.html" or "index.php", priority given latter default. there not advantage such & moreover, it's not needed.

for other page (except home page or "index" named pages), if specify redirect header 301, notifying google & other search engines store target url active & latest 1 (not first one), in database. it's setting permalink in databases of search engines latest active urls.

there 1 big advantage, however. when specifying "http://www.mydomain.com/index.php", notifying search engines load "index.php" page times. however, if specify "http://www.mydomain.com/" search engines, it's upto (mydomain.com) server's interpretation (after understanding server's htaccess rules & other redirection rules, if any) show user correct file - may "index.php" (first priority), or "index.html", or "index.htm" - although correct file may or may not present in server's hosting space.
if correct file not present, 404 not found page shown. , it's responsibility of owner of server have correct file in server's root folder, never 404 not found page shown user.

so it's big advantage mentioning "http://www.mydomain.com/" instead of "http://www.mydomain.com/index.php".

hope helps.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -