diff --git a/src/components/CommunityComponents/NewCommunityForm.vue b/src/components/CommunityComponents/NewCommunityForm.vue
index a64b9f927e1292b6ec346428052b6062ae9b1e62..5aa2cff9fe33b91ce80a66e503d384a6947b7afd 100644
--- a/src/components/CommunityComponents/NewCommunityForm.vue
+++ b/src/components/CommunityComponents/NewCommunityForm.vue
@@ -292,7 +292,10 @@ export default {
 
         console.log(this.group.image);
 
-        await postNewgroup(groupInfo);
+        const respone = await postNewgroup(groupInfo);
+        if (respone.status === 200 || respone.status === 201) {
+          this.$router.push({ path: "/", replace: true });
+        }
       }
     },