Friday 07 January 2011 10:39:53 pm
Hi , I would like to set up search engine friendly URL with ezpublish site. For that I know apache mode_rewrite is the best solution . I read from many places that badly configured rewrite rules can make low perfomance in serving pages. rewrite rules conflicts etc. My ezp is configured to work in virtualhost setup as mentioned in ezp documentation .I have put new a rewrite rule in virtualhost configuartion block. Can anyone pleae tell me these rewrite rule may brings up any conflicts with existing rewrite rules in the virtualhost set up. All the articles are placed subfolder stories http://mydomain.com/archive/stories/all artciles are placed here. But the problem is that , google searches showing the articles title as article title/stories/archive. (bez of article is placed under archive/stories) But , I need to show only article title instead of article title/stories/archive. To eliminate above to get better search engine friendly urls, I should rewrite the all urls to http://mydomain.com/article title. (rewrite rules elimaminates archive/stories) Following is the rewrite rule. <b><span class="line">RewriteRule ^/archive/stories -</span></b><span class="line">
Anyone thinks that above rewrite rule bring up any conflicts or any issues ? ABove rewrite rule
can strip archive/stories/ from evey page request
Please give me some ideas.
</span>
|