Anil Labs

Thursday, April 9, 2009

SEO - URL using php code and .htaccess

6 comments:

  1. Nice tip.. Now your blog looking great. Include google adsence on wordpress

    ReplyDelete
  2. Hello ,

    the following will help for you,

    Options +FollowSymLinks

    RewriteEngine On
    RewriteRule ^article/(.*)/$ index.php?article=$1

    once try with this.

    ReplyDelete
  3. Hi anil m getting error like

    Parse error: syntax error, unexpected T_STRING in C:\wamp\www\test\index.php on line 5

    ReplyDelete
  4. hi please help me.. How can I rewrite this URL

    http://www.mysite.com/index.php?page=aW5kZXhib2R5

    to

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

    anybody can coach me how to make this one..

    ReplyDelete
  5. [...] that website php code is written in a static htm file. For that we just put a one line code in a .htaccess file, it will work. 1AddHandler application/x-httpd-php .html [...]

    ReplyDelete