<p>It was the single quotes around 'true' in the config file :)</p>

CC BY-SA 3.0
2017-10-04T13:59:06.930Z
2017-10-04T13:59:06.930Z
Dave Joyce
<p>I've gone through all the steps here to remove index.php <a href="https://craftcms.com/support/remove-index.php" rel="nofollow noreferrer">https://craftcms.com/support/remove-index.php</a></p>
<p>The .htacess file is the default one that came with Craft on install</p>
<pre><code>&lt;IfModule mod_rewrite.c&gt;
    RewriteEngine On

    # Send would-be 404 requests to Craft
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
    RewriteRule (.+) index.php?p=$1 [QSA,L]
&lt;/IfModule&gt;
</code></pre>
<p>In my config/general.php file I have the setting set explicity..</p>
<pre><code>'omitScriptNameInUrls' =&gt; 'true',
</code></pre>
<p>I wrote to Arcustech for help with the httpd.conf file as the last step and they said...</p>
<blockquote>
<p>Changing that setting is not something we will update on Arcustech. If you were not already aware, we are a Craft CMS Hosting Partner and removing index.php in Craft URLs works on our servers without that update.</p>
<p>If you tell Craft Support you are hosted with Arcustech the Craft support team will know stuff will work here, so something else is wrong in the setup or .htaccess file. The account is not set up as a Craft Optimized plan (<a href="https://www.arcustech.com/managed/craftcms-hosting/" rel="nofollow noreferrer">https://www.arcustech.com/managed/craftcms-hosting/</a>) but that does not matter for basic functionality like that in Craft.</p>
</blockquote>
<p>I asked to be moved to the Craft Optimized plan, but it doesn't sound like that's an issue.</p>
<p>Any idea what's going on? Somedays it's fine. Today, at the moment, it's not.</p>

CC BY-SA 3.0
2017-10-02T18:02:35.533Z
SMH - It was the single quotes around 'true' in the config file. Ugh. Sorry for the noise. I need a vacation or something.
Dave Joyce
CC BY-SA 3.0
2017-10-02T18:12:25.657Z
It happens. :)  Would you mind adding that as an official answer in case it helps someone in the future?
Brad Bell
<url><config><admin><index>
Why does index.php persists in my URL?
# Why does index.php persists in my URL?

(Asked by: username_0 on 2017-10-02)

I've gone through all the steps here to remove index.php https://craftcms.com/support/remove-index.php
The .htacess file is the default one that came with Craft on install

    RewriteEngine On

    # Send would-be 404 requests to Craft
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
    RewriteRule (.+) index.php?p=$1 [QSA,L]


In my config/general.php file I have the setting set explicity..
'omitScriptNameInUrls' => 'true',

I wrote to Arcustech for help with the httpd.conf file as the last step and they said...

Changing that setting is not something we will update on Arcustech. If you were not already aware, we are a Craft CMS Hosting Partner and removing index.php in Craft URLs works on our servers without that update.
If you tell Craft Support you are hosted with Arcustech the Craft support team will know stuff will work here, so something else is wrong in the setup or .htaccess file. The account is not set up as a Craft Optimized plan (https://www.arcustech.com/managed/craftcms-hosting/) but that does not matter for basic functionality like that in Craft.

I asked to be moved to the Craft Optimized plan, but it doesn't sound like that's an issue.
Any idea what's going on? Somedays it's fine. Today, at the moment, it's not.

**Tags:** url, config, admin, index
> **Comments:**
> **username_0**: SMH - It was the single quotes around 'true' in the config file. Ugh. Sorry for the noise. I need a vacation or something.  
> **username_1**: It happens. :)  Would you mind adding that as an official answer in case it helps someone in the future?  

---

## 1 answers

### Answer by username_0 on 2017-10-04. Score: 1 | Accepted answer

It was the single quotes around 'true' in the config file :)


---

