Support the ongoing development of Laravel.io →
Requests
Last updated 2 years ago.
0

The part of a URL starting with # is called the fragment, the fragment is not sent to the server when a request is made by your browser, it is only available clientside. If you visit example.com/page#fragment the server will only see example.com/page as the request.

Last updated 2 years ago.
0

this should be your only route

Route::get('series', 'SeriesController@show');

inside method show you should check it's an ajax call or not and return json or html

also check if google is trying to get it with _escaped_fragment_

source: https://developers.google.com/webmasters/ajax-crawling/docs/getting-started

Last updated 2 years ago.
0

Thanks guys for the insight. I was definitely thinking about it all wrong, so this really helped clarify things.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.