Wednesday, 4 September 2013

wordpress permalinks with prefix for wildcard

wordpress permalinks with prefix for wildcard

I'm having trouble trying to program into Wordpress a wildcard for the
permalink structure. So for example, I'm trying to setup a permalink where
the link is like this: foo.example.com/company. At the moment, the
wildcard is in place for the URL (foo.example.com), but the permalinks are
still under the root (example.com/company). Is there a way to program it
so that the permalink will be matched exactly to the URL that is written.
So if I entered in dsdd.example.com, the permalinks will display
dsdd.example.com/company, etcc...
This kind of thing is way over my head, so if someone could provide some
code examples of how to accomplish this, it would be much appreciated.
Thank you.

No comments:

Post a Comment