1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Redirecting non php page to php

Discussion in 'Hire a Freelancer' started by fultoo11, Feb 28, 2012.

  1. fultoo11

    fultoo11 Registered Member

    Joined:
    Sep 22, 2008
    Messages:
    62
    Likes Received:
    6
    Home Page:
    My website is www.herbalhealthhealing.com
    Actually it shows same page when i enter www.herbalhealthhealing.com/delay.php and www.herbalhealthhealing.com/delay . Google treats this two pages as different and penalizes for duplicate content. So i want someone who can edit the site so that no page opens without php extension and save myself from duplicate content penalty. I know it is not a very big task for someone who is experienced in these things. So pm me or post here if you can do it for me and tell me how much will you charge.
     
  2. bytzu

    bytzu Registered Member

    Joined:
    Jun 30, 2011
    Messages:
    96
    Likes Received:
    137
    Edit the .htaccess file if you have it in your site root else create a file called .htaccess and add the fallowing lines:
    Code:
     RewriteEngine On
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteRule ^([^\.]+)$ $1.php [NC,L]
    
    If you need any help send me a PM
     
    Last edited: Feb 28, 2012
  3. fultoo11

    fultoo11 Registered Member

    Joined:
    Sep 22, 2008
    Messages:
    62
    Likes Received:
    6
    Home Page:
    Hi thanks for your reply bro . I added it to my .htaccess file but it did not work out . I do not know why.:(
     
  4. devel

    devel BANNED BANNED

    Joined:
    Feb 3, 2012
    Messages:
    159
    Likes Received:
    0
    I can do this. Please add me in sk yp e : vinod_vyas_dt