J
J
jGashington2015-05-18 23:38:45
css
jGashington, 2015-05-18 23:38:45

How to make search engines index ajax pages in django?

Hello. There is a host.com/service page Part of the content from this page is generated using ajax
According to yandex recommendations , a meta tag was placed on the page. How can I make the html version of the page available at " host.com/service?_escaped_fragment_= " ? I don't know how to write a regular expression in urls.py

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
tyzberd, 2018-06-19
@Cheizer

https://codepen.io/anon/pen/GGQqQe
css.yoksel.ru/svg-patterns

I
Ivan Bogachev, 2018-06-19
@sfi0zy

  1. Draw the rope as a rectangle (not a line with thickness, but a closed path)
    If you encounter difficulties, google the mentioned terms.

S
sim3x, 2015-05-18
@jGashington

r"^/service/$"
it's better to remove escaped_fragment from urls altogether and mark it in views

def service_view(request):
     if request.GET.get('_escaped_fragment_'):
          pass
.....

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question