
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: permalink-helper.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php

namespace Yoast\WP\SEO\Helpers;

use WP_Error;
use Yoast\WP\SEO\Models\Indexable;

/**
 * A helper object for permalinks.
 */
class Permalink_Helper {

	/**
	 * Retrieves the permalink for an indexable.
	 *
	 * @param Indexable $indexable The indexable.
	 *
	 * @return string|null The permalink.
	 */
	public function get_permalink_for_indexable( $indexable ) {
		switch ( true ) {
			case $indexable-&gt;object_type === &#039;post&#039;:
				return $this-&gt;get_permalink_for_post( $indexable-&gt;object_sub_type, $indexable-&gt;object_id );
			case $indexable-&gt;object_type === &#039;home-page&#039;:
				return \home_url( &#039;/&#039; );
			case $indexable-&gt;object_type === &#039;term&#039;:
				$term = \get_term( $indexable-&gt;object_id );

				if ( $term === null || \is_wp_error( $term ) ) {
					return null;
				}

				return \get_term_link( $term, $term-&gt;taxonomy );
			case $indexable-&gt;object_type === &#039;system-page&#039; &amp;&amp; $indexable-&gt;object_sub_type === &#039;search-page&#039;:
				return \get_search_link();
			case $indexable-&gt;object_type === &#039;post-type-archive&#039;:
				return \get_post_type_archive_link( $indexable-&gt;object_sub_type );
			case $indexable-&gt;object_type === &#039;user&#039;:
				return \get_author_posts_url( $indexable-&gt;object_id );
		}

		return null;
	}

	/**
	 * Retrieves the permalink for a post with the given post type and ID.
	 *
	 * @param string $post_type The post type.
	 * @param int    $post_id   The post ID.
	 *
	 * @return WP_Error|string|false The permalink.
	 */
	public function get_permalink_for_post( $post_type, $post_id ) {
		if ( $post_type !== &#039;attachment&#039; ) {
			return \get_permalink( $post_id );
		}

		return \wp_get_attachment_url( $post_id );
	}
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//triprinjani.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://triprinjani.com/post-sitemap.xml</loc>
		<lastmod>2026-09-26T02:10:14+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://triprinjani.com/page-sitemap.xml</loc>
		<lastmod>2026-09-25T16:40:53+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://triprinjani.com/activity-sitemap.xml</loc>
		<lastmod>2026-09-14T14:27:43+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://triprinjani.com/category-sitemap.xml</loc>
		<lastmod>2026-09-26T02:10:14+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://triprinjani.com/post_tag-sitemap.xml</loc>
		<lastmod>2026-06-01T04:49:55+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://triprinjani.com/author-sitemap.xml</loc>
		<lastmod>2026-05-11T10:02:51+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->