Closed bensheldon closed 11 years ago
I added code to generate clean permalinks for the Project custom post type. They would now look like: projects/%year%/%postname%
e.g. URLs would now look like this:
http://codeforamerica.org/projects/2011/change-by-us
...instead of this:
http://codeforamerica.org/?cfa_project=change-by-us
Yearly archive pages are also automatically created too (though should probably be explicitly themed by creating a _archive-cfaproject.php file).
Also, after applying this, you will need to reset the permalinks: Settings -> Permalinks -> click Save
Not sure why this was closed.
Ah, cause this was fixed somewhere else.
I added code to generate clean permalinks for the Project custom post type. They would now look like: projects/%year%/%postname%
e.g. URLs would now look like this:
http://codeforamerica.org/projects/2011/change-by-us
...instead of this:
http://codeforamerica.org/?cfa_project=change-by-us
Yearly archive pages are also automatically created too (though should probably be explicitly themed by creating a _archive-cfaproject.php file).