I have most of my site SEO'd with SEO urls. but there are still a lot of links (internally) that go to /folder/file.php
so I have in my robots.txt -
Disallow: /folder/file.php
rightfully so, as a lot of that junk I don't need to be in Google.
but there are like 4 directories now that transform into SEO'd directories once the right parameter is reached. And i'd like those 4 directories to be allowed by Google
example :
/folder/file.php?config=special
goes to the new SEO'd directory once clicked on -
/folder/file/special/
but /folder/file.php?config=old
goes to another non-seo'd .php file that I don't need to be in Google.
So how do I nitpick here with the /folder/file.php to allow certain directories and disallow others ?
the weird part is, the new SEO'd directories will display ONLY after the /folder/file.php?config=special part is clicked on. (redirected rewrite)
any help is much appreciated.