Forum Moderators: phranque
http: //www.domain.com/domain/domainStore/cgi-bin/
domain_onlinestorecatalog.exe?VM_CGI_RULE=Display&VM_CGI_OBJECT
=StaticLinksPageSt&mac=Home.mac&NavRoot=200&Category_ID=200
This is the home page url that results when I enter www.domain.com. Prospect is wondering why they're not appearing in the engines. ;)
I assume from the URL that it's CGI generated, and also that someone may have just pulled this out of a box... ie, used a package designed for generating an online store catalog to build a database driven site.
I'm not a CGI expert, and I'm not sure who I'll be dealing with on this. If it were someone who knew what he was doing, I'm sure this could be gotten down to a user-friendly/ spider-friendly url. If it comes out of a package, it may be that it's a real can of worms to go into.
Anyone recognize it?
There have been threads on the board talking about parsing down urls, but I don't remember mod rewrite entering into it. Here's one such thread that I've made a note of...
[webmasterworld.com...]
Using the scheme in the above thread, though, I don't know how you'd get the first url I posted down to www.domain.com, which is what it should be... perhaps with the name of the index page appended.
how you'd get the first url I posted down to www.domain.com
you can use a virtual include setup if it's just this one page for which you want to change the adress to www.domain.com
Assuming apache server:
Just make an empty index.html file and include the following line (using example url):
<!--#include virtual="/domain/domainStore/cgi-bin/domain_onlinestorecatalog.exe?variable1=value1&variable2=value2" -->
If you are not parsing .html files for virtual includes, add the following .htaccess file to the htdocs root folder or work this syntax into httpd.conf:
AddType text/html .html
AddHandler server-parsed .html
The easiest way to make an .htaccess file is to just copy these two lines into notepad and name the file ".htaccess"
this is just a one page solution...the mod_rewrite option will give many more possibilities..
http: //www.domain.com/domain/domainStore/cgi-bin/
domain_onlinestorecatalog.exe?
VM_CGI_EVENT=ProductSubcategoriesEv&VM_CGI_OBJECT=
storebuilder_displayed_page&Category_ID=303&NavRoot=303