{"id":2102,"date":"2024-02-15T12:30:00","date_gmt":"2024-02-15T18:30:00","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=2102"},"modified":"2024-01-24T06:14:59","modified_gmt":"2024-01-24T12:14:59","slug":"how-to-fix-drupal-clean-urls-not-working","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/","title":{"rendered":"How to Fix Drupal &#8220;Clean URLs&#8221; Not Working"},"content":{"rendered":"\n<p>Drupal is an open-source content management system written in PHP. It offers an alternative to other CMSes, being full of features and highly customizable. Drupal enables clean URLs by default since version 9 to allow its users to more easily read the URLs. However, this default setting doesn&#8217;t work depending on your server&#8217;s configuration. In this article, we will show you how to fix Drupal Clean URLs issues.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">What are Clean URLs?<\/h2>\n\n\n\n<p>In more recent Drupal versions like 9 and 10, Drupal enables clean URLs by default, and it can&#8217;t be disabled. For this feature to work, a rewrite module must be installed on your web server. You can check your Drupal link in your browser&#8217;s address bar. Your website&#8217;s URLs should not contain <code>?q=<\/code> within the URL. For example, you should not see this in your URL bar:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">https:\/\/yourdomain.com\/?q=node\/99<\/pre>\n\n\n\n<p>It should look like this instead:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">https:\/\/yourdomain.com\/node\/99<\/pre>\n\n\n\n<p>The clean URLs in Drupal provide several key benefits, such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>More User Friendly, Easier to Read<\/strong>: The links in clean URLs are easy to remember if compared to the links in a long URL with random strings containing numbers and letters.<\/li>\n\n\n\n<li><strong>SEO Friendly<\/strong>: The clean URLs might affect your Search Engine Optimization results. Please note that shorter link structure is generally better. Search engines love concise URLs, and using links that contain keywords is another valuable technique to optimize your clean URLs for SEO purposes. By incorporating relevant keywords into your clean URLs, you assist Google in understanding the nature of your website&#8217;s content.<\/li>\n\n\n\n<li><strong>Easier Link Sharing<\/strong>: Meaningful clean URLs makes it easier to share links. When users share links on various platforms such as social media or emails, descriptive clean URLs offers a glimpse of the content they will be directed to. This enhances the chances of click-throughs since users are aware of the destination they will be going towards.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How to Fix Drupal &#8220;Clean URLs&#8221; Not Working<\/h2>\n\n\n\n<p>There are some steps to complete to solve the issue. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Enable The Rewrite Module for Apache<\/h3>\n\n\n\n<p>On Operating Systems like CentOS, AlmaLinux, Rocky Linux, etc., the rewrite module is enabled by default. If you are running Ubuntu, then you will need to enable it manually. First, let&#8217;s check the module status.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ apachectl -M | grep -i rewrite<\/pre>\n\n\n\n<p>The command above should return a message, like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">master@home:~$ sudo apachectl -M | grep -i rewrite<br>rewrite_module (shared)<\/pre>\n\n\n\n<p>If you do not see any message after issuing the command, then you need to execute the command below to enable it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo a2enmod rewrite<\/pre>\n\n\n\n<p>Once enabled, we can restart the Apache service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo systemctl restart apache2<\/pre>\n\n\n\n<p>With this module now enabled, try to load your website again. If you still don&#8217;t have clean URLs, read on &#8211; there&#8217;s more you can try.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Check <code>.htaccess<\/code> File<\/h3>\n\n\n\n<p>If Apache rewrite module is enabled and the clean URLs are still not working, check your <code>.htaccess<\/code> file. Make sure there is a <code>.htaccess<\/code> file in your website&#8217;s document root. If you have it and it&#8217;s still not working, make sure you have the correct <code>RewriteBase<\/code> path in that <code>.htaccess<\/code> file.<\/p>\n\n\n\n<p>When installing Drupal under a subdirectory, for example: <code>https:\/\/yourdomain.com\/drupal<\/code>, then the <code>RewriteBase<\/code> directive should look like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">RewriteBase \/drupal\/<\/pre>\n\n\n\n<p>If your Drupal website is installed on the domain&#8217;s or subdomain&#8217;s document root and not under a subdirectory, then it should look like this.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">RewriteBase \/<\/pre>\n\n\n\n<p>Make sure you comment out the line by removing the <code>#<\/code> symbol in front of <code>RewriteBase<\/code>, if any, otherwise this will not work. For example, if the line looks like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#RewriteBase \/<\/pre>\n\n\n\n<p>Then you need to remove the <code>#<\/code> symbol. It should look like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">RewriteBase \/<\/pre>\n\n\n\n<p>Save your <code>.htaccess<\/code> file after editing and exit from the editor.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Check Apache Configuration<\/h3>\n\n\n\n<p>While processing a request, the Apache web server looks for the first configuration file from a list of names in every directory that&#8217;s part of the path to the document. This is the case only if distributed configuration files are enabled for that directory. For example, let&#8217;s say your site has this in its configuration:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">AccessFileName .htaccess<\/pre>\n\n\n\n<p>Before returning the document <code>\/var\/www\/html\/drupal\/index.php<\/code>, the server will check the <code>.htaccess<\/code> file for directives unless they have been disabled using this setting:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">AllowOverride None<\/pre>\n\n\n\n<p>When this <code>AllowOverride<\/code> directive is set to <code>None<\/code> and <code>AllowOverrideList<\/code> is set to <code>None<\/code>, then Apache will completely ignore the <code>.htaccess<\/code> files. In this case, the server will not even attempt to read <code>.htaccess<\/code> files in the filesystem. When this <code>AllowOverride<\/code> directive is set to <code>All<\/code>, then the directives are allowed in <code>.htaccess<\/code> files. So, make sure to set your AllowOverride directive to <code>All<\/code>.<\/p>\n\n\n\n<p>So, if you get a &#8220;Your server is capable of using clean URLs, but it is not enabled.&#8221; warning message in the dashboard, updating <code>AllowOverride<\/code> from <code>None<\/code> to <code>All<\/code> should be enough to fix it. Do not forget, after making changes to your Apache configuration file, make sure to check the configuration with this command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo apachectl -t<\/pre>\n\n\n\n<p>or<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo httpd -t<\/pre>\n\n\n\n<p>and restart the service if everything is okay.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo systemctl restart apache2<\/pre>\n\n\n\n<p>or, if you&#8217;re using an OS like CentOS, AlmaLinux, and Rocky Linux:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo systemctl restart httpd<\/pre>\n\n\n\n<p>If your Drupal website is running on Nginx, you most likely will not have this issue with Drupal clean URLs. And if you do, you just need to check your Nginx server block for your Drupal website. You can compare your Nginx server block with the one at <a href=\"https:\/\/www.nginx.com\/resources\/wiki\/start\/topics\/recipes\/drupal\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.nginx.com\/resources\/wiki\/start\/topics\/recipes\/drupal\/<\/a>. There&#8217;s likely something missing or incorrectly set.<\/p>\n\n\n\n<p>Since you are using Nginx, you do not need to check your <code>.htaccess<\/code> file as Nginx does not support that kind of configuration file.<\/p>\n\n\n\n<p>That&#8217;s it all! You have learned how to fix the Drupal &#8220;Clean URLs&#8221; Not Working issue. Hopefully, you have a better understanding of the Clean URLs issues in Drupal.<\/p>\n\n\n\n<p>PS. If you liked this post, please share it with your friends on the social networks using our share shortcuts, or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Drupal is an open-source content management system written in PHP. It offers an alternative to other CMSes, being full of features and highly customizable. Drupal enables clean URLs by default since version 9 to allow its users to more easily read the URLs. However, this default setting doesn&#8217;t work depending on your server&#8217;s configuration. In &#8230; <a title=\"How to Fix Drupal &#8220;Clean URLs&#8221; Not Working\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/\" aria-label=\"More on How to Fix Drupal &#8220;Clean URLs&#8221; Not Working\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":2106,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[60,103],"class_list":["post-2102","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-cms","tag-drupal"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Fix Drupal &quot;Clean URLs&quot; Not Working | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"Drupal is an open-source content management system written in PHP. It offers an alternative to other CMSes, being full of features and highly\" \/>\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.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix Drupal &quot;Clean URLs&quot; Not Working | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"Drupal is an open-source content management system written in PHP. It offers an alternative to other CMSes, being full of features and highly\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-15T18:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-fix-drupal-clean-urls-not-working.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-fix-drupal-clean-urls-not-working\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-fix-drupal-clean-urls-not-working\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to Fix Drupal &#8220;Clean URLs&#8221; Not Working\",\"datePublished\":\"2024-02-15T18:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-fix-drupal-clean-urls-not-working\\\/\"},\"wordCount\":942,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-fix-drupal-clean-urls-not-working\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/how-to-fix-drupal-clean-urls-not-working.webp\",\"keywords\":[\"cms\",\"drupal\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-fix-drupal-clean-urls-not-working\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-fix-drupal-clean-urls-not-working\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-fix-drupal-clean-urls-not-working\\\/\",\"name\":\"How to Fix Drupal \\\"Clean URLs\\\" Not Working | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-fix-drupal-clean-urls-not-working\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-fix-drupal-clean-urls-not-working\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/how-to-fix-drupal-clean-urls-not-working.webp\",\"datePublished\":\"2024-02-15T18:30:00+00:00\",\"description\":\"Drupal is an open-source content management system written in PHP. It offers an alternative to other CMSes, being full of features and highly\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-fix-drupal-clean-urls-not-working\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-fix-drupal-clean-urls-not-working\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-fix-drupal-clean-urls-not-working\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/how-to-fix-drupal-clean-urls-not-working.webp\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/how-to-fix-drupal-clean-urls-not-working.webp\",\"width\":742,\"height\":410,\"caption\":\"how to fix drupal clean urls not working\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-fix-drupal-clean-urls-not-working\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Fix Drupal &#8220;Clean URLs&#8221; Not Working\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Fix Drupal \"Clean URLs\" Not Working | LinuxCloudVPS Blog","description":"Drupal is an open-source content management system written in PHP. It offers an alternative to other CMSes, being full of features and highly","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.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix Drupal \"Clean URLs\" Not Working | LinuxCloudVPS Blog","og_description":"Drupal is an open-source content management system written in PHP. It offers an alternative to other CMSes, being full of features and highly","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2024-02-15T18:30:00+00:00","og_image":[{"width":742,"height":410,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-fix-drupal-clean-urls-not-working.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to Fix Drupal &#8220;Clean URLs&#8221; Not Working","datePublished":"2024-02-15T18:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/"},"wordCount":942,"commentCount":0,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-fix-drupal-clean-urls-not-working.webp","keywords":["cms","drupal"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/","name":"How to Fix Drupal \"Clean URLs\" Not Working | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-fix-drupal-clean-urls-not-working.webp","datePublished":"2024-02-15T18:30:00+00:00","description":"Drupal is an open-source content management system written in PHP. It offers an alternative to other CMSes, being full of features and highly","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-fix-drupal-clean-urls-not-working.webp","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2024\/01\/how-to-fix-drupal-clean-urls-not-working.webp","width":742,"height":410,"caption":"how to fix drupal clean urls not working"},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-fix-drupal-clean-urls-not-working\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Fix Drupal &#8220;Clean URLs&#8221; Not Working"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/2102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=2102"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/2102\/revisions"}],"predecessor-version":[{"id":2105,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/2102\/revisions\/2105"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/2106"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=2102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=2102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=2102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}