URL Rewriting

Discussion in 'Site & Server Administration' started by abidsultan, Nov 24, 2009.

  1. #1
    Hi,

    I am rewriting URLs of my website and having a problem that scenario where I have physical directory named "services" having several pages. I tried to rewrite them without having them in that physical directory same as they would have been there.

    e.g. http://www.cyberdesignz.com/services/web-designing << rewritten url

    I have a page named "services.php" which is now the problem.
    http://www.cyberdesignz.com/services.php

    Because virtual name and physical name can't be same which I have used in rewriting the above mentioned url and other urls. Please suggest me the way to keep "services.php" page in its place. I could do all this via .htaccess
     
    Last edited: Nov 24, 2009
    abidsultan, Nov 24, 2009 IP