Scot's Scripts FAQs and Module Support

If you don't find the answers here contact us.
Documentation and support for our Miva modules is found here. If you can't find the answer you're looking for contact us and we'll add the information.

Scot's FAQ Manager / SEO Friendly Links

SEO Friendly Links

You can use SEO friendly links with this module. In order to do this, you need to turn it on within the FAQ Tree HTML code and add some lines to your .htaccess file.

Turn On SEO Friendly Links

Near the top of the MvFAQ_HTML page template you'll see a line like this:

<mvt:assign name="MvFAQ_SEO" value="1" />

By default, this line is embedded in the first mvt:comment section of the page template. Move this down a few lines so it is outside of the mvt:comment block (that is, under the </mvt:comment> line.)

.htaccess file

This file is usually located in the root HTML area of your website, however it can be difficult to find at times because it is a hidden file and many FTP programs do not automatically display hidden files. I like to use Filezilla for FTP because it's powerful, free, and has some nice features including viewing files like .htaccess.

Once you've opened your .htaccess file in a text editor, add the following block of code to it:

RewriteCond %{REQUEST_FILENAME} !-s
RewriteRule ^faqs/([^/.]+)/([^/.]+)/([^/.]+).html$ /mm5/merchant.mvc?Screen=FAQS&MvFAQ=p:$1,c:$2,f:$3 [QSA,L]
RewriteRule ^faqs/([^/.]+)/([^/.]+).html$ /mm5/merchant.mvc?Screen=FAQS&MvFAQ=p:$1,c:$1,f:$2 [QSA,L]
RewriteRule ^faqs/([^/.]+)/([^/.]+).html$ /mm5/merchant.mvc?Screen=FAQS&MvFAQ=p:$1,c:$1,f:$2 [QSA,L]
RewriteRule ^faqs/([^/.]+)/([^/.]+)$ /mm5/merchant.mvc?Screen=FAQS&MvFAQ=p:$1,c:$2 [QSA,L]
RewriteRule ^faqs/([^/.]+)$ /mm5/merchant.mvc?Screen=FAQS&MvFAQ=c:$1 [QSA,L]

Where To Put .htaccess Code

If you've decided to use SEO friendly links for MvFAQ, it's likely you are using them for your Miva Merchant store as well. In fact, I'm going to assume you are. On Scot's Scripts, the code above is placed under the following lines:

RewriteCond %{REQUEST_FILENAME} !-s
RewriteRule ^category/([^/.]+).html$ /mm5/merchant.mvc?Screen=CTGY&Category_code=$1 [QSA,L]

This is the Scot's Scripts setup and it works. Let us know if you have any questions about this.

updated April 23, 2013