Jump to content

Recommended Posts

Posted

Hi folks,

I have a PW site set up in the root of a domain, (reachable via domain.com/index.php, and domain.com/pw), with an static index.html and respective directory index entry in .htaccess added (DirectoryIndex index.html index.php ), since the site is still in development.

Now, suddenly, this is not working anymore, entering domain.com/index.php redirects to the root (and thus the .html), although I can still reach domain.com/pw just fine!

I had a look at the htaccess changes since I recently updated from 2.x to 3.0.6, including .htaccess, but there didn't seem to be any difference (not counting the added directory index entry of course) to the old, working htaccess.

Can anybody share any clue on what might be off here?

Cheers guys!

Phil

Posted

edit u. index.php file 

+  add 2 top on.line afters namespace

$_SERVER['REQUEST_URI']=str_replace('index.php','',$_SERVER['REQUEST_URI'])

when.u no needs index.html no more rember to deletex that ok

  • Like 4
Posted

If you have Jumplinks installed (pre 1.5.1), please upgrade (we're on 1.5.2 now), as previous versions trim out the index.php from URIs. 1.5.1+ only trims it if it is suffixed with a trailing slash and an optional path, matched by index.php(/.*).

Posted

edit u. index.php file 

+  add 2 top on.line afters namespace

$_SERVER['REQUEST_URI']=str_replace('index.php','',$_SERVER['REQUEST_URI']); 

when.u no needs index.html no more rember to deletex that ok

Haha, nice... : D

Brilliant! Works! Thanks a bunch!!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...