Response modification page title "Requested item not found!"

Started by webroom, September 11, 2014, 10:36:08 AM

Previous topic - Next topic

webroom

Good day!

On the website running Joomla 2.5.14 installed Virtuemart 2.0.20b. Everything works fine, but there is one side with the point of SEO optimization!

When you delete an item in one of the categories, the system will determine the category in which it is located and throws it with the message "Requested item not found!" Like, all right, but if you look at the title of the page, you will see:

1 jobs answerHTTP/1.1 303 See other" with a non-existent page remote item
2nd jobs answerHTTP/1.1 200 OK" from the page that tells about the removal of the goods on the parent category page.



You need to make the 2nd answer page title was "404 Not Found", then the search engine will not do the doubles category with anchor?error=404".

1) Found a similar implementation with the desired code under Virtuemart 1 (http://coding.dp.ua/joomla/1513-error-404-v-virtuemart-pri-nesushhestvuyushhem-tovare.html), but I could never consider such a structure in Virtuemart 2 and to find at least a little similar implementation.

2) Tried to change the file "application.php" "libraries/joomla/application" string "429". It can have a partial change of the output of page title, but when propisanie rules "404 Not Found" the page somehow gives "302 Moved Temporarily".

Tell me where you can adjust the output header for non-existent goods in Virtuemart 2.0.20b?

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

webroom