In Part-116, we will start working on SEO for our E-commerce project. SEO i.e Search Engine Optimization is really helpful for improving the website ranking in Google and other search engines. We are going to integrate meta tags that is really essential for SEO.
Meta tags are invisible tags that provide data about your page to search engines and website visitors. In short, they make it easier for search engines to determine what your content is about, and thus are vital for SEO.
We are going to add meta tags for Home Page, Listing Pages, Detail Page, Shopping Cart Page, Checkout, Order Review, Payment Page, CMS Pages, Contact Us page and other pages.
First we are going to add meta tags for Home page and Contact us page
1) Update index function :-
First of all, we will update index function at IndexController file and will add meta_title, meta_description and meta_keywords variables and return to index blade file but we will call them at front design that we included at top of index blade file.
2) Update front_design.blade.php file :-
Now, update front_design.blade.php file to show meta title, meta keywords and meta description dynamically that we will call from functions as shown in video.
Now Ctrl+U to check that meta tags have come up for Home page.
3) Update contact function :-
Now, we will update contact function at CmsController file and will add meta_title, meta_description and meta_keywords variables and return to contact blade file but we will call them at front design that we included at top of contact blade file.
Now Ctrl+U to check that meta tags have come up for Contact Us page.
4) Update front_footer.blade.php file :-
Update Contact Us link at front_footer.blade.php file as shown in video.
In next video, we will add meta tags for CMS Pages as well.
Thanks for watching 🙂
daily ek video upload karo view increase ho jayenge
When the pincode video coming
waiting for this
All the best
Thanks very much.
Welcome dear friend 🙂
waiting for this video.
All the best 🙂