Page 1 of 1
Search Engine Friendly Links
Posted: Fri Mar 11, 2005 8:17 pm
by Red Squirrel
URLs that search engine bots can follow and index are crucial for any site to have, if they want any luck in whatever industry they're in. This article will simply get you started on the concept by introducing you to mod_rewrite, a must have.
http://www.iceteks.com/articles.php/sefriendlylinks/1
Archived topic from Iceteks, old topic ID:3162, old post ID:25848
Search Engine Friendly Links
Posted: Sun Mar 13, 2005 11:12 am
by Streety
Very interesting article, somehow I knew it would eventually involve .htaccess but the step by step walkthrough was very useful.
I'm a little confused as to how this helps search engines though. All the non search engine friendly URL's would be changed but wouldn't they still be presented to the bot as get variables in the body of the forum/blog/whatever and so never looked at anyway?
Archived topic from Iceteks, old topic ID:3162, old post ID:25886
Search Engine Friendly Links
Posted: Sun Mar 13, 2005 12:29 pm
by Red Squirrel
Technically yes, but I think bots purposely ingore these type of urls. But they can follow them like normal urls, they just don't... well not much, since they do occasionaly follow since the article system here used to use the old ones and some articles did get indexed, but with this new system it's more effective.
Archived topic from Iceteks, old topic ID:3162, old post ID:25889
Search Engine Friendly Links
Posted: Mon Mar 14, 2005 2:05 pm
by Streety
So to get this to work you couldn't just throw a .htaccess file in at the root of your forum but would need to change how the links are presented in the page before this would work.
Archived topic from Iceteks, old topic ID:3162, old post ID:25917
Search Engine Friendly Links
Posted: Mon Mar 14, 2005 2:12 pm
by Red Squirrel
Yes you have to change the templates to point to the new urls.
Archived topic from Iceteks, old topic ID:3162, old post ID:25918
Search Engine Friendly Links
Posted: Wed Mar 16, 2005 9:30 pm
by Red Squirrel
Yeah so in the templates it has to point to the "good" urls otherwise search engines won't know they exist.
Archived topic from Iceteks, old topic ID:3162, old post ID:25964
Search Engine Friendly Links
Posted: Wed Jun 15, 2005 8:01 am
by Red Squirrel
Apache is still much easier (and safer) so i'd just switch to apache, you can stay with windows as OS, just put apache and disable IIS.
Archived topic from Iceteks, old topic ID:3162, old post ID:27444
Search Engine Friendly Links
Posted: Wed Jun 15, 2005 11:48 am
by Red Squirrel
Oh it's a hosting company. hmmm, I'd switch to linux based hosting though, makes so much things easier (and more secure, and more reliable).
Personally, I'd leave a linux box open to public with a blank root password before installing IIS on a server. Both bad security practises.
Archived topic from Iceteks, old topic ID:3162, old post ID:27446
Search Engine Friendly Links
Posted: Mon Aug 07, 2006 2:40 pm
by Anonymous
Hi, i'm trying with this sistem because i've since i've implemented my new portal that use this style of url index.php?pagina=XXXXX i've lost my pagerank because of that, before it was 5 now it's 1 or 0...
i've tried but with this .htaccess:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*) index.php?pagina=$1
and this php:
<?php
$variable = $_GET['pagina'];
echo $variable;
?>
going to this url:
http://www.redr2k.com/paginas/test
i always get 'index.php' and it should be 'test'
I hope you can hel me out.
Thanks.
Archived topic from Iceteks, old topic ID:3162, old post ID:35918
Search Engine Friendly Links
Posted: Wed Aug 09, 2006 7:07 am
by Anonymous
Hi, i managed to make it work...ok sort of.
I've put in the root the .htaccess with this.
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^paginas/(.*) index.php?pagina=$1
And now it works fine.
http://www.redr2k.com/paginas/Superman_Returns
http://www.redr2k.com/paginas/Smallville
Another thing, in my other message, when the .htacces was in "paginas" folder i arrived to make it work this way, but i didn't like the idea.
RewriteRule ^paginas_(.*) index.php?pagina=$1
http://www.redr2k.com/paginas/paginas_Smallville
Thanks anyway, even if i didn't get an answer to my post, everything works fine.
Eduardo
Archived topic from Iceteks, old topic ID:3162, old post ID:35923
Search Engine Friendly Links
Posted: Wed Aug 09, 2006 10:03 am
by Red Squirrel
good to know it works!
Archived topic from Iceteks, old topic ID:3162, old post ID:35924
Search Engine Friendly Links
Posted: Wed Aug 09, 2006 11:32 am
by Chris Vogel
“Clean URLs” are about more than search-engine optimisation. They also make your site more usable. After all, which would
you rather type:
Code: Select all
http://example.com/world.php?country=spain&city=madrid
http://example.com/world/spain/madrid/
[code]
The clean one has less characters and a more natural construction, meaning less chance of mistakes. You also no longer use file extensions in your URL. They’ll only confuse normal users, and what if you decide to use something other than PHP in the future? You could associate .php with something else, but…[i]eww[/i].
[color=#888888][size=85]Archived topic from Iceteks, old topic ID:3162, old post ID:35925[/size][/color]
Search Engine Friendly Links
Posted: Wed Aug 09, 2006 11:35 am
by Red Squirrel
Or do like I did for my sig and make php files .jpg.
Archived topic from Iceteks, old topic ID:3162, old post ID:35926