OZONE Asylum
FAQ
What are search engine friendly URLs?
This page's ID:
5507
Search
QuickChanges
Forums
FAQ
Archives
Register
You are editing "What are search engine friendly URLs?"
Who can edit an FAQ?
Anyone registered may edit an FAQ.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Search engine robots/spiders have until recently refused to index dynamically created pages (and currently only a few, like Google, will index your dynamic page but they tend not to follow anymore dynamic links from their) which are in the form: my_page.php?id=13 The solution (as done, partially, here) is to create a seemingly 'static' URL like: my_page/13/ and get some kind of server-side processing to pass the variables through to the dynamic pages. There are many different ways to do this depending on your server/platform: [b]Apache[/b] Apache comes with a rewrite module which can be used for this purpose. You can use your .htaccess file and put something like this in it: [quote]RewriteEngine on RewriteRule my_page/([0-9]*) /my_page.php?id=$1 [L][/quote] ---------------------------------- Relevant threads: [url=http://www.ozoneasylum.com/Forum12/HTML/000976.html]Dynamic Pages with Static URL's[/url] [url=http://www.ozoneasylum.com/Forum12/HTML/001235.html]Dynamic Pages & Search Engines[/url] [url=http://www.ozoneasylum.com/Forum12/HTML/001269.html]Quick dynamic page/search question[/url] ---------------------------------- Relevant FAQs: [internallink=5148]Can you help me understand regular expressions?[/internallink] __________________________ [internallink=4626]Emperor[/internallink] [small][i](Added by: [url=http://www.ozoneasylum.com/cgi-bin/ubbmisc.cgi?action=getbio&UserName=Emperor]Emperor [/url] on Sat 11-Jan-2003)[/i][/small] [small][i](Edited by: [url=http://www.ozoneasylum.com/cgi-bin/ubbmisc.cgi?action=getbio&UserName=Emperor]Emperor [/url] on Mon 10-Mar-2003)[/i][/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »