HighDots Forums  

Mod-Rewrite

Search Engine Optimization Discussion about SEO/Search Engine Optimization (alt.internet.search-engines)


Discuss Mod-Rewrite in the Search Engine Optimization forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
William Edsall
 
Posts: n/a

Default Mod-Rewrite - 09-12-2003 , 11:59 AM






Are absolute paths still preferred over dynamic links
(example.html?example=this) ?

I was considering straining my brain to figure out mod-rewrite if this is
the case.

--
William Edsall



Reply With Quote
  #2  
Old   
Sparky
 
Posts: n/a

Default Re: Mod-Rewrite - 09-12-2003 , 01:42 PM






Its still worth using an absolute path if you have more than one operand

most search engines prefer (example.html)

to (example.html?example=this&another=this&anotherone =this)

--
The Ultimate Search Engine Links Page
http://www.searchenginelinks.co.uk

"William Edsall" <wedsall (AT) backbonenow (DOT) com> wrote

Quote:
Are absolute paths still preferred over dynamic links
(example.html?example=this) ?

I was considering straining my brain to figure out mod-rewrite if this is
the case.

--
William Edsall





Reply With Quote
  #3  
Old   
William Edsall
 
Posts: n/a

Default Re: Mod-Rewrite - 09-15-2003 , 09:57 AM



Cool, I agree and see your points.
I've surfed through apache's documentation on mod-rewrite for hours and
havent had luck. Could anyone show me an example of how it should be done?

William Edsall

"NorwichLad" <usenet (AT) periods (DOT) info> wrote

Quote:
"William Edsall" <wedsall (AT) backbonenow (DOT) com> wrote in message
news:vm3rbscdssks16 (AT) corp (DOT) supernews.com...
Are absolute paths still preferred over dynamic links
(example.html?example=this) ?

I was considering straining my brain to figure out mod-rewrite if this
is
the case.

regardless of search engines, it's easier for humans to remember!

for some of my escort sites - what looks betteR?

http://www.domain.com/escorts.php?ty...=1234&name=tom

or

www.domain.com/lads/tom

i know which one the human visitors will remember!





Reply With Quote
  #4  
Old   
William Edsall
 
Posts: n/a

Default Re: Mod-Rewrite - 09-15-2003 , 01:24 PM




Joe,
Thanks for your info you seem to have this down pact. My only remaining
question is.. do i need to set up an exception for every variable and every
possible situation?
The website in question is www.fuseroil.com and a typical link would be
http://fuseroil.com/Merchant2/mercha...ode=F&Category
_Code=Canon

--
William Edsall

"NorwichLad" <usenet (AT) periods (DOT) info> wrote

Quote:
"William Edsall" <wedsall (AT) backbonenow (DOT) com> wrote in message
news:vmbj33kkhgn40f (AT) corp (DOT) supernews.com...
Cool, I agree and see your points.
I've surfed through apache's documentation on mod-rewrite for hours and
havent had luck. Could anyone show me an example of how it should be
done?


sure

make a file called ".htaccess" with this in it:

RewriteEngine on
RewriteRule ^([0-9]+).*$ /where.php?id=$1
RewriteRule ^lads/([^/]+).*$ /showlad/lads.php?id=$1

The first line turns the Rewrite on
The second line says that were the www.url.com/12 (ie url then number)
happens, move the number to where.php and call the number the variable
id -
so it's the same as www.url.com/where.php?id=12
The third line is the same as the second, but starting at
www.url.com/lads/name to www.url.com/showlad/lads.php?id=name

Hope this helps!

Joe





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.