homepage Welcome to WebmasterWorld Guest from 54.227.215.139
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
Forum Library, Charter, Moderators: goodroi

Sitemaps, Meta Data, and robots.txt Forum

    
Sitemap mod rewrite URLs?
superdevo

5+ Year Member



 
Msg#: 4026349 posted 7:13 am on Nov 17, 2009 (gmt 0)

Hello everyone,

I was wondering how to create a sitemap for dynamic URLs that are rewritten from something like

"www.example.com/index.php?var1=frog&var2=dog"

to

"www.example.com/frog/dog" ?

Do you have to construct them dynamically in the database first as a link on a page or is there an easier way?

Thanks

 

aakk9999

WebmasterWorld Administrator 5+ Year Member



 
Msg#: 4026349 posted 9:19 am on Nov 17, 2009 (gmt 0)

If you have URL:

"www.example.com/index.php?var1=frog&var2=dog"

which redirects to:

"www.example.com/frog/dog"

and the above URL, when received, rewrites to:

"www.example.com/index.php?var1=frog&var2=dog"

then I would expect that your links on the page contain:

"www.example.com/frog/dog"

in which case you should not have a problem constructing sitemap using one of available sitemap creation tools.

superdevo

5+ Year Member



 
Msg#: 4026349 posted 5:36 pm on Nov 17, 2009 (gmt 0)

Thanks aakk9999.

I think I figured that out last night, but I think I asked the wrong question.

We have an internal site search function on our website, but don't have links to the different types of searches you can do.

So I am wondering how to index all of the different types of searches if there are no internal links to crawl? Is there a program that helps with this (preferably in PHP)?

aakk9999

WebmasterWorld Administrator 5+ Year Member



 
Msg#: 4026349 posted 12:50 am on Nov 18, 2009 (gmt 0)

Well, it is difficult to answer without knowing more details.

Why do you want to redirect/rewrite searches? Is this the only way this page/information can be accessed? Or does the search return something that can be accessed in a different way?

Or can you "isolate" most important searches where results would not duplicate/overlap and put them on the page as links? Eg. like a little menu:

Find red widgets
Find blue widgets
Find yellow widgets

Where each of these corresponds to a different search parameters and where the same widget cannot be red, blue and yellow in the same time?

superdevo

5+ Year Member



 
Msg#: 4026349 posted 4:28 am on Nov 18, 2009 (gmt 0)

aakk9999,

The search feature is the only way the search pages can be reached, because the search results pages are generated via form input.

It would be similar to this type of search feature on a website, that is not accessible to : [tinyurl.com...]

superdevo

5+ Year Member



 
Msg#: 4026349 posted 4:45 am on Nov 18, 2009 (gmt 0)

aakk9999,

The search feature is the only way the search pages can be reached, because the search results pages are generated via form input.

It would be similar to this type of search feature on a website, that is not accessible to : [tinyurl.com...]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved