Welcome Guest, Not a member yet? Register   Sign In
Renaming index.php
#1

[eluser]SaminOz[/eluser]
I wanted to rename index.php for SEO purposes and so changed the file name (but not location) and then set the config['index'] value to newName.

But no luck - I can't think what else I would need to change?

BTW. There is no active .htaccess in the directory.

I did play with config['uri_protocol'] but no change.

Regards,
SaminOz
#2

[eluser]frist44[/eluser]
After you made those changes, what did you type as the URL? I would guess that if you don't specifically put the page newName.php in the URL, you would also have to specify in your apache installation that the newName.php file is your default document.
#3

[eluser]SaminOz[/eluser]
it's true that I could see the file in the directory and therefore could configure apache to access directly - I mistakenly thought I could configure through CI.

No worries, I might take a different approach and use a sub-domain.

Thanks frist!




Theme © iAndrew 2016 - Forum software by © MyBB