• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Codeigniter and Wordpress link up

I have been Using these instructions: https://github.com/AdeptMarketing/Wordpress_CI so that we can add the correct navigation etc to the codeigniter area of a website.

The codeigniter application has just been updated and works correctly on a seperate dev url - it is a basic booking system that allows users to register and book available slots in a diary, and for and admin to login and activate users and approve the bookings.  Now that I have followed the above instructions to move the application into the wordpress system there is an issue with user activation where the url is changing to the direct wordpress url and returning a 404 rather than the /ice-diary/index.php/auth this is the activate function within codeigniter:
PHP Code:
    //activate the user
function activate($id$code=false)
        if (
$code !== false)
$activation $this->ion_auth->activate($id$code);
        else if (
$activation $this->ion_auth->activate($id);

        if (
//redirect them to the auth page
//redirect them to the forgot password page

How do I get the correct auth url back? New to codeigniter, this is the first project I have worked on so any help would be really appreciated.
Many Thanks

I figured this out, I had to edit the anchors in the template file, thanks for looking :-)

thanks for figured out this, I will use for my site. *SEO SPAM LINK REDACTED*

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.