{"id":3149,"date":"2016-04-10T11:55:53","date_gmt":"2016-04-10T09:55:53","guid":{"rendered":"https:\/\/www.flagsoft.com\/cmswp\/?page_id=3149"},"modified":"2016-10-22T18:03:04","modified_gmt":"2016-10-22T16:03:04","slug":"simple-cms-made-simple","status":"publish","type":"page","link":"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/simple-cms-made-simple\/","title":{"rendered":"Simple as it could be? &#8211; CMS Made Simple"},"content":{"rendered":"<h1 style=\"text-align: center;\">Simple as it should be? - CMS Made Simple<\/h1>\n<h2 style=\"text-align: center;\">Setup Pretty URLs also known as Search Engine Friendly or SEF URLS<\/h2>\n<p>If anything is not simple then it is a CMS system. No, also the so called simple ones often are just simple for a very specific simple task. And the lack of good and ready-to-use documentation does it's job to be not as simple as it could be.<\/p>\n<h3>Step 1: Pre Condition<\/h3>\n<p>Your site is up and running and CMS is installed in a subfolder like so: http:\/\/www.DOMAIN.xyz\/cms\/<\/p>\n<p>The default setup for not-so-pretty URL's is as follows:<\/p>\n<p>Links:<\/p>\n<p>http:\/\/www.DOMAIN.xyz\/cms\/ - main site entry point<\/p>\n<p>http:\/\/www.DOMAIN.xyz\/cms\/index.php?page=download -\u00a0 sub menu \"download\"<\/p>\n<p>But I just want: http:\/\/www.DOMAIN.xyz\/cms\/download<\/p>\n<p>So remove the ugly \"index.php?page=\" thing.<\/p>\n<p>&nbsp;<\/p>\n<h3>Step 2: Setup config.php for \"<strong>mod_rewrite<\/strong>\" pretty urls first<\/h3>\n<p>Edit \/cms\/config.php on your server via FTP.<\/p>\n<p>It should read like so after editing:<\/p>\n<p>I added<\/p>\n<p><strong>$config['url_rewriting'] = 'mod_rewrite';\u00a0 # internal mod_rewrite<\/strong><br \/>\n<strong>$config['internal_pretty_urls'] = true;<\/strong><br \/>\n<strong>$config['use_hierarchy'] = true;<\/strong><\/p>\n<p>at the end.<\/p>\n<p>&lt;?php<br \/>\n# CMS Made Simple Configuration File<br \/>\n# Documentation: \/doc\/CMSMS_config_reference.pdf<br \/>\n#<br \/>\n$config['dbms'] = 'mysqli';<br \/>\n$config['db_hostname'] = 'localhost';<br \/>\n# [some other settings here, omitted]<br \/>\n<strong>$config['url_rewriting'] = 'mod_rewrite';<\/strong><br \/>\n<strong>$config['internal_pretty_urls'] = true;<\/strong><br \/>\n<strong>$config['use_hierarchy'] = true;<\/strong><br \/>\n?&gt;<\/p>\n<p>Now, the links should read:<\/p>\n<p>http:\/\/www.DOMAIN.xyz\/cms\/download<\/p>\n<p>So this killed the \"index.php?page=\" thing.<\/p>\n<p>But sill http:\/\/www.DOMAIN.xyz\/cms\/index.php?page=download also works - but because this is not used internally and not for the menu, I think Google search engine will know anything about this...<\/p>\n<p>&nbsp;<\/p>\n<h3>Handling special characters<\/h3>\n<p>Go to Content &gt; content Manager &gt; Navigation, then \"Page URL\" and enter:<\/p>\n<p>\/videos\/a1-nivel-basico<\/p>\n<p>This is stupid, but simple. (If someone knows a solution for special characters beyond 7 bits, please let me know.)<\/p>\n<p>Reload the site on your web browser and the link with special charachters should also work.<\/p>\n<p>&nbsp;<\/p>\n<h3>Step 3: Add and setup .htaccess.<\/h3>\n<p>Copy it form .\/docs on your server to\u00a0 your main folder \"\/cms\/htaccess.txt\". Then first edit and then 2nd rename it via FTP to \".htaccess\".<\/p>\n<p>&nbsp;<\/p>\n<p>#<br \/>\n# The following is to enable pretty URLS, only applicable if url_rewriting is set to 'mod_rewrite' in the config.php<br \/>\n#<br \/>\n&lt;IfModule rewrite_module&gt;<br \/>\nRewriteEngine on<br \/>\n# If your CMSMS installation is in a subdirectory of your domain, you may need to specify the relative path (from the root of the domain) here.<br \/>\n# i.e: RewriteBase \/cmsms<br \/>\n<strong> RewriteBase \/cms<br \/>\n<\/strong><\/p>\n<p># Rewrites urls in the form of \/parent\/child\/grandchild but only rewrites if the requested URL is not a file or directory.<br \/>\nRewriteCond %{REQUEST_FILENAME} !-f<br \/>\nRewriteCond %{REQUEST_FILENAME} !-d<br \/>\nRewriteRule ^(.+)$ index.php?page=$1 [QSA]<br \/>\n&lt;\/IfModule&gt;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>NOTE: This does only ADD the \"index.php?page=\" to a url in the background hidden from any external url access call that does not have the index.php?page= thing in it!<\/strong><\/p>\n<p>Links:<\/p>\n<p>Now this works, as before without any .htaccess:<\/p>\n<p>http:\/\/www.DOMAIN.xyz\/cms\/download<\/p>\n<p>http:\/\/www.DOMAIN.xyz\/cms\/index.php?page=download\u00a0 -- but never link to this url<\/p>\n<p>&nbsp;<\/p>\n<p><strong>HINT<\/strong>: You may also need to clear your web browser cache and rebuild the php cache within your CMS!<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>Site logo and site icons<\/h2>\n<p>Next thing is icon and site-logo - you have to program and change the template ... there is no user interface for that. Including you have to render and downscale icons.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Simple as it should be? &#8211; CMS Made Simple Setup Pretty URLs also known as Search Engine Friendly or SEF URLS If anything is not simple then it is a CMS system. No, also the so called simple ones often are just simple for a very specific simple task. And the lack of good and &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/simple-cms-made-simple\/\"> <span class=\"screen-reader-text\">Simple as it could be? &#8211; CMS Made Simple<\/span> Weiterlesen &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3022,"menu_order":6,"comment_status":"open","ping_status":"open","template":"","meta":{"_uag_custom_page_level_css":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-3149","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Simple as it could be? - CMS Made Simple - Flagsoft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/simple-cms-made-simple\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Simple as it could be? - CMS Made Simple - Flagsoft\" \/>\n<meta property=\"og:description\" content=\"Simple as it should be? - CMS Made Simple Setup Pretty URLs also known as Search Engine Friendly or SEF URLS If anything is not simple then it is a CMS system. No, also the so called simple ones often are just simple for a very specific simple task. And the lack of good and &hellip; Simple as it could be? &#8211; CMS Made Simple Weiterlesen &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/simple-cms-made-simple\/\" \/>\n<meta property=\"og:site_name\" content=\"Flagsoft\" \/>\n<meta property=\"article:modified_time\" content=\"2016-10-22T16:03:04+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/simple-cms-made-simple\/\",\"url\":\"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/simple-cms-made-simple\/\",\"name\":\"Simple as it could be? - CMS Made Simple - Flagsoft\",\"isPartOf\":{\"@id\":\"https:\/\/www.flagsoft.com\/cmswp\/#website\"},\"datePublished\":\"2016-04-10T09:55:53+00:00\",\"dateModified\":\"2016-10-22T16:03:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/simple-cms-made-simple\/#breadcrumb\"},\"inLanguage\":\"de-CH\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/simple-cms-made-simple\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/simple-cms-made-simple\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.flagsoft.com\/cmswp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Product Testing\",\"item\":\"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Simple as it could be? &#8211; CMS Made Simple\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.flagsoft.com\/cmswp\/#website\",\"url\":\"https:\/\/www.flagsoft.com\/cmswp\/\",\"name\":\"Flagsoft\",\"description\":\"ALPHA Schulmagazin, Byztxt, Strongsdict, Remote Control Cursor for Mac, PictureViewer4Mac, sdspeed free SD Card Reader for Mac OS X, Byztxt Light, 1A Shopping List, Kindle Book Template\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.flagsoft.com\/cmswp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de-CH\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Simple as it could be? - CMS Made Simple - Flagsoft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/simple-cms-made-simple\/","og_locale":"de_DE","og_type":"article","og_title":"Simple as it could be? - CMS Made Simple - Flagsoft","og_description":"Simple as it should be? - CMS Made Simple Setup Pretty URLs also known as Search Engine Friendly or SEF URLS If anything is not simple then it is a CMS system. No, also the so called simple ones often are just simple for a very specific simple task. And the lack of good and &hellip; Simple as it could be? &#8211; CMS Made Simple Weiterlesen &raquo;","og_url":"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/simple-cms-made-simple\/","og_site_name":"Flagsoft","article_modified_time":"2016-10-22T16:03:04+00:00","twitter_card":"summary_large_image","twitter_misc":{"Gesch\u00e4tzte Lesezeit":"3 Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/simple-cms-made-simple\/","url":"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/simple-cms-made-simple\/","name":"Simple as it could be? - CMS Made Simple - Flagsoft","isPartOf":{"@id":"https:\/\/www.flagsoft.com\/cmswp\/#website"},"datePublished":"2016-04-10T09:55:53+00:00","dateModified":"2016-10-22T16:03:04+00:00","breadcrumb":{"@id":"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/simple-cms-made-simple\/#breadcrumb"},"inLanguage":"de-CH","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.flagsoft.com\/cmswp\/product-testing\/simple-cms-made-simple\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/simple-cms-made-simple\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.flagsoft.com\/cmswp\/"},{"@type":"ListItem","position":2,"name":"Product Testing","item":"https:\/\/www.flagsoft.com\/cmswp\/product-testing\/"},{"@type":"ListItem","position":3,"name":"Simple as it could be? &#8211; CMS Made Simple"}]},{"@type":"WebSite","@id":"https:\/\/www.flagsoft.com\/cmswp\/#website","url":"https:\/\/www.flagsoft.com\/cmswp\/","name":"Flagsoft","description":"ALPHA Schulmagazin, Byztxt, Strongsdict, Remote Control Cursor for Mac, PictureViewer4Mac, sdspeed free SD Card Reader for Mac OS X, Byztxt Light, 1A Shopping List, Kindle Book Template","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.flagsoft.com\/cmswp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de-CH"}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"mailpoet_newsletter_max":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false,"yarpp-thumbnail":false,"slide-thumbnail":false},"uagb_author_info":{"display_name":"M","author_link":"https:\/\/www.flagsoft.com\/cmswp\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":"Simple as it should be? - CMS Made Simple Setup Pretty URLs also known as Search Engine Friendly or SEF URLS If anything is not simple then it is a CMS system. No, also the so called simple ones often are just simple for a very specific simple task. And the lack of good and&hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flagsoft.com\/cmswp\/wp-json\/wp\/v2\/pages\/3149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flagsoft.com\/cmswp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.flagsoft.com\/cmswp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.flagsoft.com\/cmswp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flagsoft.com\/cmswp\/wp-json\/wp\/v2\/comments?post=3149"}],"version-history":[{"count":0,"href":"https:\/\/www.flagsoft.com\/cmswp\/wp-json\/wp\/v2\/pages\/3149\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.flagsoft.com\/cmswp\/wp-json\/wp\/v2\/pages\/3022"}],"wp:attachment":[{"href":"https:\/\/www.flagsoft.com\/cmswp\/wp-json\/wp\/v2\/media?parent=3149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}