T o   u p g r a d e   p r e v i o u s   v e r s i o n s   t o   V   1 9 . 
 
 
 
 1 )   F o r   a l l   s h o p s ,   u p l o a d   t h e   i n c l u d e d   i n c l u d e s / c l a s s / s e o . c l a s s . t x t   f i l e . 
 
 
 
 
 
 2 )   U p l o a d   t h e   f i l e s   i n   t h e   i n c l u d e s / h o o k s /   d i r e c t o r y   t o   t h e   s a m e 
 
 l o c a t i o n   o n   t h e   s e r v e r . 
 
 
 
 
 
 3 )   F o r   P h o e n i x   o n l y : 
 
 
 
 A   -   e d i t   t h e   a d m i n / c a t e g o r i e s . p h p   f i l e   a n d   r e m o v e   t h e   f o l l o w i n g : 
 
 
 
 / /   U l t i m a t e   S E O   U R L s   v 2 . 2 d 
 
 / /   I f   t h e   a c t i o n   w i l l   a f f e c t   t h e   c a c h e   e n t r i e s 
 
       i f   (   p r e g _ m a t c h ( " / ( i n s e r t | u p d a t e | s e t f l a g ) / i " ,   $ a c t i o n )   )   i n c l u d e _ o n c e ( ' i n c l u d e s / r e s e t _ s e o _ c a c h e . p h p ' ) ; 
 
 
 
 
 
 B   -   e d i t   t h e   a d m i n / i n c l u d e s / f u n c t i o n s / g e n e r a l . p h p   f i l e   a n d   r e m o v e   t h e   f o l l o w i n g : 
 
 
 
 / /   F u n c t i o n   t o   r e s e t   S E O   U R L s   d a t a b a s e   c a c h e   e n t r i e s 
 
 / /   U l t i m a t e   S E O   U R L s   v 2 . 2 d 
 
 f u n c t i o n   t e p _ r e s e t _ c a c h e _ d a t a _ s e o _ u r l s ( $ a c t i o n ) {                 
 
     s w i t c h   ( $ a c t i o n ) { 
 
         c a s e   ' r e s e t ' : 
 
         c a s e   ' u n i n s t a l l ' : 
 
               t e p _ d b _ q u e r y ( " D E L E T E   F R O M   c a c h e   W H E R E   c a c h e _ n a m e   L I K E   ' % s e o _ u r l s % ' " ) ; 
 
               t e p _ d b _ q u e r y ( " U P D A T E   c o n f i g u r a t i o n   S E T   c o n f i g u r a t i o n _ v a l u e = ' f a l s e '   W H E R E   c o n f i g u r a t i o n _ k e y = ' S E O _ U R L S _ C A C H E _ R E S E T ' " ) ; 
 
 
 
               i f   ( $ a c t i o n   = =   ' r e s e t ' )   b r e a k ; 
 
         
 
               t e p _ d b _ q u e r y ( " D E L E T E   F R O M   c o n f i g u r a t i o n _ g r o u p   W H E R E   c o n f i g u r a t i o n _ g r o u p _ t i t l e   L I K E   ' % s e o _ u r l s % ' " ) ; 
 
 	           t e p _ d b _ q u e r y ( " D E L E T E   F R O M   c o n f i g u r a t i o n   W H E R E   c o n f i g u r a t i o n _ k e y   L I K E   ' S E O % '   O R   c o n f i g u r a t i o n _ k e y   L I K E   ' U S E _ S E O % ' " ) ; 
 
         b r e a k ;         
 
         d e f a u l t : 
 
         b r e a k ; 
 
     } 
 
     #   T h e   r e t u r n   v a l u e   i s   u s e d   t o   s e t   t h e   v a l u e   u p o n   v i e w i n g 
 
     #   I t ' s   N O T   r e t u r i n i n g   a   f a l s e   t o   i n d i c a t e   f a i l u r e ! ! 
 
     r e t u r n   ' f a l s e ' ; 
 
 } 
 
 
 
 