Home Joomla Tips SOLVED: Remove ?view=category From JReviews URL
Author:

Here are simple instructions you could remove the unnecessary extra text at the end of the JReviews component URL.

After installing sh404SEF I have noticed that the URL has changed, specifically the category now has the additional text:

?view=category. An example would be www.example.com/shoes.html?view=category.

Now this extra text is not very ideal for search engine optimization. Here's how get rid of it:

Note: before you try to change anything, make sure you have backup the file, just in case if anything goes wrong you can always back out.

1. Locate the com_jreviews.php file from the JReviews component folder.

Path: /sef_ext/com_jreviews.php

2. Then open the file with an editor, and locate this line:

shRemoveFromGETVarsList('url'); underneath this line add

shRemoveFromGETVarsList('view');  // remove Joomla menu view param

3. Now save the file and upload it to the server.

Did you like this tip?



Comments (0)
Write comment
Your Contact Details:
Comment:
Security
Please input the anti-spam code that you can read in the image.

"