• Resolved harshclimate

    (@harshclimate)


    I’m not sure what I did to my permalink structure, but somewhere along the way I somehow managed to add the date in front of where my titles are supposed to be. So the format looks like this now:

    localhost/wordpress/2018/03/18/topic-title-is-showing-here/

    It should look like:

    localhost/wordpress/topic-title-is-showing-here/

    I have a funny feeling it’s my $currentPage variable which reads like this:

    $currentPage = get_query_var('paged');
    $photo = new WP_Query( array(
        'post_type'      => 'post',
        'posts_per_page' => 12,
        'order' 	     => 'DESC',
        'category_name'  => 'photography',
        'paged'          => $currentPage
    ) );

    Can anyone out there lend a hand in figuring out why this might be happening?

Viewing 1 replies (of 1 total)
  • Thread Starter harshclimate

    (@harshclimate)

    Nevermind. I’m a dumb***. I don’t know how that got changed in the admin area, but somehow it did. I think my dog is messing with me.

Viewing 1 replies (of 1 total)
  • The topic ‘Something is adding date structure to permalinks rather than the title’ is closed to new replies.