Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 ISAPI_REWRITE
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

smelly_cat
Starting Member

9 Posts

Posted - June 13 2011 :  00:59:09  Show Profile  Reply with Quote
hello forum
i was wondering/hoping that some one could update or help me with the ISAPI_REWRITE for version 7. the help file

http://helpnotes.vpasp.com/kb/601-Information/949-Setting-up-friendly-URL-on-VP-ASP-using-ISAPI_REWRITE/

is for an erlier version and isnt exactly like the seven files.

thank you for your help!

diegomilito
VP-CART Expert

Argentina
779 Posts

Posted - June 13 2011 :  22:30:33  Show Profile  Reply with Quote
i think you do not need ISAPI REWRITE anymore my friend. Version 7 alreaady have SEO dynamic which looks like ISAPI REWRITE created link. better to use SEO dynamic.

Diego
Go to Top of Page

smelly_cat
Starting Member

9 Posts

Posted - June 13 2011 :  23:47:26  Show Profile  Reply with Quote
thanks Diego
you are right, it is if you have the deluxe version. but i have plus so i need to see if it can be rewrote. there realy isnt a reason to even have that post if no one can use it.

I added what is there and it works on my products but doesnt work on the categories. i might be doing something wrong, thats why i was hoping someone could update it.
Go to Top of Page

support
Administrator

4679 Posts

Posted - June 14 2011 :  01:21:15  Show Profile  Visit support's Homepage  Reply with Quote
Hi there

The code to update the catgories is at the bottom of the helpnote.

Did you update the shopdiscplsycategories.asp file?

Thank you.

Cam Flanigan
VP-ASP Cart Support

Follow us on Twitter:
http://www.twitter.com/vpasp
Go to Top of Page

smelly_cat
Starting Member

9 Posts

Posted - June 14 2011 :  15:28:14  Show Profile  Reply with Quote
yes i did but the code in version 7 is different than what is in the post.

thats why im not sure if im doing it right.

the post shows...

shopdisplaycategories.asp

Locate the following code :

(approximately line 227 to 237)



<a href="shopdisplayproducts.asp?id=<%=id%>&cat=<%=linkname & addwebsesslink%>">
<img border="0" src="<% StrCatImage%>" alt="<%=strcategory%>"></a>


<a href="shopdisplaycategories.asp?id=<%=id%>&cat=<%=linkname & addwebsesslink %>">
<img border="0" src="<%=StrCatImage%>" alt="<%=strcategory%>"></a>



modify it to :




<a href="<%=server.URLEncode(replace(iname," ",""))& "_c" & id & ".htm"%>">
<img border="0" src="<%=StrCatImage%>" alt="<%=strcategory%>"></a>

<a href="<%=server.URLEncode(replace(iname," ",""))& "_cat" & id & ".htm"%>"
<img border="0" src="<%=StrCatImage%>" alt="<%=strcategory%>"></a>


the the file shows...

<p class="ac"> <a href="shopdisplayproducts.asp?id=<%=id%>&cat=<%=linkname & addwebsesslink%>"><img class="product_thumbnail" border="0" src="<%=StrCatImage%>" alt="<%=strcategory%>" /></a> </p>


<p class="ac"> <a href="shopdisplaycategories.asp?id=<%=id%>&cat=<%=linkname & addwebsesslink %>"><img class="product_thumbnail" border="0" src="<%=StrCatImage%>" alt="<%=strcategory%>" /></a> </p>

again it works on the products just not the categories
Go to Top of Page

borisvel
Starting Member

Slovenia
47 Posts

Posted - June 14 2015 :  10:47:45  Show Profile  Visit borisvel's Homepage  Reply with Quote
quote:
Originally posted by support

Hi there

The code to update the catgories is at the bottom of the helpnote.

Did you update the shopdiscplsycategories.asp file?

Thank you.

Cam Flanigan
VP-ASP Cart Support

Follow us on Twitter:
http://www.twitter.com/vpasp



Hello,

i use vpasp 6.09 deluxe version and i did everything as instructed here

http://helpnotes.vpasp.com/kb/601-Information/949-Setting-up-friendly-URL-on-VP-ASP-650-using-ISAPI_REWRITE/ br /

with rewrite rules for web.config instead of .htaccess

******************
<rule name="rule 1e">
<match url="[^?/]*-(\d+)\.htm" />
<action type="Rewrite" url="/shopexd.asp?ID={R:1}" appendQueryString="true" />
</rule>
<rule name="rule 2e">
<match url="[^?/]*-c(\d+)\.htm" />
<action type="Rewrite" url="/shopdisplayproducts.asp?ID={R:1}" appendQueryString="true" />
</rule>
<rule name="rule 3e">
<match url="[^?/]*-cat(\d+)\.htm" />
<action type="Rewrite" url="/shopdisplaycategories.asp?ID={R:1}" appendQueryString="true" />
</rule>
*****************

but doesn''t work. Any sugestion?

Please help.

Thanks and kind regards, Boris



www.lingerie.si
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00