Viewing 10 replies - 1 through 10 (of 10 total)
  • can you post a link to the problem?

    where do you click to get forwarded to such an URL?

    Thread Starter chrishelp

    (@chrishelp)

    Yes. If you go to my home page (www.homemadegoodness.org) and then click on “Read the rest of this entry →” for any of my articles, you’ll be taken to the post’s page.

    For instance, the actual URL for my Homemade Glue post is (https://www.homemadegoodness.org/easyhomemadeglue.html). But when you click on it, the URL shows as (https://www.homemadegoodness.org/easyhomemadeglue.html#more-404). I need to find out how to get rid of “#more-404.”

    I’m not sure why it’s doing that. All of my posts are doing this. Even if you access the page from a “backlink,” it always shows the additional text in the URL. Any tips?

    what theme version do you run?

    i cannot reproduce this right now, tried all ways i can think of..

    also, did you change any theme files maybe?

    please let me know some more details so i can reproduce..

    maybe it is a bug, but for now i cannot say anything..

    latest theme version out now is 1.14..

    ** do you get the same error if you try to make this on a fresh install with no plugins and just a few test posts? when does the error occur then?

    hope this helps,
    konrad

    Thread Starter chrishelp

    (@chrishelp)

    My custom community theme is: By Themekraft, Version 1.13. I’m not sure why you cannot duplicate it. I have had this issue pointed out to me by others who have visited my site.

    In the address tab, when you visit one of the FULL posts for one of my blogs, you’ll see additional text at the end of the URL name. It starts with #more. For instance, https://www.homemadegoodness.org/dishwashingdetergentrecipe.html#more-454
    I get the same results on Firefox, Internet Explorer, and other other computers. It’s not necessarily an error. My page content pulls up fine. I’m happy with my site. No bugs. It’s just that pesky “#more” at the end of my URL for each post.

    Thread Starter chrishelp

    (@chrishelp)

    But you have to go to the post from my home page in order for this to work. Simply click on the Read the rest of this entry → for one of my posts. Then you’ll see the additional URL text in the address tab.

    Thread Starter chrishelp

    (@chrishelp)

    Thanks robwasripped,
    However, I entered the following into My Custom CSS, but the #more is still displaying:

    function remove_more_link_scroll( $link ) {
    $link = preg_replace( ‘|#more-[0-9]+|’, ”, $link );
    return $link;
    }
    add_filter( ‘the_content_more_link’, ‘remove_more_link_scroll’ );

    I’m using the Custom Community theme. Should I enter it somewhere else? It’s not really a big deal if I can’t fix this. It would just be nice to clean up the URL.

    You want to put that code into the functions.php file, not the CSS. That should do the trick.

    Thread Starter chrishelp

    (@chrishelp)

    Fantastic! It works. Thanks for the help.

    I saw this and other related posts all talking about this and just wanted to add something from my own experience: you have to make sure to add your “function remove_more_link_scroll” at the very bottom of the functions.php page, after the final “<?php } ?>” otherwise it won’t work.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Remove URL # more’ is closed to new replies.