CodeIgniter Forums
wordpress and codeigniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: wordpress and codeigniter (/showthread.php?tid=66336)



wordpress and codeigniter - falcon812311 - 10-11-2016

Hi,
CI framework can support WP?
My landing page i use CI framwork and Bootsrap this is my exp link
Code:
http://mysite.com

for wordpress i want become
Code:
/about/

if I mix it will be like this

Code:
http://mysite.com/about/


it is possible?
sorry my english..


RE: wordpress and codeigniter - suhindra - 10-11-2016

yes its possible, just change .htaccess in the subfolder WordPress installation


RE: wordpress and codeigniter - d4jk4 - 10-28-2016

(10-11-2016, 12:46 AM)falcon812311 Wrote: Hi,
CI framework can support WP?
My landing page i use CI framwork and Bootsrap this is my exp link
Code:
http://mysite.com

for wordpress i want become
Code:
/about/

if I mix it will be like this

Code:
http://mysite.com/about/


it is possible?
sorry my english..

You can do it. It is just config in server (nginx, Apache,...)
https://www.digitalocean.com/community/questions/nginx-wordpress-in-a-sub-directory


RE: wordpress and codeigniter - vincent.roper - 10-28-2016

please see this link https://www.cometchat.com/blog/how-to-integrate-codeigniter-with-wordpress/


RE: wordpress and codeigniter - ram charan - 12-24-2016

With this Nginx configuration, I was able to achieve this on Ubuntu 14.04.

Code:
server {
       listen 80 default_server;
       listen [::]:80 default_server ipv6only=on;
       root /var/www/html;
       # server_name your_domain.com;

       location / {
               try_files $uri /wordpress/index.php?q=$uri&$args;
       }

       location /wordpress {
               index index.php index.html index.htm;
               try_files $uri $uri/ /index.php?q=$uri&$args;
       }

       error_page 404 /404.html;

       error_page 500 502 503 504 /50x.html;
       location = /50x.html {
               root /usr/share/nginx/html;
       }

       location ~ \.php$ {
               try_files $uri =404;
               fastcgi_split_path_info ^(.+\.php)(/.+)$;
               fastcgi_pass unix:/var/run/php5-fpm.sock;
               fastcgi_index index.php;
               include fastcgi_params;
       }
}


Foe more information : https://www.digitalocean.com/community/questions/nginx-wordpress-in-a-sub-directory
                       http://digitalocean.com/community