0

I would like to do the following: I have a blog with my domain www.examplesite.com and got some posts on it. But I would like to move some of the posts into a subdirectory www.examplesite.com/extras. I know it's possible to create a post type for this, but the problem is I don't know exactly how to transform the subdomain into www.extras.examplesite.com in www.examplesite.com/extras and move only extra posts categorized into this subdirectory using only codes within functions.php. Is there any way to do this?

closed as unclear what you're asking by Nicolai, Pieter Goosen, s_ha_dum Oct 3 '14 at 15:50

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

0

The answer to your question is dependent upon your hosting environment (IIS, nginx, Apache, etc.). In a nutshell, you are looking to perform a redirect while preserving the original query. Consider https://serverfault.com/a/548595 for an example of one such redirect being performed within nginx.

Not the answer you're looking for? Browse other questions tagged or ask your own question.