Welcome Guest, Not a member yet? Register   Sign In
wordpress and codeigniter
#1

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..
This is me. JK not me.
Reply
#2

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

(This post was last modified: 10-28-2016, 06:41 PM by d4jk4.)

(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/q...-directory
Reply
#4

please see this link https://www.cometchat.com/blog/how-to-in...wordpress/
Reply
#5

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
Reply




Theme © iAndrew 2016 - Forum software by © MyBB