{"id":5829116,"date":"2015-02-24T15:59:15","date_gmt":"2015-02-24T15:59:15","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/permalinks-209\/"},"modified":"2016-08-22T17:19:31","modified_gmt":"2016-08-22T17:19:31","slug":"permalinks-209","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/permalinks-209\/","title":{"rendered":"Permalinks"},"content":{"rendered":"<p>I have an issue with permalinks.<\/p>\n<p>I&#8217;ve created a number of portfolios.  All they contain is some text and a feature image.<\/p>\n<p>I&#8217;ve enabled Post Name permalinks and visually verified that the .htaccess has been updated.<\/p>\n<p>My link for the portfolio when permalink is set to default is: http:\/\/localhost:8080\/modtest\/?portfolio=bbc-worldwide<br \/>\nMy link for the portfolio when permalink is set to Post Name is: http:\/\/localhost:8080\/modtest\/portfolio\/bbc-worldwide\/<\/p>\n<p>I now have a page, titled Case Studies which is a sub-page of About us and is using the template &#8220;Portfolio&#8221;<\/p>\n<p>I&#8217;ve published everything.  Updated the misc.php file and changed the function got_mod_rewrite() so that the line:<br \/>\n$got_rewrite = apache_mod_loaded(&#8216;mod_rewrite&#8217;, true);<br \/>\nis now:<br \/>\n$got_rewrite = true;<\/p>\n<p>Unfortunately, I keep getting 404 errors.  I&#8217;m developing on my local machine using xampp.  Any suggestions?  The theme that I&#8217;m using is Salient.<\/p>\n<p>I&#8217;m also using the latest version of wordpress and all of my plug-ins are up-to-date.<\/p>\n<p>Regards<\/p>\n<p>Michael.<\/p>\n","protected":false},"template":"","class_list":["post-5829116","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5829116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5829116\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5829116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}