Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,191,442 members, 7,944,198 topics. Date: Monday, 09 September 2024 at 12:36 PM |
Nairaland Forum / Science/Technology / Webmasters / Search Engine Friendly Urls (1008 Views)
How Webmasters Can Make Money By Shortening Urls / How To Write Search Engine Friendly Blog Posts / How Will I Make This Url More Search Engine Friendly? (2) (3) (4)
Search Engine Friendly Urls by mambenanje(m): 6:40pm On Apr 11, 2008 |
Some days ago I posted this link http://www.cmswire.com/cms/industry-news/php-vs-java-vs-ruby-000887.php and I noticed that guys didnt realise that from the link you can't actually be sure of the programming language used to build the site (some nonsense again from me, keep reading). You might obviously think its php but if you build a site like this one I did http://www.cameroonfootballers.com/profiles/showPublicProfile/27/alexandre-song-billong from that link you can't tell if its php or java or C#. I built that site with php and there is no folder on the server root like profiles nor showpublicprofile (but profiles is an object and show public profile is profiles method like profiles->showpublicprofile). So why do people create such links which have the title of stories in the link. The answer is because Google will index such sites with a better understanding. with a link like this www.your-site.com/article.php?article_id=10&date=10008574 When google gets to that url linking to such a page, it stops indexing because their crawler might enter and endless loop. so with Apache and .htaccess configurations you can make that link become something like this behind and actually still run on php www.your-site.com/article.php/10/10008574 this way since the ? (question mark) is not in the url the google crawler will easily crawl and index your site. so nowadays with[b] Apache Webserver's Mod_rewrite function and .htaccess[/b] you can build a site with java and make it have .php extension. Next time Afam don't get this link http://www.cmswire.com/cms/industry-news/php-vs-java-vs-ruby-000887.php and boldly think its php, because only the site developer can tell you the technology used behind and I can use ruby on rails and my links show .php hope it helps |
Re: Search Engine Friendly Urls by aphoe(m): 6:45pm On Apr 14, 2008 |
so how do i do that. i really like that idea |
Re: Search Engine Friendly Urls by mambenanje(m): 7:01pm On Apr 14, 2008 |
hello Aphoe its easy, if you are running apache webserver with php then you can easily do it by learning how to use .htaccess files. these links will help you do that easily http://www.webmastertips.us/tutorials/mod_rewrite.htm http://www.skiffie.com/code/php/seo (my fav) hey but note that I tried tihs with Xampp server and it failed me but with phpdev it works well locally but on production (live) sites I havent found any problem |
Re: Search Engine Friendly Urls by cmon(m): 10:18pm On May 01, 2008 |
@mambenanje The links were indeed helpful. Thanks for the lead. |
(1) (Reply)
Philosophy Of Web Design & Development Using Php/mysql/apache / Best Web Design / How To Get Indexed In Google Within 24 Hours
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 13 |