﻿<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blog &#187; Fatih Ibrahimi</title>
	<atom:link href="http://www.albcoders.com/blog/author/smartness/feed" rel="self" type="application/rss+xml" />
	<link>http://www.albcoders.com/blog</link>
	<description>Seo &#38; Programim ( Tutoriale - Artikuj )</description>
	<lastBuildDate>Thu, 24 Nov 2011 23:43:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Faqe Slash ne WordPress (index.html)</title>
		<link>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/faqe-slash-ne-wordpress-index-html.html</link>
		<comments>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/faqe-slash-ne-wordpress-index-html.html#comments</comments>
		<pubDate>Sat, 26 Dec 2009 16:25:51 +0000</pubDate>
		<dc:creator>Fatih Ibrahimi</dc:creator>
				<category><![CDATA[Mesime / Modifikime]]></category>

		<guid isPermaLink="false">http://www.albcoders.com/index.php/?p=521</guid>
		<description><![CDATA[Zakonisht kemi qef te vendosim nje splash page ne wordpress shume veta deshiron ta bej kete gje dhe njeri nga keto persona isha une sot duke kerkuar ne google duke kerkuar e kerkuar thash se nuk behet sepse shume faqe thonin se duhet me htacces etj etj.Por gjeta nje menyre shume te bukur dhe dua [...]]]></description>
			<content:encoded><![CDATA[<p>Zakonisht kemi qef te vendosim <strong>nje splash page ne wordpress</strong> shume veta deshiron ta bej kete gje dhe njeri nga keto persona isha une sot duke kerkuar ne google duke kerkuar e kerkuar thash se nuk behet sepse shume faqe thonin se duhet me htacces etj etj.Por gjeta nje menyre shume te bukur dhe dua ta ndaj me ju ndoshta do keni qef te beni dicka te tille.Sepse <strong>index.html</strong> kur vendoset bashke me <strong>index.php</strong> ne root direktori eshte veshtire te hapni blogun domethene filen <strong>index.php</strong> pra dua tju tregoj tani kete menyre se vfare duheni te beni per te hapur nje splash page.</p>
<p>1-Fillojme hapeni ftp dhe me nje editor hapeni filen <strong>wp-includes/canonical.php</strong></p>
<p>2-Shkoni ne rreshtin 53. ose gjeni kete kodin qe eshte poshte.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Some PHP setups turn requests for / into /index.php in REQUEST_URI </span>
    <span style="color: #666666; font-style: italic;">// See: http://trac.wordpress.org/ticket/5017 </span>
    <span style="color: #666666; font-style: italic;">// See: http://trac.wordpress.org/ticket/7173 </span>
    <span style="color: #666666; font-style: italic;">// Disabled, for now: </span>
    <span style="color: #666666; font-style: italic;">// $original['path'] = preg_replace('|/index\.php$|', '/', $original['path']);</span></pre></td></tr></table></div>

<p>3-Nga kodi qe gjetet ne rreshtin e funrit hiqini shenjat // nese jap nje shembull duhet keshtu.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Some PHP setups turn requests for / into /index.php in REQUEST_URI </span>
    <span style="color: #666666; font-style: italic;">// See: http://trac.wordpress.org/ticket/5017 </span>
    <span style="color: #666666; font-style: italic;">// See: http://trac.wordpress.org/ticket/7173 </span>
    <span style="color: #666666; font-style: italic;">// Disabled, for now: </span>
    <span style="color: #000088;">$original</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'path'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'|/index\.php$|'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$original</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'path'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>4-Tani perseri ne te njejtin dokument shkoni tek reshti nr. 207 dhe gjeni kete kodin.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// trailing /index.php </span>
<span style="color: #000088;">$redirect</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'path'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'|/index.php/*?$|'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$redirect</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'path'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>5-Dhe nderrojeni me kete poshte.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// trailing /index.php </span>
<span style="color: #000088;">$redirect</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'path'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'|/index.php/$|'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$redirect</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'path'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><strong>Pra tani Nese e keni bere kete gje nuk mund te perdorni Panelin e kerkimit per kete duhemi te modifikojme formin search</strong></p>
<p>Normalisht Search Form eshte ne kete menyre si ky Shembulli.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;form method=&quot;get&quot; id=&quot;searchform&quot; action=&quot;&lt;?php bloginfo('url'); ?&gt;/&quot;&gt;
&lt;div&gt;
&lt;input type=&quot;text&quot; value=&quot;&lt;?php the_search_query(); ?&gt;&quot; name=&quot;s&quot; id=&quot;s&quot; /&gt;
&lt;input type=&quot;submit&quot; id=&quot;searchsubmit&quot; value=&quot;Search&quot; /&gt;
&lt;/div&gt;
&lt;/form&gt;</pre></td></tr></table></div>

<p>Ju kete nderrojeni ne kete menyre.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;form method=&quot;get&quot; id=&quot;searchform&quot; action=&quot;&lt;?php bloginfo('url'); ?&gt;/index.php&quot;&gt;
&lt;div&gt;
&lt;input type=&quot;text&quot; value=&quot;&lt;?php the_search_query(); ?&gt;&quot; name=&quot;s&quot; id=&quot;s&quot; /&gt;
&lt;input type=&quot;submit&quot; id=&quot;searchsubmit&quot; value=&quot;Search&quot; /&gt;
&lt;/div&gt;
&lt;/form&gt;</pre></td></tr></table></div>

<p>Dhe si perfundim shkoni ne panelin e administrimit tek General Settings Dhe shtoni nje index.html ne fund te adreses <strong>Blog URL</strong> kujdes jo site url por e dyta Blog URL dhe keshtu qe index.html do te jete faqja splash me nje lidhje tek index,php do hapet blogu kaq ishte AlbCoder</p>
]]></content:encoded>
			<wfw:commentRss>http://www.albcoders.com/blog/wordpress-shqip/mesime-modifikime/faqe-slash-ne-wordpress-index-html.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

