1
wishcraft
SmartFAQ 1.11 - Tag Support & .htaccess SEO

Resized Image
SmartFAQ 1.11
SmartFAQ with Tag Support & .htaccess SEO
Sponsored by Laproscopic

SmartFAQ is the smartfactory title that has been discontinued by the orginal authors, this is a work up from the XUUPS version to include tag module support as well as SEO URLS with .htaccess

SmartFAQ is a FAQ that has a wide range of options from open responses to Q&A which offer variety for your FAQ. It is paginated and has a great many features.

In this version tag module support is added as well as SEO URL with .htaccess you can find the .htaccess file in the doc folder. Please see the change log.

Download: xoops2.5_smartfaq_1.11.zip (309Kb)
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

2
petitours
Re: SmartFAQ 1.11 - Tag Support & .htaccess SEO
  • 2011/5/21 17:58

  • petitours

  • Just popping in

  • Posts: 53

  • Since: 2005/6/9 1


Hi

I'm using these smartfaq with SEO and the .htaccess included in the package.

It's working well for Q&R and categories but submit and request link don't work...

You can see the problem on
http://www.test.68hc08.net

Thank you in advance

Best regards
There are 10 categories of people in the world : Those who understand the binary code and the others.
www.68hc08.net

3
iHackCode
Re: SmartFAQ 1.11 - Tag Support & .htaccess SEO

Quote:

petitours wrote:

It's working well for Q&R and categories but submit and request link don't work...


when you say "don't work" do you mean they don't appear or there are errors when you use the links?
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

4
petitours
Re: SmartFAQ 1.11 - Tag Support & .htaccess SEO
  • 2011/5/22 8:26

  • petitours

  • Just popping in

  • Posts: 53

  • Since: 2005/6/9 1


Hi

When I use the link
http://www.test.68hc08.net/modules/smartfaq/submit.php?op=add
I get an error "could not findhttp://www.test.68hc08.netfaq/submit/"

when I use the link
http://www.test.68hc08.net/faq/submit
I get a 404 Not found error

Now you can try onhttp://www.test.68hc08.net , all visitors can submit now.

thank you
There are 10 categories of people in the world : Those who understand the binary code and the others.
www.68hc08.net

5
iHackCode
Re: SmartFAQ 1.11 - Tag Support & .htaccess SEO

Quote:

petitours wrote:
Hi

When I use the link
http://www.test.68hc08.net/modules/smartfaq/submit.php?op=add
I get an error "could not findhttp://www.test.68hc08.netfaq/submit/"

when I use the link
http://www.test.68hc08.net/faq/submit
I get a 404 Not found error

Now you can try onhttp://www.test.68hc08.net , all visitors can submit now.

thank you


you will need to edit two files. submit.php and request.php

in submit.php look for htaccess.(its near line 228)
then change the line below that says $url.. so it looks like
$url = XOOPS_URL . '/'. $GLOBALS['xoopsModuleConfig']['baseurl'] . '/submit/';

if ($GLOBALS['xoopsModuleConfig']['htaccess']) {
        
$url XOOPS_URL '/'$GLOBALS['xoopsModuleConfig']['baseurl'] . '/submit/';
        if (!
strpos($url$_SERVER['REQUEST_URI'])) {
            
header"HTTP/1.1 301 Moved Permanently" ); 
            
header('Location: '.$url);
            exit(
0);
        }
    }


in request.php do the same. now it looks like
if ($GLOBALS['xoopsModuleConfig']['htaccess']) {
        
$url XOOPS_URL '/' $GLOBALS['xoopsModuleConfig']['baseurl'] . '/request/';
        if (!
strpos($url$_SERVER['REQUEST_URI'])) {
            
header"HTTP/1.1 301 Moved Permanently" ); 
            
header('Location: '.$url);
            exit(
0);
        }
    }


both of those were missing a /
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

6
petitours
Re: SmartFAQ 1.11 - Tag Support & .htaccess SEO
  • 2011/5/22 14:22

  • petitours

  • Just popping in

  • Posts: 53

  • Since: 2005/6/9 1


I do it...perfect !

I understand It's a real bug... I'm happy to help for it !

Thank you very much
There are 10 categories of people in the world : Those who understand the binary code and the others.
www.68hc08.net

Login

Who's Online

233 user(s) are online (168 user(s) are browsing Support Forums)


Members: 0


Guests: 233


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits