Glassman96 Posted May 3, 2010 Share Posted May 3, 2010 I have a article directory site that shows the same title (my main site title)on all the articles. Is there a way to code the script to show the title of the article from each page? Quote Link to comment Share on other sites More sharing options...
codex-m Posted May 10, 2010 Share Posted May 10, 2010 I have a article directory site that shows the same title (my main site title)on all the articles. Is there a way to code the script to show the title of the article from each page? I think the strategy is simple, assuming your post title of the article is saved in the mysql database. You can use PHP script to pull out the title tags from the database for a specific URL. Of course you can grab the URL of the page using PHP also. I think this is possible and simple. For meta description, you may not need to have one, because search engines may automatically return a relevant snippet in the search engine results. Of course, you need substantial content to return related snippets. If your page does not have a content like pages full of images, you can also use PHP script to generate meta description which you can also save in the mysql database. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.