: SEO for pages that load from database I have a very stupid question. I developed a website that has only one page at the public html directory(index.php). all content are dynamically loaded
I have a very stupid question.
I developed a website that has only one page at the public html directory(index.php).
all content are dynamically loaded as different pages.
How can i SEO my pages for google?
i mean like the what we type in this site are .............i believe stored in database and search engine find these pages like any static pages...
Just a little tip would be appreciable.......!
More posts by @Fox8124981
2 Comments
Sorted by latest first Latest Oldest Best
Search engines have no idea your content comes from a database. All they see is the HTML your server side code generates. So, there are no special rules, tips, or techniques for database generated content. The same rules as any other content, dynamic or not, apply (see Marco's answer).
(Before someone says you need search engine friendly URLs I should point out that isn't specific to database content which is what this question is asking. SE friendly URLs apply to any kind of dynamic content and static content as well).
If you want to SEO page contents you need 1st to apply Google Webmaster guidelines (at least the basic guide) to your dynamic generated pages, therefor you need your dynamic page to set properly in page at least the <title> and <h1>, <meta description> by retrieving this contents from the DB. It should be different for each page, Google seems to dislike repeated contents and final users dislike them too.
Then if you want to SEO page URLs, you basically needs to make URLs more human readable, as for a very general example: if a page talks about 'cats' the url should be something like: ...index.php?id=cats (or maybe better .../cats) just avoid ...index.php?id=54637 In order to accomplish this task here they suggested me to create in DB table an alias field for each item/article, so supposing your DB primary key is an integer just cerate a another field called 'alias' (this field muts be UNIQUE no duplicates, as for the primary key) and use it in your URLs.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.