Home | Forums | Articles | F@H
Help | Search | Members | Calendar | Forum Map | Cybervillage | Archive
Welcome Guest ( Log In | Register | Resend Validation Email )


>  IceTeks Forums -> Technology -> IceTeks Articles


  Reply to this topicStart new topic

>  Search Engine Friendly Links
Track this topic | Email this topic | Print this topic
Red Squirrel
Posted: Mar 11 2005, 09:17 PM
Quote Post

ZOMG!

Group Icon

Group: Admins
Posts: 14 039
Member No.: 1
Joined: 18-December 02
Ice Cubes: 118907



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


--------------------
user posted image
http://www.redsquirrel.me my blog
http://www.uovalor.com AoS/ML Ultima Online Shard
PMEmail PosterUsers Website Top
Streety
Posted: Mar 13 2005, 12:12 PM
Quote Post

Liquid Nitrogen Blaster

Group Icon

Group: Ice Age Members
Posts: 185
Member No.: 475
Joined: 16-August 04
Ice Cubes: 5



Very interesting article, somehow I knew it would eventually involve .htaccess but the step by step walkthrough was very useful. smile.gif

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?


--------------------
user posted image
PMEmail Poster Top
Red Squirrel
Posted: Mar 13 2005, 01:29 PM
Quote Post

ZOMG!

Group Icon

Group: Admins
Posts: 14 039
Member No.: 1
Joined: 18-December 02
Ice Cubes: 118907



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.


--------------------
user posted image
http://www.redsquirrel.me my blog
http://www.uovalor.com AoS/ML Ultima Online Shard
PMEmail PosterUsers Website Top
Streety
Posted: Mar 14 2005, 03:05 PM
Quote Post

Liquid Nitrogen Blaster

Group Icon

Group: Ice Age Members
Posts: 185
Member No.: 475
Joined: 16-August 04
Ice Cubes: 5



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.


--------------------
user posted image
PMEmail Poster Top
Red Squirrel
Posted: Mar 14 2005, 03:12 PM
Quote Post

ZOMG!

Group Icon

Group: Admins
Posts: 14 039
Member No.: 1
Joined: 18-December 02
Ice Cubes: 118907



Yes you have to change the templates to point to the new urls.


--------------------
user posted image
http://www.redsquirrel.me my blog
http://www.uovalor.com AoS/ML Ultima Online Shard
PMEmail PosterUsers Website Top
Red Squirrel
Posted: Mar 16 2005, 10:30 PM
Quote Post

ZOMG!

Group Icon

Group: Admins
Posts: 14 039
Member No.: 1
Joined: 18-December 02
Ice Cubes: 118907



Yeah so in the templates it has to point to the "good" urls otherwise search engines won't know they exist.


--------------------
user posted image
http://www.redsquirrel.me my blog
http://www.uovalor.com AoS/ML Ultima Online Shard
PMEmail PosterUsers Website Top
Red Squirrel
Posted: Jun 15 2005, 08:01 AM
Quote Post

ZOMG!

Group Icon

Group: Admins
Posts: 14 039
Member No.: 1
Joined: 18-December 02
Ice Cubes: 118907



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.


--------------------
user posted image
http://www.redsquirrel.me my blog
http://www.uovalor.com AoS/ML Ultima Online Shard
PMEmail PosterUsers Website Top
Red Squirrel
Posted: Jun 15 2005, 11:48 AM
Quote Post

ZOMG!

Group Icon

Group: Admins
Posts: 14 039
Member No.: 1
Joined: 18-December 02
Ice Cubes: 118907



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. laugh.gif


--------------------
user posted image
http://www.redsquirrel.me my blog
http://www.uovalor.com AoS/ML Ultima Online Shard
PMEmail PosterUsers Website Top
eduardor2k
  Posted: Aug 7 2006, 02:40 PM
Quote Post

Icicle

Group Icon

Group: IceTeks Newbies
Posts: 8
Member No.: 1 201
Joined: 19-March 06
Ice Cubes: 30



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.

PMEmail Poster Top
eduardor2k
Posted: Aug 9 2006, 07:07 AM
Quote Post

Icicle

Group Icon

Group: IceTeks Newbies
Posts: 8
Member No.: 1 201
Joined: 19-March 06
Ice Cubes: 30



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
PMEmail Poster Top
Red Squirrel
Posted: Aug 9 2006, 10:03 AM
Quote Post

ZOMG!

Group Icon

Group: Admins
Posts: 14 039
Member No.: 1
Joined: 18-December 02
Ice Cubes: 118907



good to know it works!


--------------------
user posted image
http://www.redsquirrel.me my blog
http://www.uovalor.com AoS/ML Ultima Online Shard
PMEmail PosterUsers Website Top
Chris Vogel
Posted: Aug 9 2006, 11:32 AM
Quote Post

Voyageur

Group Icon

Group: Ice Age Members
Posts: 3 346
Member No.: 78
Joined: 10-January 03
Ice Cubes: 1144



“Clean URLs” are about more than search-engine optimisation. They also make your site more usable. After all, which would you rather type:

CODE
http://example.com/world.php?country=spain&city=madrid
http://example.com/world/spain/madrid/


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…eww.
PMEmail PosterUsers Website Top
Red Squirrel
Posted: Aug 9 2006, 11:35 AM
Quote Post

ZOMG!

Group Icon

Group: Admins
Posts: 14 039
Member No.: 1
Joined: 18-December 02
Ice Cubes: 118907



Or do like I did for my sig and make php files .jpg. laugh.gif


--------------------
user posted image
http://www.redsquirrel.me my blog
http://www.uovalor.com AoS/ML Ultima Online Shard
PMEmail PosterUsers Website Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | IceTeks Articles | Next Newest »

Topic Options Reply to this topicStart new topic

 



[ Script Execution time: 0.0383 ]   [ 13 queries used ]   [ GZIP Enabled ]

< Home | Forums | Contact >