URL Rewriting .htaccess

I have text based pages in my website. For eg. http://www.someurl.com/page.php?id=1
i have defined slug in databases and done url rewriting. Problem is my customer wants few pages to be open like http://www.someurl.com/abc/about
and few like
http://www.someurl.com/xyz/services
as both of them are text pages and one page is created that is fetching data from same table. now after doing this if i open http://www.someyrl.com/abc/services
it also shows up which should not as it should be open in “xyz”. Pages can be unlimited as in admin panel there is an option of adding pages. Hope i have explained my query any help would be appreciated.

Mehwish,

From the limited information provided, I’d guess that page.php is ignoring the pseudo directory and fetching the text for services regardless of the directory it’s supposed to be in. Have a look at page.php and see if that isn’t the problem.

On second thought, what is creating the text pages and assigning their id values? Look there first.

Regards,

DK

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.