Knowledgebase
SEF Urls in Joomla on Plesk Windows Packages
Posted by Jonathan Hughes on 24 June 2014 01:22 PM

On our Windows based packages we have the IIS Mod-Rewrite Pro module, to emulate Apache Mod_Rewrite.

To enable SEF urls in Joomla once you've installed, either manually or via the Application Templates we have in the control panel, follow these guidelines.

Open  index.php, located in Joomla root directory.

Add the code line

      $_SERVER['REQUEST_URI'] = $_SERVER['HTTP_X_ORIGINAL_URL'];

 at the beginning of index.php script. After adding this line of code, the beginning of index.php script should look like this:

      <?php
      $_SERVER['REQUEST_URI'] = $_SERVER['HTTP_X_ORIGINAL_URL'];
      ...
      ...

Ensure that the htaccess file is in place in your Joomla folder.

Apply write permissions for the Plesk IIS user  to the htaccess file using your File Manager

Log on to Joomla as administrator, go to admin panel and open the "Global Configuration" page.

In the "SEO Settings" section, choose "Yes" for the fields "Search Engine Friendly URLs", "Use Apache mod_rewrite", and "Add suffix to URLs", so that you enable full SEF URLs. Ignore the warning saying that the option "Use Apache mod_rewrite" is only for Apache users.



Once complete,  your joomla site will run SEF urls without issue.

(296 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).