WordPress.org

Ready to get started?Download WordPress

Forums

Woocommerce custom Product tag slug not update in permalink (1 post)

  1. ybleong10
    Member
    Posted 1 year ago #

    Hi,
    I tried to change the "Product tag slug" in Woocommerce Setting>Pages>Permalink from default "product" to other custom slug.
    It did not change after I fill in new slug.
    I also tried to change the "Product category slug" in oocommerce Setting>Pages>Permalink, and it worked.

    this is my .htaccess
    Is there any issue that causing that?

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

Topic Closed

This topic has been closed to new replies.

About this Topic