Welcome Guest, Not a member yet? Register   Sign In
Installing Codeigniter in domain subfolder, Wordpress installed in the root.
#1

[eluser]mirko77[/eluser]
I never used CodeIgniter before and now I am starting a project based on it.

I need to install Codeigniter in a subfolder, like www.mydomain.com/codeigniter with a Wordpress installation in www.mydomain.com

The Codeigniter application will be completely independent from the Wordpress database and files, I will just place a link to it.

Is there anything I need to be aware of before installing the framework?

Are there any settings which need to be modified since my index.php will not be in the main root folder?

Thank you in advance
#2

[eluser]Nextneed[/eluser]
Hi, sorry for the bad english... Smile
i don't know how wordpress work, but i think you have only to pay attention if it use url rewriting, in case you have to put an .htaccess in codeigniter folder saying to ignore wordpress url rewriting... and in case you are using url rewriting even in your codeigniter applications i think you must specify that it's running into a subfolder...

bye
luca
#3

[eluser]ELRafael[/eluser]
Your base_url must be configured with the subfolder
$config['base_url'] = 'http://www.example.com/codeigniter/';

If you use .htaccess in Wordpress, remember to ignore codeigniter folder.
#4

[eluser]mirko77[/eluser]
Thank you




Theme © iAndrew 2016 - Forum software by © MyBB