How to reduce number of SEF URLs generated?
Some duplicates or increased ammount of SEF links that may be undesirable may be caused by other variables used for ordering, sorting, etc. These can be also excluded from the SEF URL and reappended behind it.
To do so, apply the following instructions:
First of all go to AceSEF=>SEF URLs page. As you can see in the following picture, I'm using DOCman and I don't want to store the Order by SEF URLs:
The red marked parts are the variables that are used to change the listing order by DOCman. So I have more than one URL for each category, lets examine 2 of them:
Original (mandatory) Category URLs
SEF: docman/docman-sample-data
non-SEF: index.php?option=com_docman&Itemid=60&gid=34&task=cat_view
Category ordered by Hits URLs
SEF: docman/docman-sample-data/hits/desc
non-SEF: index.php?option=com_docman&Itemid=60&dir=DESC&gid=34&order=hits&task=cat_view
As you may see, I've 2 parts included in ordered URL different from the mandatory one, dir=DESC and order=hits . So what I have to do is to add these variables to non-SEF variables list. Go to AceSEF=>Extensions=>DOCman or AceSEF=>Configuration=>Advanced
Now the second (ordered) URL will not be generated and the Order by URLs will be like this:
docman/docman-sample-data?dir=DESC&order=hits
First of all go to AceSEF=>SEF URLs page. As you can see in the following picture, I'm using DOCman and I don't want to store the Order by SEF URLs:
The red marked parts are the variables that are used to change the listing order by DOCman. So I have more than one URL for each category, lets examine 2 of them:
Original (mandatory) Category URLs
SEF: docman/docman-sample-data
non-SEF: index.php?option=com_docman&Itemid=60&gid=34&task=cat_view
Category ordered by Hits URLs
SEF: docman/docman-sample-data/hits/desc
non-SEF: index.php?option=com_docman&Itemid=60&dir=DESC&gid=34&order=hits&task=cat_view
As you may see, I've 2 parts included in ordered URL different from the mandatory one, dir=DESC and order=hits . So what I have to do is to add these variables to non-SEF variables list. Go to AceSEF=>Extensions=>DOCman or AceSEF=>Configuration=>Advanced
Now the second (ordered) URL will not be generated and the Order by URLs will be like this:
docman/docman-sample-data?dir=DESC&order=hits