Web Development

Redirect non www url to www url

Search engines consider http://dscripts.net and http://www.dscripts.net as different site. So when your pages are accessible with both www and non www url your pages from referer sites and search engines break into two parts. Thus you get only half benifit from search engines.

So to optimize your search enginge referals to maximum you must use either only www or non www urls by redirecting one to another. In most in this case websites redirects non www url to www url.

No Comments

Read more

How to enable mod rewrite in apache server?

What is mod rewrite?

Mod rewrite is an apache module that lets you to rewrite url to another. You can redirect one url pattern to another using regular expression mod rewrite. You can set 404 error document when page is not found. You can also set several other features like hiding your php extensions etc. It lets you to create clean urls instead of having query strings ?type=user&name=john to user/john which is search engine and human friendly.

No Comments

Read more

Page 3 of 3123