Question

friends.

I have site written in angular. How google or other search robots indexing this sites? What techniques can be used to allow robots to see pages content?

Internet says how optimise site on angular for indexing if $locationProvider.html5Mode(false); Exist method for indexing site if url of pages like: http://site.com/!#audio/1234

But in my site $locationProvider.html5Mode(true); That means that url of pages without !# http://site.com/audio/1234. But all content of page loades with javascript.

I need help. Thank you!

Was it helpful?

Solution

Your server will receive a request at http://site.com/audio/1234. Somehow you will need to be able to return some content.

For now the only strategy I know is to render that page on the server-side also... Which involved some (or a lot of) work.

It's also good for the browsers that does not support pushStates yet. That way these users can still access the data.

You can also take a look at this http://docs.meteor.com/#spiderable They render the page on the server-side by executing the client-side javascript on the server-side.

Here's a similar question: pushState and SEO

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top