- Posts: 5
- Thank you received: 0
URL Redirect after Message: Product not found
- outbreak198x
-
Topic Author
- Offline
Less
More
12 years 3 months ago #162523
by outbreak198x
URL Redirect after Message: Product not found was created by outbreak198x
Hello,
i can't find the option for Redirect the URL after empty Cart, Or if a Google indexd Site is not longer available.
I read it should be under Configuration - View? but it isn't there
Or you mean Views - Views - but also can'T find it there...
I'm using 2.3.1
i can't find the option for Redirect the URL after empty Cart, Or if a Google indexd Site is not longer available.
I read it should be under Configuration - View? but it isn't there
Or you mean Views - Views - but also can'T find it there...
I'm using 2.3.1
Please Log in or Create an account to join the conversation.
12 years 3 months ago #162542
by nicolas
Replied by nicolas on topic URL Redirect after Message: Product not found
Please Log in or Create an account to join the conversation.
- outbreak198x
-
Topic Author
- Offline
Less
More
- Posts: 5
- Thank you received: 0
12 years 3 months ago #162581
by outbreak198x
Replied by outbreak198x on topic URL Redirect after Message: Product not found
Sorry 
So in german it's configuration -> Main Configuration -> Cart...
Works

So in german it's configuration -> Main Configuration -> Cart...
Works
Please Log in or Create an account to join the conversation.
- outbreak198x
-
Topic Author
- Offline
Less
More
- Posts: 5
- Thank you received: 0
12 years 3 months ago #162585
by outbreak198x
Replied by outbreak198x on topic URL Redirect after Message: Product not found
is it also possible to change the "Product not found" pages? - because on google some old sides are indexd - sent them the new sitemap, but it takes a while to recognize that...
Please Log in or Create an account to join the conversation.
12 years 3 months ago #162600
by Xavier
Replied by Xavier on topic URL Redirect after Message: Product not found
Hi,
You can potentially edit the view "product / show" and instead of the code:
Put custom code to redirect to the desired page, something like:
You can potentially edit the view "product / show" and instead of the code:
Code:
$app->enqueueMessage(JText::_('PRODUCT_NOT_FOUND'));
Put custom code to redirect to the desired page, something like:
Code:
?><script type="text/javascript">window.location.href='Your_custom_location.html'</script><?php
Please Log in or Create an account to join the conversation.
- outbreak198x
-
Topic Author
- Offline
Less
More
- Posts: 5
- Thank you received: 0
12 years 3 months ago #162666
by outbreak198x
Replied by outbreak198x on topic URL Redirect after Message: Product not found
if i remove the first line
$app->enqueueMessage(JText::_('PRODUCT_NOT_FOUND'));
and set it to
?><script type="text/javascript">window.location.href=' www.smartphone-solution.at/index.php/ent.../entsperren-per-code '
i get the website without any text inside - just navigation path
$app->enqueueMessage(JText::_('PRODUCT_NOT_FOUND'));
and set it to
?><script type="text/javascript">window.location.href=' www.smartphone-solution.at/index.php/ent.../entsperren-per-code '
i get the website without any text inside - just navigation path
Please Log in or Create an account to join the conversation.
12 years 3 months ago #162669
by nicolas
Replied by nicolas on topic URL Redirect after Message: Product not found
Hi,
This would mean that the modification hasn't been done correctly
Could you do a screenshot of the page where you changed the code of the view ?
Could you also provide the link of the outdated product page ?
This would mean that the modification hasn't been done correctly
Could you do a screenshot of the page where you changed the code of the view ?
Could you also provide the link of the outdated product page ?
Please Log in or Create an account to join the conversation.
- outbreak198x
-
Topic Author
- Offline
Less
More
- Posts: 5
- Thank you received: 0
12 years 3 months ago #162785
by outbreak198x
Replied by outbreak198x on topic URL Redirect after Message: Product not found
Here a Outdated Link:
www.smartphone-solution.at/index.php/nok...netlock-entsperrcode
and in the attachment the things i changed
www.smartphone-solution.at/index.php/nok...netlock-entsperrcode
and in the attachment the things i changed
Please Log in or Create an account to join the conversation.
12 years 3 months ago #162838
by nicolas
Replied by nicolas on topic URL Redirect after Message: Product not found
The modification is correct as far as I can see. I don't see why it would create an error.
Could you do the modification again and turn on the error reporting and debug mode options of the Joomla configuration and if you have again the problem, see if you have an error at the bottom of the product page ?
Could you do the modification again and turn on the error reporting and debug mode options of the Joomla configuration and if you have again the problem, see if you have an error at the bottom of the product page ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.203 seconds