diff --git a/web/html/pkgedit.php b/web/html/pkgedit.php
index 0339d00..388c83e 100644
--- a/web/html/pkgedit.php
+++ b/web/html/pkgedit.php
@@ -44,12 +44,15 @@ if ($_REQUEST["del_Comment"]) {
 			$q.= "WHERE ID = ".intval($_REQUEST["comment_id"]);
 			db_query($q, $dbh);
 			print __("Comment has been deleted.")."<br />\n";
+			print __("You will be redirected to the package page within 5 seconds...")."<br />\n";
+			print "<meta http-equiv='refresh' content='5;url=packages.php?ID=".$_REQUEST["ID"]."' />\n";
 		} else {
 			print __("You are not allowed to delete this comment.")."<br />\n";
 		}
 	} else {
 		print __("Missing comment ID.")."<br />\n";
 	}
+	print "<a href='packages.php?ID=".$_REQUEST["ID"]."'>".__("Back to package")."</a>\n";	
 	html_footer(AUR_VERSION);
 	exit();
 }
@@ -68,10 +71,13 @@ if ($_REQUEST["change_Category"]) {
 			$q.= " WHERE ID = ".intval($_REQUEST["ID"]);
 			db_query($q, $dbh);
 			print __("Package category updated.")."<br />\n";
+			print __("You will be redirected to the package page within 5 seconds...")."<br />\n";
+		        print "<meta http-equiv='refresh' content='5;url=packages.php?ID=".$_REQUEST["ID"]."' />\n";
 
 		} else {
 			print __("Invalid category ID.")."<br />\n";
 		}
+	        print "<a href='packages.php?ID=".$_REQUEST["ID"]."'>".__("Back to package")."</a>\n";
 	} else {
 		# Prompt visitor for new category_id
 		#
