₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,275 members, 8,421,127 topics. Date: Friday, 05 June 2026 at 08:02 PM

Toggle theme

Woocommerce Help Php Developer Question - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingWoocommerce Help Php Developer Question (955 Views)

1 Reply

Woocommerce Help Php Developer Question by seoconsultant(op): 3:35am On Nov 09, 2017
Hello developers please I need an assistance in writing a php code for this issue

how to rewrite 301 redirect of title page url from listings post type (custom post type) to point to title post (same title) of woocommerce product post type.
I find this code handling that for the theme url title link but don't know how to go around this.

============================================================
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="">
<div class="post-content post-content-vc">
<?php the_content(); ?>
</div>
<?php
wp_link_pages( array(
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'motors' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'motors' ) . ' </span>%',
'separator' => '<span class="screen-reader-text">, </span>',
) );
?>
</div>
</div>
1 Reply

Urgently Need A Php DeveloperI Need A PHP Developer AsapWoocommerce Shipping Plugin For Local Governments234

I Need Suggestion On Java Library To Extract Similar TopicsFree Customized Email Address Yourname@yourcompany.com With HostingVideo Surveillance: Towards A High-tech, Useful And Efficient Trend