Welcome to WebmasterWorld Guest from 54.162.239.134

Forum Moderators: goodroi

Message Too Old, No Replies

Sitemap mod rewrite URLs?

     
7:13 am on Nov 17, 2009 (gmt 0)

5+ Year Member



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

9:19 am on Nov 17, 2009 (gmt 0)

WebmasterWorld Administrator 5+ Year Member Top Contributors Of The Month



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.

5:36 pm on Nov 17, 2009 (gmt 0)

5+ Year Member



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)?

12:50 am on Nov 18, 2009 (gmt 0)

WebmasterWorld Administrator 5+ Year Member Top Contributors Of The Month



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?

4:28 am on Nov 18, 2009 (gmt 0)

5+ Year Member



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...]

4:45 am on Nov 18, 2009 (gmt 0)

5+ Year Member



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...]

 

Featured Threads

Hot Threads This Week

Hot Threads This Month