Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
scott (Guest)
scott (Guest)
Please help me understand FURL's. I am doing a site conversion. I am copying the old URL(.html's) of my old site into the approriate page in the viart structure in the "friendly URL field." Is that enough for in order for the friendly URL's to work or do I also need to activate the FURL's section in the Global settings for it to work properly? Please explain fully:
1. If I have set my FURL's manully in each viart page, do I need to copy files in the htaccess file?
2. Will I still need to tick the Activate FURL's box
3. Which drop down option in the Auto-generate do I use
Thanks,
 
Anjula
Anjula
Hello, Scott
 
To activate friendly URLs functionality you are to firstly create an .htaccess file in your root folder and insert the following code:
 
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /full_path_to_the_script/friendly_url.php [L]
</IfModule>
 
Please, make sure that you specify the full path.
 
When this is done, please turn on the feature (Activate Friendly URLs), select how you want these URLs to be generated (Auto-generate Friendly URLs) and extensions ( Friendly Extension) through the Admin panel.
 
Now your friendly URLs should work correctly.
 
With kind regards,
ViArt Support Team
 
Kami
Kami
gives me this
Internal Server Error
 
The server encountered an internal error or misconfiguration and was unable to complete your request.
 
Please contact the server administrator, ****@kamistore.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
 
More information about this error may be available in the server error log.
 
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
 
AmandaK
AmandaK
Kami may I ask how you got this resolved? I am having the same error.
 
AmandaK
AmandaK
Now to answer my own question for future reference:
 
I didn't change the path to reflect the correct location of the script on my server as such:
 
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /public_html/friendly_url.php [L]
</IfModule>
 
AmandaK
AmandaK
But then I get this error when viewing a page with friendly URL:
 
[an error occurred while processing this directive]
 
Any advice?
 
AmandaK
AmandaK
***FIXED***
 
A little frustrating to have to search for this but here is the fix:
 
1) Had to download the updated friendly_functions.php (for version 3.2 apparently) once downloaded, unzip and upload to my includes folder. See thread for instructions here:
 
http://www.viart.com/the_generation_of_friendly_urls_has_been_slightly_modified.html
 
2) Had to adjust my .htaccess code to read:
 
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /friendly_url.php [L]
 
Per this thread: http://www.viart.com/activating_furls_and_dot_htaccess_code_placement.html
(As of 8/1/07 also I assume for 3.2)
 
So this clears up the internal server error (or internal server 500 error) as well as the [an error occurred while processing this directive] message at least for version 3.2. I haven't explored 3.3 yet. As always back up before trying this at home. ;) Hope it helps someone.
 
Kami
Kami
Thanks, mate, I've tried that too, but something just didn't click right. So I asked the support to fix it for me and they did the trick :)
 
chey
chey
AmandaK's method worked for me! thanks dude!