my "post" or blog

This topic contains 65 replies, has 4 voices, and was last updated by  Stiofan O’Connor 9 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #27273

    Simone
    Expired Member
    Post count: 3515

    I was able to replicate the issue on my demo site using both Yoast and AIOSEO. Im adding this to the attention of Stiofan, it might be a bug.

    #27482

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Ray,

    This is indeed a conflict/bug with wp_seo etc..

    I have fixed it and the fix will be in the next version of core but if you want to fix now then please add the below code to the very bottom of your general_functions.php file.

    Thanks,

    Stiofan

    
    
    function is_page_geodir_home(){
    	global $wpdb;
    	$cur_url = str_replace("https", "http", geodir_curPageURL()); 
    	$home_url = home_url( '', 'http');
    	if(($cur_url==$home_url || $cur_url==$home_url.'/') && get_option('geodir_set_as_home') ){
    		return true;
    	}else{
    		return false;
    	}
    	
    }
    
    function geodir_wpseo_homepage_canonical($url) {
        global $post;
    
        if ( is_page_geodir_home() ) {
            return home_url();
        } 
    	
    	return $url;
    }
    add_filter( 'wpseo_canonical', 'geodir_wpseo_homepage_canonical', 10 );
    #27521

    ray-ramon-r
    Free User
    Post count: 101

    Stiofan.
    Is wp-seo a plugin of some sort? I’m running All In One SEO Pack. Will this fix my issue? I just want to make sure. Also please explain how to edit the general_functions.php file.
    Thank you

    #27525

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It seems to come under diffrent names, hopefully this works for this also.

    If you provide FTP details i will make the change if you wish?

    Stiofan

    #27526

    ray-ramon-r
    Free User
    Post count: 101

    I tried and it did not work I ftp to the file under geodirectory and it did not work. I’m out visiting clients and http://ftp.encuentramaz@instantsavingscertificate.com pass: 12geohelp

    #27555

    ray-ramon-r
    Free User
    Post count: 101
    This reply has been marked as private.
    #27557

    Paolo
    Site Admin
    Post count: 31206

    Please be patient, Stiofan will reply as soon as possible.
    Thanks

    #27559

    ray-ramon-r
    Free User
    Post count: 101

    Yes, thank you. I just saw issue resolved and I wanted to make sure you guys knew it’s not resolved. Thank you again

    #27578

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Ray,

    The ftp address does not seem right, please check and let me know.

    Stiofan

    #27614

    ray-ramon-r
    Free User
    Post count: 101
    This reply has been marked as private.
    #27697

    ray-ramon-r
    Free User
    Post count: 101

    Hello Stiofan,
    Are you able to login to ftp?
    Thank you.

    #27698

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    This reply has been marked as private.
    #27712

    ray-ramon-r
    Free User
    Post count: 101

    can you try please? if you not do so already… That’s the hosting account the account is set up as, it works fine for me, although the user is different. Or you can send me the code and instructions and I will implement. thank you Stiofan

    #27714

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    This reply has been marked as private.
    #27715

    ray-ramon-r
    Free User
    Post count: 101
    This reply has been marked as private.
Viewing 15 posts - 31 through 45 (of 66 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount