{"id":6119,"date":"2021-06-04T02:06:35","date_gmt":"2021-06-04T02:06:35","guid":{"rendered":"https:\/\/programmingfields.com\/?p=6119"},"modified":"2021-06-04T02:06:42","modified_gmt":"2021-06-04T02:06:42","slug":"how-to-remove-index-php-from-url-in-codeigniter-4","status":"publish","type":"post","link":"https:\/\/programmingfields.com\/how-to-remove-index-php-from-url-in-codeigniter-4\/","title":{"rendered":"How to Remove index.php From URL in CodeIgniter 4"},"content":{"rendered":"\n<p>Usually, in the CodeIgniter 4 project, you will see there is an additional argument in the URL. That is <strong>index.php<\/strong> in your project URL. So, if you don&#8217;t want this extra parameter then you can remove it. This will make a clean URL of your website. There are several ways to remove this <strong>index.php in CodeIgniter 4<\/strong>. You can create a .htaccess file and create the rule to override the URL. It will require the host to access the created .htaccess file. So, it depends upon the host like Apache or Nginx. In my last tutorial, I have shared the post on <a href=\"https:\/\/programmingfields.com\/upload-multiple-image-with-validation-in-codeigniter-4\/\">CodeIgniter 4 Multiple Image Upload<\/a>. If you followed that then you have the idea of redirection of the URL with <strong>index.php<\/strong> after image upload. In this post, I am not going to create a new project in CodeIgniter 4 for this. I will be using an existing project here.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/programmingfields.com\/how-to-remove-index-php-from-url-in-codeigniter-4\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/programmingfields.com\/how-to-remove-index-php-from-url-in-codeigniter-4\/#How_to_Check_indexphp_in_URL\" >How to Check index.php in URL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/programmingfields.com\/how-to-remove-index-php-from-url-in-codeigniter-4\/#Remove_indexphp_in_CodeIgniter_4\" >Remove index.php in CodeIgniter 4<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/programmingfields.com\/how-to-remove-index-php-from-url-in-codeigniter-4\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span><strong>Prerequisites<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>To remove the index.php in CodeIgniter 4, you must have an installed project. You can create a new one if you don&#8217;t have.<\/li><\/ul>\n\n\n\n<p>I am not going to show you to create a project in CodeIgniter 4 here.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Check_indexphp_in_URL\"><\/span><strong>How to Check index.php in URL<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Firstly, I have opened the project inside the VS Code editor. I already started my development server by hitting the spark command.<\/p>\n\n\n\n<pre title=\"running codeigniter 4 project\" class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">php spark serve<\/code><\/pre>\n\n\n\n<p>Now, you can see here, the development server is started on <code>http\/\/localhost:8080<\/code>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/i1.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/05\/Screenshot-from-2021-05-14-12-04-05.png?w=923&amp;ssl=1\" alt=\"CodeIgniter 4 Development Server Started\"\/><figcaption><strong>CodeIgniter 4 Development Server Started<\/strong><\/figcaption><\/figure><\/div>\n\n\n\n<p>Now, I am diverting you to the browser by following the above URL.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"479\" src=\"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-09-39-02.png?resize=1024%2C479&#038;ssl=1\" alt=\"CodeIgniter 4 Homepage\" class=\"wp-image-6128\" srcset=\"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-09-39-02.png?resize=1024%2C479&amp;ssl=1 1024w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-09-39-02.png?resize=300%2C140&amp;ssl=1 300w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-09-39-02.png?resize=768%2C359&amp;ssl=1 768w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-09-39-02.png?w=1258&amp;ssl=1 1258w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption><strong>CodeIgniter 4 Homepage<\/strong><\/figcaption><\/figure><\/div>\n\n\n\n<p>So, I already have the image upload functionality in my last post. Now, I have navigated to the specified route and I have the below screen.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1006\" height=\"352\" src=\"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-42-53.png?resize=1006%2C352&#038;ssl=1\" alt=\"CodeIgniter 4 Homepage\" class=\"wp-image-6125\" srcset=\"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-42-53.png?w=1006&amp;ssl=1 1006w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-42-53.png?resize=300%2C105&amp;ssl=1 300w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-42-53.png?resize=768%2C269&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption>Image Upload in CodeIgniter 4<\/figcaption><\/figure><\/div>\n\n\n\n<p>Firstly, let me show you the impact of <strong>index.php <\/strong>before removing from the URL in CodeIgniter 4. Here, I have already the validation rule for validating image before upload. So, I chosen the valid image and clicked on the Upload button.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"999\" height=\"341\" src=\"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-43-17.png?resize=999%2C341&#038;ssl=1\" alt=\"Image Selected in CodeIgniter 4 \" class=\"wp-image-6126\" srcset=\"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-43-17.png?w=999&amp;ssl=1 999w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-43-17.png?resize=300%2C102&amp;ssl=1 300w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-43-17.png?resize=768%2C262&amp;ssl=1 768w\" sizes=\"auto, (max-width: 999px) 100vw, 999px\" \/><figcaption><strong>Image Selected in CodeIgniter 4 <\/strong><\/figcaption><\/figure><\/div>\n\n\n\n<p>Here, the image is uploaded successfully. Now, you can see the URL has been redirected with <strong>index.php<\/strong> by default. The below URL is <code>http:\/\/localhost:8080\/index.php\/upload<\/code>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"703\" src=\"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-43-26.png?resize=1024%2C703&#038;ssl=1\" alt=\"Image Uploaded in CodeIgniter 4 with index.php URL\" class=\"wp-image-6127\" srcset=\"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-43-26.png?resize=1024%2C703&amp;ssl=1 1024w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-43-26.png?resize=300%2C206&amp;ssl=1 300w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-43-26.png?resize=768%2C527&amp;ssl=1 768w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-43-26.png?w=1036&amp;ssl=1 1036w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption><strong>Image Uploaded in CodeIgniter 4 with index.php URL<\/strong><\/figcaption><\/figure><\/div>\n\n\n\n<p>Here, this is the impact of having the<strong> index.php<\/strong> in the URL. So, let&#8217;s remove it in the simple steps.<\/p>\n\n\n\n<p class=\"has-text-align-center\"><a href=\"https:\/\/programmingfields.com\/form-validation-example-in-codeigniter-4\/\" target=\"_blank\" rel=\"noreferrer noopener\">Form Validation Example in Codeigniter 4 For Beginners<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Remove_indexphp_in_CodeIgniter_4\"><\/span><strong>Remove index.php in CodeIgniter 4<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Now, come back to the CodeIgniter 4 project. Firstly, go to the <strong>app\/Config\/App.php<\/strong>. You will see the <strong>baseURL <\/strong>of the project.<\/p>\n\n\n\n<p>If you want to change the base url of the CodeIgniter 4 project then you can change it from here.<\/p>\n\n\n\n<p>In the next line, you will see the <strong>Index File<\/strong> description. So, you already noticed one thing while accessing the homepage of the CodeIgniter. In the <strong>indexPage<\/strong> property by default the <strong>index.php<\/strong> was added. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"474\" src=\"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-44-12.png?resize=1024%2C474&#038;ssl=1\" alt=\"Config\/App.php in CodeIgniter 4\" class=\"wp-image-6123\" srcset=\"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-44-12.png?resize=1024%2C474&amp;ssl=1 1024w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-44-12.png?resize=300%2C139&amp;ssl=1 300w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-44-12.png?resize=768%2C355&amp;ssl=1 768w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-44-12.png?w=1120&amp;ssl=1 1120w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption><strong>Config\/App.php in CodeIgniter 4<\/strong><\/figcaption><\/figure>\n\n\n\n<p>Here, I haven&#8217;t changed the base URL. I will access it on the default port by running the applicaton through the spark command. So, I just removed the <strong>index.php<\/strong> from the <strong>indexPage<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"482\" src=\"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-44-54.png?resize=1024%2C482&#038;ssl=1\" alt=\"Removed index.php From the Config in CodeIgniter 4\" class=\"wp-image-6124\" srcset=\"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-44-54.png?resize=1024%2C482&amp;ssl=1 1024w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-44-54.png?resize=300%2C141&amp;ssl=1 300w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-44-54.png?resize=768%2C361&amp;ssl=1 768w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-44-54.png?w=1152&amp;ssl=1 1152w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption><strong>Removed index.php From the Config in CodeIgniter 4<\/strong><\/figcaption><\/figure>\n\n\n\n<p>CodeIgniter 4 project has by default <strong>.htaccess<\/strong> file in the public folder. So, no need to create another <strong>.htaccess<\/strong> file.<\/p>\n\n\n\n<p class=\"has-text-align-center\"><a href=\"https:\/\/programmingfields.com\/create-a-crud-application-in-codeigniter-4-for-beginners\/\">Create a CRUD Application in CodeIgniter 4 For Beginners<\/a><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"364\" src=\"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-04-07-18-06.png?resize=1024%2C364&#038;ssl=1\" alt=\".htaccess file in CodeIgniter 4\" class=\"wp-image-6132\" srcset=\"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-04-07-18-06.png?resize=1024%2C364&amp;ssl=1 1024w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-04-07-18-06.png?resize=300%2C107&amp;ssl=1 300w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-04-07-18-06.png?resize=768%2C273&amp;ssl=1 768w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-04-07-18-06.png?w=1151&amp;ssl=1 1151w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption><strong>.htaccess file in CodeIgniter 4<\/strong><\/figcaption><\/figure><\/div>\n\n\n\n<p>Now, go back to the homepage and refresh the URL. Here, I am trying to upload the image again. In the result, you can see the image is uploaded and the <strong>index.php<\/strong> is not showing in the URL.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"993\" height=\"710\" src=\"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-48-15.png?resize=993%2C710&#038;ssl=1\" alt=\"index.php Removed From URL in CodeIgniter 4\" class=\"wp-image-6131\" srcset=\"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-48-15.png?w=993&amp;ssl=1 993w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-48-15.png?resize=300%2C215&amp;ssl=1 300w, https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/Screenshot-from-2021-06-03-08-48-15.png?resize=768%2C549&amp;ssl=1 768w\" sizes=\"auto, (max-width: 993px) 100vw, 993px\" \/><figcaption><strong>index.php Removed From URL in CodeIgniter 4<\/strong><\/figcaption><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><a href=\"https:\/\/programmingfields.com\/how-to-upload-image-and-file-in-codeigniter-4-with-validation\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Upload Image and File in Codeigniter 4 with Validation<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Finally, we removed the <strong>index.php <\/strong>from the URL of CodeIgniter 4 application. Now, the URL became neat and clean. So, you can create routes and everything will work perfectly. I hope this tutorial will help you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Usually, in the CodeIgniter 4 project, you will see there is an additional argument in the URL. That is index.php in your project URL. So, if you don&#8217;t want this extra parameter then you can remove it. This will make a clean URL of your website. There are several ways to remove this index.php in [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":6134,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1977],"tags":[2082,2019,2080,2079,2078],"yst_prominent_words":[966,984,51],"class_list":{"0":"post-6119","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-codeigniter-4","8":"tag-codeigniter-4-config","9":"tag-codeigniter-4-download-and-install","10":"tag-codeigniter-4-remove-index-php","11":"tag-codeigniter-url","12":"tag-remove-index-php","13":"entry"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/programmingfields.com\/wp-content\/uploads\/2021\/06\/remove-index.php_.png?fit=2240%2C1260&ssl=1","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/programmingfields.com\/wp-json\/wp\/v2\/posts\/6119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/programmingfields.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/programmingfields.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/programmingfields.com\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/programmingfields.com\/wp-json\/wp\/v2\/comments?post=6119"}],"version-history":[{"count":0,"href":"https:\/\/programmingfields.com\/wp-json\/wp\/v2\/posts\/6119\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/programmingfields.com\/wp-json\/wp\/v2\/media\/6134"}],"wp:attachment":[{"href":"https:\/\/programmingfields.com\/wp-json\/wp\/v2\/media?parent=6119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/programmingfields.com\/wp-json\/wp\/v2\/categories?post=6119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/programmingfields.com\/wp-json\/wp\/v2\/tags?post=6119"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/programmingfields.com\/wp-json\/wp\/v2\/yst_prominent_words?post=6119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}