Support the ongoing development of Laravel.io →
Requests
Last updated 1 year 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 1 year 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/ge...

Last updated 1 year ago.
0

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

Last updated 1 year 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.