Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to rewrite query string for search engines

Status
Not open for further replies.

bopritchard

Programmer
Joined
Jan 27, 2003
Messages
199
Location
US
all of the pages on my website are built dynamically from a mysql database...therefore all of the links on my site contain query strings...the ?'s in my url's are keepingmy site from being spidered by the search engines...i need my url's written in such a way that they can be spidered and interpreted correctly by the web server...is there a php solution to this?

the only one i'm familiar with is the apache mod_rewrite module...unfortunately my host will not install it...
 
what about using post method instead of the querystrings? course if the querystrings are built with links then that won;t work

could also place the meta tags outside the php code

Bastien

cat, the other other white meat
 
I dont quite see your problem? Why would a search engine ignore your links as this dynamic page building is a well used method and is usually handled by most search engines.

If you ReWrite what are you going to re-write it to if its dynamically created.

If its that simple then write yourself a script that creates a flat page of links to each file, the search engine will find it and spider it ..... job done.

Good Luck
Laurie
 
The only thing search engines wil have a problem with is & sign. use the hex code equivalent ( & ) instead in your URL building.

addresses with ?'s get indexed all the time.

Do a search on "vbulletin" in Google, you'll find many link addresses there that have ?'s in them.
 
hmm forgot it parses hex
Code:
&
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top