Welcome Guest, Not a member yet? Register   Sign In
Upgraded to 3... can't access pages
#6

(This post was last modified: 01-06-2016, 08:29 AM by PaulD. Edit Reason: Crossed with previous post )

Hi,

Your css files are (if you inspect the source) relative links. Not knowing how you generate your URL, if you are using base_url then there is an issue with that, otherwise you just need the / at the start (one of your stylesheets is listed as .php too).

The working with index and not without index is probably a .htaccess issue, but not being anything more than an amateur at .htaccess (its all voodoo to me) here is my version that I use that works on virtually every site I do:

Code:
DirectoryIndex index.php

RewriteEngine on
RewriteBase /portal/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|robots\.txt)

RewriteRule ^(.*)$ index.php?/$1 [L]

<FilesMatch ".(ttf|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>

In fairness it looks just like yours, but with some extra bits in it (that I am not sure are needed or indeed what they do) but it works for me.

Hope that helps,

Paul.

PS Crossed with Narf's previous post and of course, Narf is right, make sure your .htaccess is working.
Reply


Messages In This Thread
Upgraded to 3... can't access pages - by baazil1 - 01-05-2016, 09:31 AM
RE: Upgraded to 3... can't access pages - by Narf - 01-05-2016, 11:43 AM
RE: Upgraded to 3... can't access pages - by PaulD - 01-06-2016, 08:28 AM
RE: Upgraded to 3... can't access pages - by Narf - 01-06-2016, 08:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB