<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>Comments on: Prestashop Redirections</title>
	<atom:link href="https://nemops.com/prestashop-redirections/feed/" rel="self" type="application/rss+xml" />
	<link>https://nemops.com/prestashop-redirections/</link>
	<description>Prestashop Tutorials, Modules and More!</description>
	<lastBuildDate>Fri, 10 Mar 2023 23:25:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.35</generator>
	<item>
		<title>By: TelecUniversali</title>
		<link>https://nemops.com/prestashop-redirections/comment-page-1/#comment-46710</link>
		<dc:creator><![CDATA[TelecUniversali]]></dc:creator>
		<pubDate>Sun, 25 Feb 2018 20:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2357#comment-46710</guid>
		<description><![CDATA[Hi,
It&#039;s possible make a link to a extra tab of product?
For example I have #idTab1 , #idTab2 and #ttdownload , but if i use the address of my productpage  + #idTab2 dont go to open tab idTab2... what I can do?
Thank you]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
It&#8217;s possible make a link to a extra tab of product?<br />
For example I have #idTab1 , #idTab2 and #ttdownload , but if i use the address of my productpage  + #idTab2 dont go to open tab idTab2&#8230; what I can do?<br />
Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>https://nemops.com/prestashop-redirections/comment-page-1/#comment-46492</link>
		<dc:creator><![CDATA[Chris]]></dc:creator>
		<pubDate>Tue, 03 Jan 2017 11:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2357#comment-46492</guid>
		<description><![CDATA[I&#039;m trying to get this to work with a specific product but it&#039;s not working out.

if ($this-&gt;context-&gt;link-&gt;getProductLink(2) &amp;&amp; preg_match(&quot;/127.0.0.1/&quot;, $_SERVER[&#039;REMOTE_ADDR&#039;])) {
	Tools::redirect(&#039;http://prestashop.ipcentraal.nl/nl/home/1-faded-short-sleeves-tshirt.html&#039;);
} else {
	Tools::redirect(&#039;http://prestashop.ipcentraal.nl/nl/5-tshirts&#039;);
}

I think this is supposed to work? but i keep getting redirected to a category instead of the product. The IP is just for showing, i wan&#039;t to be able to redirect a certain IP range to a different product and if the ip doesnt fit the range it&#039;s supposed to go to the normal product.

Can you help me out?]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to get this to work with a specific product but it&#8217;s not working out.</p>
<p>if ($this-&gt;context-&gt;link-&gt;getProductLink(2) &amp;&amp; preg_match(&#8220;/127.0.0.1/&#8221;, $_SERVER[&#8216;REMOTE_ADDR&#8217;])) {<br />
	Tools::redirect(&#8216;http://prestashop.ipcentraal.nl/nl/home/1-faded-short-sleeves-tshirt.html&#8217;);<br />
} else {<br />
	Tools::redirect(&#8216;http://prestashop.ipcentraal.nl/nl/5-tshirts&#8217;);<br />
}</p>
<p>I think this is supposed to work? but i keep getting redirected to a category instead of the product. The IP is just for showing, i wan&#8217;t to be able to redirect a certain IP range to a different product and if the ip doesnt fit the range it&#8217;s supposed to go to the normal product.</p>
<p>Can you help me out?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amelia Johns</title>
		<link>https://nemops.com/prestashop-redirections/comment-page-1/#comment-45984</link>
		<dc:creator><![CDATA[Amelia Johns]]></dc:creator>
		<pubDate>Thu, 30 Apr 2015 06:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2357#comment-45984</guid>
		<description><![CDATA[I always visits the site to get help about PrestaShop, It&#039;s new for me that redirection can be done locally in PrestaShop. This tutorial is quite helping for experts but for beginners, I think if you explain in more details [in steps], it will be more beneficial.]]></description>
		<content:encoded><![CDATA[<p>I always visits the site to get help about PrestaShop, It&#8217;s new for me that redirection can be done locally in PrestaShop. This tutorial is quite helping for experts but for beginners, I think if you explain in more details [in steps], it will be more beneficial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NemoPS</title>
		<link>https://nemops.com/prestashop-redirections/comment-page-1/#comment-45956</link>
		<dc:creator><![CDATA[NemoPS]]></dc:creator>
		<pubDate>Mon, 30 Mar 2015 21:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2357#comment-45956</guid>
		<description><![CDATA[Hey Pascal! Nice catch. I should have actually used the one I mentioned later

$this-&gt;context-&gt;link-&gt;getProductLink(9)

That said, it still worked for me as I had friendly urls, though it might create an un-necessary further redirect, so this one would be better]]></description>
		<content:encoded><![CDATA[<p>Hey Pascal! Nice catch. I should have actually used the one I mentioned later</p>
<p>$this-&gt;context-&gt;link-&gt;getProductLink(9)</p>
<p>That said, it still worked for me as I had friendly urls, though it might create an un-necessary further redirect, so this one would be better</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pascal van Geest</title>
		<link>https://nemops.com/prestashop-redirections/comment-page-1/#comment-45955</link>
		<dc:creator><![CDATA[Pascal van Geest]]></dc:creator>
		<pubDate>Mon, 30 Mar 2015 17:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2357#comment-45955</guid>
		<description><![CDATA[Hi Nemo,

thanks for the post!

One question. If you have turned on Friendly URL, can you still use:

index.php?controller=product&amp;id_product=1

or should you use the friendly URL variant in that case?

Just curious.

Thanks for your Tutorials!
pascal.]]></description>
		<content:encoded><![CDATA[<p>Hi Nemo,</p>
<p>thanks for the post!</p>
<p>One question. If you have turned on Friendly URL, can you still use:</p>
<p>index.php?controller=product&amp;id_product=1</p>
<p>or should you use the friendly URL variant in that case?</p>
<p>Just curious.</p>
<p>Thanks for your Tutorials!<br />
pascal.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
