URL Rewrite. Possible?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Commerce suite > URL Rewrite. Possible?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

skuba is offline     URL Rewrite. Possible?  
skuba


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for skuba Click here to Send skuba a Private Message Find more posts by skuba Add skuba to your buddy list
 
09-16-05 03:55 PM

Hi, I have done URL rewrite in other types of servers, but never for Webspeh
ere. I have this project where the client is using a Commerce suite, but I n
eed to optimize the URLs for search engine friendliness.
Is there something like the .htaccess on apache that would permit this?
Do you have any info on URL rewrite on Websphere?

Thanks so much for helping,
Yan




[ Post a follow-up to this message ]



    Re: URL Rewrite. Possible?  
Robert Brown


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-19-05 11:04 PM

URL rewriting is possible with WebSphere Commerce but search engine
friendliness has not been available until just recently (v5.6.1).  I
would suggest you mention to the client that an upgrade will solve the
problem.  URL Rewriting has its disadvantages in the WC world (no
caching of pages, all pages must be served by WebSphere, etc.) so
neither option will be straightforward IMO.

Give me your version of WC and I'll point you to the correct
documentation for your stack.

R

> Hi, I have done URL rewrite in other types of servers, but never for
> Webspehere. I have this project where the client is using a Commerce
> suite, but I need to optimize the URLs for search engine friendliness.
> Is there something like the .htaccess on apache that would permit
> this?
> Do you have any info on URL rewrite on Websphere?
>
> Thanks so much for helping,
> Yan
>
>
>
> --
> skuba
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message1204179.html
>





[ Post a follow-up to this message ]



    Re: URL Rewrite. Possible?  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-26-05 12:50 PM

Hi Yan,

Yes, any URL rewriting should be done in IHS (IBM's version of Apache). Have
 a look at: -

http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html

We use this approach to achieve SEO. Of course you have to change your URLs 
in your JSPs to match to optimisation you are trying to achieve, then build 
your rewrite rules to map the URL back again (so that WC recogises it).

WC 5.6 contains a module for doing much the same thing. You have to construc
t your URLs in a particular format (or run a PERL script to modify the start
er store JSPs automatically). Instead of using rewrite rules to convert the 
URL back again, WC uses a f
ilter servlet that sits in front of the normal request server. The downside 
to this approach is that you can no longer use the WebSphere plugin caching 
on the web server.

Cheers,
Glen.





[ Post a follow-up to this message ]



skuba is offline     Re: Re: URL Rewrite. Possible?  
skuba


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for skuba Click here to Send skuba a Private Message Find more posts by skuba Add skuba to your buddy list
 
09-27-05 05:41 PM

We have been trying some things with URL mapping. Is that what you mean? Or 
is there any SEO feature beyond that in WC newer versions?

Thanks


quote:
Originally posted by Hi Yan, Yes, any URL rewriting should be done in IHS (IBM's version of Apache). Have a look at: - http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html We use this approach to achieve SEO. Of course you have to change your URLs in your JSPs to match to optimisation you are trying to achieve, then build your rewrite rules to map the URL back again (so that WC recogises it). WC 5.6 contains a module for doing much the same thing. You have to construc t your URLs in a particular format (or run a PERL script to modify the start er store JSPs automatically). Instead of using rewrite rules to convert the URL back again, WC uses a f ilter servlet that sits in front of the normal request server. The downside to this approach is that you can no longer use the WebSphere plugin caching on the web server. Cheers, Glen.




[ Post a follow-up to this message ]



    Re: URL Rewrite. Possible?  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-28-05 11:04 PM

Hello,

It sounds like the same. The url mapper is a WC component (defined in the in
stance.xml file). It reads in the mapping urls from an XML file on startup. 
At runtime the filter servlet converts the URLs from their static form back 
to their dynamic form based
on the XML rules.

Downsides are: -

1. You have to change the JSPs to build the static appearing URLs.
2. You can no longer use caching on the WebSphere plugin for these pages.

Cheers,
Glen.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:43 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register