Featured post
seo - Canonical URLs and Google -
as far google , canonical urls go - there advantage adding 301 redirect from:
http://www.mydomain.com/index.php
to
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.
- Get link
- X
- Other Apps
Comments
Post a Comment