-1
Hello friends a doubt of Noob, I develop websites in PHP. what happens, instead of having 50 pages one with each category I use a page with while. Well when you choose a category another page is opened, also dynamic, that takes the ID of this category and assembles this page with the information of the bank. then on the page is the address www.xxx.com.br/page.php? id=5. When the ID is X shows one thing, when the ID is another shows another. How google does it, you can index my categories. Supposing 5 were "Cars", and when you access this page with this GET show cars. One does a search on cars, this page of mine appears ? or I have to crair a page for each category, for each customer for each product on my website ?
Only by the URL of the sample page is it already possible to know that your site is poorly optimized for Google. URL parameters are not favorable. Search by Friendly URL. This way it can be: xxx.com.br/cars/1, xxx.com.br/cars/2. The "
/carros
" will be the page, the "/2
" will be the id, collected normally via$_GET['id']
, getting2
.– Inkeliz
PS: The dynamic term is ambiguous because it seems to refer to
Javascript
, or is content uploadeddinamicamente
.)– Inkeliz
Regarding your question, I have already tested and google indexed normally the pages that are used with id this way, but try to exchange number for words, it is easier to read.
– João Victor Gomes Moreira
You don’t understand me, I think I expressed myself badly, I’ll try to make myself clear.
– Felipe Candido
google looks at my fictitious page: result.php, written on it, {Shows everything in the database that has such ID} 1 line of code, if you see the result aqruivo.php.
– Felipe Candido
someone in google searches the word cars (that with the right ID the result.php back the cars) Just remember the file has only one line of code, in the file the word "CARS" does not exist, it will exist if you enter the page via browser with a certain ID.
– Felipe Candido