D
D
dk-web2015-09-06 00:28:49
PHP
dk-web, 2015-09-06 00:28:49

Will pages built on MVC be indexed?

Friends. First of all, I really want to share my joy... I finally understood what it is and how it works! this is genius.
I installed smarty, made a controller and a template output)
Only now it’s probably a completely stupid question ...
Now there is only one file - index.php. And then .. some kind of "under-file" with smarty->display('index.html') and a folder with an incomprehensible name (for now, a la (4168cf2c7dda6b349f352305cbbe4c65600adad2_0.file.index.html)
What am I doing, for example.
mysite.ru /city1
I get the city1 value into a variable and make a query to the database - I get the data - I send it to the template Everything is fine on the screen:
1) in the address bar - mysite.ru/city1. On the screen all the information on this city.
If, respectively, mysite.ru/city2, then the information on the second city is on the screen.
Attention, the question is: will search engines understand that these are separate pages? in other words, when will they look for information on the city1 - conditional Yandex will give out mysite.ru/city1?
Forgive me if the question is really stupid ...
p.s. PPC, I'm so glad that it finally worked out ... though I still need to realize how to apply it to the end ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Volintsev, 2015-09-06
@copist

1. How Search Engines Find Pages on Your Site
Search engines crawl all the pages they find hyperlinked anywhere.
Hyperlinks can be placed anywhere.
2. Why can a search engine return a page of your site for " city1
"?

<html>
<head>
    <title>город1</title>
</head>
<body>
    <h1>город1</h1>
    <p>Этот город1 самый лучший город1 на земле</p>
</body>
</html>

Search for information on the phrases "SEO" and "Search Engine Optimization".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question