{"id":15697,"date":"2015-05-20T21:56:58","date_gmt":"2015-05-20T21:56:58","guid":{"rendered":"https:\/\/docs.wpgeodirectory.com\/?p=15697"},"modified":"2018-04-11T15:24:32","modified_gmt":"2018-04-11T15:24:32","slug":"core-permalinks","status":"publish","type":"post","link":"https:\/\/wpgeodirectory.com\/docs\/core-permalinks\/","title":{"rendered":"GD Core Plugin \u2013 Permalinks"},"content":{"rendered":"<h4>These are the sections\u00a0you will find when you install the GeoDirectory Core (free) plugin only:<\/h4>\n<p><a class=\"cnt1\" href=\"\/docs\/core-overview\/\">Overview<\/a> <a class=\"cnt1\" href=\"\/docs\/core-general\/\">General<\/a> <a class=\"cnt1\" href=\"\/docs\/gd-core-plugin-google-analytics\/\">Google Analytics<\/a>\u00a0<a class=\"cnt1\" href=\"\/docs\/core-design\/\">Design<\/a> <a class=\"cnt1-active\" href=\"https:\/\/wpgeodirectory.com\/docs\/core-permalinks\/\">Permalinks<\/a> <a class=\"cnt1\" href=\"https:\/\/wpgeodirectory.com\/docs\/gd-core-plugin-titles-metas\/\">Titles &amp; Metas<\/a> <a class=\"cnt1\" href=\"\/docs\/core-notifications\/\">Notifications<\/a> <a class=\"cnt1\" href=\"\/docs\/core-location\/\">Set Default Location<\/a> <a class=\"cnt1\" href=\"\/docs\/core-place-settings\/\">Place Settings<\/a> <a class=\"cnt1\" href=\"\/docs\/core-theme\/\">Theme Compatibility<\/a> <a class=\"cnt1\" href=\"\/docs\/core-export\/\">Import &amp; Export<\/a> <a class=\"cnt1\" href=\"\/docs\/core-tools\/\">GD Tools<\/a><\/p>\n<h4>On this page:<\/h4>\n<p><a class=\"cnt1\" href=\"#location\">Add location in urls<\/a> <a class=\"cnt1\" href=\"#categories\">Add category in listing urls<\/a> <a class=\"cnt1\" href=\"#url\">Listing url prefix<\/a> <a class=\"cnt1\" href=\"#pages\">GeoDirectory Pages<\/a><\/p>\n<h3>Permalinks settings<\/h3>\n<p><i class=\"fa fa-lightbulb-o fa-2x\" style=\"color: green;\"><\/i> <span style=\"color: #008000;\">This page is about GeoDirectory Permalink settings, not WordPress Permalink settings.<br \/>\nBe aware that for GD to work properly, you need to set the WordPress Permalink settings to <em><strong>Post name: <\/strong><\/em><a href=\"\/docs\/basic-installation\/#postnames\">Read more<\/a><\/span><\/p>\n<h4><a name=\"location\"><\/a>Add location in urls<\/h4>\n<p><span style=\"color: #0000ff;\"><strong>Add location slug in listing urls:<\/strong><\/span><br \/>\nTicking this option will add the location of the listing to the URL, for example<br \/>\n<em><strong>mydomain.com\/places\/<span style=\"color: #ff0000;\">united-states\/texas\/dallas<\/span>\/hotels\/my-listing<\/strong><\/em><br \/>\ninstead of<br \/>\n<em><strong>mydomain.com\/places\/hotels\/chestnut-hill-hotel\/<\/strong><\/em><\/p>\n<p><span style=\"color: #0000ff;\"><strong>Add full location info with country, region and city slug in listing urls:<\/strong><\/span><br \/>\nUse this option if your directory covers more than one region and\/or country.<br \/>\nYou can also use this option if your site only covers one region or city, but you want to include the full location in the URL of your listings.<br \/>\nExample:\u00a0<em><strong>mydomain.com\/places\/<span style=\"color: #ff0000;\">united-states\/texas\/dallas<\/span>\/hotels\/my-listing<\/strong><\/em><\/p>\n<p><span style=\"color: #0000ff;\"><strong>Add city slug in listing urls:<\/strong><\/span><br \/>\nYou can only use this option\u00a0 if your site only covers one region or city, do <em><strong>not<\/strong><\/em> use\u00a0if your directory covers more than one region and\/or country.<br \/>\nExample:\u00a0<em><strong>mydomain.com\/places\/<span style=\"color: #ff0000;\">dallas<\/span>\/hotels\/my-listing<\/strong><\/em><\/p>\n<h4><a name=\"categories\"><\/a>Add category in listing urls<\/h4>\n<p>Tick or untick to include the category name in your URLS, for example<br \/>\n<em><strong>mydomain.com\/places\/<span style=\"color: #ff0000;\">hotels<\/span>\/my-listing<br \/>\n<\/strong><\/em>or<br \/>\n<em><strong>mydomain.com\/places\/my-listing<\/strong><\/em><\/p>\n<h4><a name=\"url\"><\/a>Listing url prefix<\/h4>\n<p>Enter the default name here for your listings, for example <em><strong>places<\/strong><\/em> or <em><strong>business<\/strong><\/em> or <em><strong>listings<\/strong><\/em> etc.<\/p>\n<p>URL examples:<br \/>\n<em><strong>mydomain.com\/<span style=\"color: #ff0000;\">places<\/span>\/my-listing<br \/>\nmydomain.com\/<span style=\"color: #ff0000;\">business<\/span>\/my-listing<br \/>\nmydomain.com\/<span style=\"color: #ff0000;\">listings<\/span>\/my-listing<\/strong><\/em><\/p>\n<p><i class=\"fa fa-lightbulb-o fa-2x\" style=\"color: green;\"><\/i> <span style=\"color: #008000;\">If you use the <a href=\"https:\/\/wpgeodirectory.com\/addons\/custom-post-types\/\">Custom Post Type addon<\/a>, then the listing url prefix will be replaced with the slug you enter there.<\/span><\/p>\n<h4><a name=\"pages\"><\/a>GeoDirectory Pages<\/h4>\n<p>GD will automatically add 8 pages that will be used as templates to create all your directory pages:\u00a0<strong>GD Home page, Add Listing,\u00a0Listing Preview,\u00a0Listing Success, <\/strong><strong>Location, Terms and Conditions page, Info page and Login page<\/strong>.<\/p>\n<p>You can change the title and slug of these pages at the normal WordPress <em><strong>pages<\/strong><\/em> settings.<\/p>\n<p>Only the <strong>Terms and Conditions page<\/strong> option can be left blank, all other options should have a page selected.<br \/>\nEach Geodirectory page should be unique, meaning that a single page from your site should not be selected for more than one of the Geodirectory Pages.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>These are the sections\u00a0you will find when you install the GeoDirectory Core (free) plugin only: Overview General Google Analytics\u00a0Design Permalinks Titles &amp; Metas Notifications Set Default Location Place Settings Theme Compatibility Import &amp; Export GD Tools On this page: Add location in urls Add category in listing urls Listing url prefix GeoDirectory Pages Permalinks settings &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/wpgeodirectory.com\/docs\/core-permalinks\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;GD Core Plugin \u2013 Permalinks&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1676,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts\/15697"}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/users\/1676"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/comments?post=15697"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts\/15697\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/media?parent=15697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/categories?post=15697"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/tags?post=15697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}