Be a little bit more specific. SEO is content stuff and has nothing to do with Laravel per se.
If you are referring to meta keywords and description, you can put them in your views. All else is content and can also be put in your views.
I need meta description for any blog or product information.
How I structure my meta and title is in the view and then yield in my layout.blade. Example:
yourview.blade.php
@section('title')
Here is a title!
@stop
@section('description')
Here is you description. You can else echo content and use your foreach in here.
@stop
@section('content')
all other stuff goes here
@stop
layout.blade.php
<title>@yield('title')</title>
<meta name="description" content="@yield('description')" />
Maybe this will be of some help to you.
georgekittle liked this reply
You want to do SEO in laravel pages and categories? then the first You have to first optimize good page content or category content. The second option you have to write best meta tag for a page that gives traffic to your website. Third, you have to get help from ExcelPTP that offering SEO training in Ahmedabad.
It will sure help you
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community