Author Topic: URL Problem with JReviews after changing a directory name  (Read 2213 times)

sloane

  • Newbie
  • *
  • Posts: 3
    • View Profile
Hi,

We are using JReviews and SEF advanced for our website (beta test for the moment, so site have no public access for the moment).

Everything was all right with JReviews and SEF advanced. But for one button I now have a problem.

I had an url like this :
http://www.xxx.net/joomla/jreviews/agendas/our_annuaires/festivals.html
agendas = name of this JReviews Directory
our_annuaires = name of Joomla Section
festivals = name of Joomla Category

I had to change the name of this JReviews Directory. I have replace "agendas" by "annuaires".
So now my url for my button is
http://www.xxx.net/joomla/jreviews/annuaires/our_annuaires/festivals.html

It should display the list of my contents in this category. It was working well before I changed my "directory" name, but now it is not working, the page only display a list of my categories !

This button and page display is ok if I disable SEF Avanced.

I think that my problem is :
the page to display is already the same
(http://www.xxxx.net/joomla/component/option,com_jreviews/Itemid,104/) but I first had a friendly url for this page and now, because I change the directory name, there is a new friendly url for the same page and so SEF Advanced don't like this situation, isn't it ?

How could I reset the friendly urls for this specific page ? I would like to delete the first friendly url use for this page and maybe the new friendly url name will work isn't it ?

Is this problem happened every time we change a category or section name too ? What is the process if we want to change a category/section or component option name used in the url if we want to be preserved from that kind of problems ?

Thanks for your help,

Best regards

PS If you need an access for our Beta version of out website, just send me a mail.
« Last Edit: 29 May 2007, 16:05 by sloane »

alejo

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: URL Problem with JReviews after changing a directory name
« Reply #1 on: 06 June 2007, 19:21 »
SEF Advance does not keep track of friendly urls for components, it builds them on the fly. So changing a menu name does not in itself create a conflict with previous friendly urls.

The problem I think is the menu name itself. If you have any other menus or a section name called "annuaires" then the sef_ext.php file for jReviews picks up the first instance it finds and can even confuse a directory name with a section name. You need to use the SEF Alias parameter that I have incorporated into the jREviews menus to alter the url. So if your menu is named "annuaires" but you type "annuaires menu" in the SEF Alias then you should be ok, as long as the alias is unique.

I hope that helps.
jReviews :: Directory / Ratings / Reviews
http://www.reviewsforjoomla.com

sloane

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: URL Problem with JReviews after changing a directory name
« Reply #2 on: 06 June 2007, 23:22 »
Hi,

Thanks a lot for your help. It was my fault sorry, it was because I had the same name twice...

Best Regards,