Title: kwpknme's Replies | WordPress.org

---

# kwpknme

  [  ](https://wordpress.org/support/users/idhamou/)

 *   [Profile](https://wordpress.org/support/users/idhamou/)
 *   [Topics Started](https://wordpress.org/support/users/idhamou/topics/)
 *   [Replies Created](https://wordpress.org/support/users/idhamou/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/idhamou/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/idhamou/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/idhamou/engagements/)
 *   [Favorites](https://wordpress.org/support/users/idhamou/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Remove XML sitemap links with status code other than 200](https://wordpress.org/support/topic/remove-xml-sitemap-links-with-status-code-other-than-200/)
 *  Thread Starter [kwpknme](https://wordpress.org/support/users/idhamou/)
 * (@idhamou)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/remove-xml-sitemap-links-with-status-code-other-than-200/#post-18075297)
 * Yes we own both websites , the redirects are set in the theme using php ( wp_redirect()).
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Remove XML sitemap links with status code other than 200](https://wordpress.org/support/topic/remove-xml-sitemap-links-with-status-code-other-than-200/)
 *  Thread Starter [kwpknme](https://wordpress.org/support/users/idhamou/)
 * (@idhamou)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/remove-xml-sitemap-links-with-status-code-other-than-200/#post-18074836)
 * Hello
   Let’s take [https://www.mariefrance.fr/category-sitemap.xml](https://www.mariefrance.fr/category-sitemap.xml)
   as exemple :there are categories that redirect to a sub-domain of mariefrance,
   for example :* [https://www.mariefrance.fr/belle-positive](https://www.mariefrance.fr/belle-positive)*
   [https://www.mariefrance.fr/belle-positive/bien-dans-ma-peau/beaute-bien-dans-ma-peau](https://www.mariefrance.fr/belle-positive/bien-dans-ma-peau/beaute-bien-dans-ma-peau)*
   [https://www.mariefrance.fr/belle-positive/bien-dans-ma-peau](https://www.mariefrance.fr/belle-positive/bien-dans-ma-peau)*
   [https://www.mariefrance.fr/belle-positive/bien-dans-ma-vie](https://www.mariefrance.fr/belle-positive/bien-dans-ma-vie)*
   [https://www.mariefrance.fr/belle-positive/bien-dans-mon-corps-belle-positive](https://www.mariefrance.fr/belle-positive/bien-dans-mon-corps-belle-positive)*
   [https://www.mariefrance.fr/belle-positive/bien-quand-jecoute](https://www.mariefrance.fr/belle-positive/bien-quand-jecoute)
 * ![](https://wordpress.org/fca6563f-4aa5-447e-bda3-fbd59a91859e)
 * 
   I know it’s possible to exclude categories from the BO by modifying the category
   and set**Allow search engines to show this Catégorie in search results?** to 
   noBut I also want to remove all permalink articles in these categories from the
   sitemaps.There are other articles on our site that are redirected to other urls.
   urls.
 * Here’s another example:
   url with redirection : [https://www.mariefrance.fr/web-stories/jardin-voici-les-plantes-quil-ne-faut-surtout-pas-tailler-en-juin](https://www.mariefrance.fr/web-stories/jardin-voici-les-plantes-quil-ne-faut-surtout-pas-tailler-en-juin)
   sitemap : [https://www.mariefrance.fr/web-story-sitemap.xml](https://www.mariefrance.fr/web-story-sitemap.xml)
 * ![](https://wordpress.org/e43c6ce8-0a16-4f58-9f4e-916400d29c0a)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Remove XML sitemap links with status code other than 200](https://wordpress.org/support/topic/remove-xml-sitemap-links-with-status-code-other-than-200/)
 *  Thread Starter [kwpknme](https://wordpress.org/support/users/idhamou/)
 * (@idhamou)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/remove-xml-sitemap-links-with-status-code-other-than-200/#post-18071334)
 * Hello there,
   i tested the sitemaps on the local project with the W3 Total Cache
   deactivated ,but the problem still exists.so i try to test with the **twentytwentyone**
   theme, then i add this code to the theme’s functions.php file (to test urls with
   status code = 302 and 301):
 * `function redirect_people_category() {
   if (is_category('people') || is_singular()&&
   has_category('people')) {wp_redirect('https://www.google.com');exit();}}add_action('
   template_redirect', 'redirect_people_category');
 * 
   i deactivate all plugins , except yoast.but I always found people’s articles
   links in sitemaps, even those articles have 302 code (redirect to another ULR)
   Thanks.
    -  This reply was modified 1 year, 8 months ago by [kwpknme](https://wordpress.org/support/users/idhamou/).
    -  This reply was modified 1 year, 8 months ago by [kwpknme](https://wordpress.org/support/users/idhamou/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AMP for WP - Accelerated Mobile Pages] Edit the link of rel=”prev” for the paginated amp pages](https://wordpress.org/support/topic/edit-the-link-of-relprev-for-the-paginated-amp-pages/)
 *  Thread Starter [kwpknme](https://wordpress.org/support/users/idhamou/)
 * (@idhamou)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/edit-the-link-of-relprev-for-the-paginated-amp-pages/#post-17135847)
 * Hello ,
 * Any updates on this request please?
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AMP for WP - Accelerated Mobile Pages] Edit the link of rel=”prev” for the paginated amp pages](https://wordpress.org/support/topic/edit-the-link-of-relprev-for-the-paginated-amp-pages/)
 *  Thread Starter [kwpknme](https://wordpress.org/support/users/idhamou/)
 * (@idhamou)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/edit-the-link-of-relprev-for-the-paginated-amp-pages/#post-16719997)
 * i need also change the amp home page link from to  [https://www.silicon.fr/amp](https://www.silicon.fr/amp)
   to  [https://www.silicon.fr/amp/](https://www.silicon.fr/amp/)
 * Thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AMP for WP - Accelerated Mobile Pages] Edit the link of rel=”prev” for the paginated amp pages](https://wordpress.org/support/topic/edit-the-link-of-relprev-for-the-paginated-amp-pages/)
 *  Thread Starter [kwpknme](https://wordpress.org/support/users/idhamou/)
 * (@idhamou)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/edit-the-link-of-relprev-for-the-paginated-amp-pages/#post-16719990)
 * Hi Ahmed,
 * [https://www.silicon.fr/tag/qualcomm/amp/page/2](https://www.silicon.fr/tag/qualcomm/amp/page/2)
   
   in this example, the link **<link rel=”prev” href=”[https://www.silicon.fr/tag/qualcomm/amp/](https://www.silicon.fr/tag/qualcomm/amp/)**”/
   > must be replaced by **<link rel=”prev” href=”[https://www.silicon.fr/tag/qualcomm/amp](https://www.silicon.fr/tag/qualcomm/amp/)”/
   >**I couldn’t find no filter hook to modify the link !
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AMP for WP - Accelerated Mobile Pages] Edit the link of rel=”prev” for the paginated amp pages](https://wordpress.org/support/topic/edit-the-link-of-relprev-for-the-paginated-amp-pages/)
 *  Thread Starter [kwpknme](https://wordpress.org/support/users/idhamou/)
 * (@idhamou)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/edit-the-link-of-relprev-for-the-paginated-amp-pages/#post-16707720)
 * Hi Ahmed,
 * is for the SEO . in my website the link .**../amp/** generate a redirection to**…./
   amp** , 
   so i want to make this change, the url must be like: **…/amp** and not
   like **…/amp/**
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AMP for WP - Accelerated Mobile Pages] wpColorPicker is not a function – conflict with another plugin](https://wordpress.org/support/topic/wpcolorpicker-is-not-a-function-conflict-with-another-plugin-2/)
 *  Thread Starter [kwpknme](https://wordpress.org/support/users/idhamou/)
 * (@idhamou)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wpcolorpicker-is-not-a-function-conflict-with-another-plugin-2/#post-12312271)
 * Hi we are using AMP version 1.0.9, the function wpColorPicker
    called in the 
   file admin-script.js of AMP throwing up an error.
 * ——————————————————————–
    error : admin-script.js?ver=0.9.98.22:1014 Uncaught 
   TypeError: $(…).find(…).wpColorPicker is not a function
 * ——————————————————————–

Viewing 8 replies - 1 through 8 (of 8 total)