We have extended our Black Friday 50% discount an extra 5 days!! use discount code BlackFriday

Poll Manager

Enable Poll Manager SEO Friendly URLs

Search Engine Friendly URLs are where a URL which once was "index.php?m=poll" becomes "/poll".

  1. To enable SEF URLs, first check and ensure you have mod_rewrite installed on your server
  2. Next go to Addons > Poll Manager > Settings and tick the box for "SEO Friendly URLs"
  3. Finally, you must also rename the file named htaccess.txt to .htaccess. in your root WHMCS directory

Add the code below to .htaccess file

# Poll Manager Home
RewriteRule ^polls$ ./index.php?m=poll [L,NC]
RewriteRule ^polls/$ ./index.php?m=poll [L,NC]

# Poll Manager Votes
RewriteRule ^poll/([0-9]+)/([^/]+)$ ./index.php?m=poll&a=votes&id=$1 [L,NC]
RewriteRule ^poll/([0-9]+)/([^/]+)/$ ./index.php?m=poll&a=votes&id=$1 [L,NC]

# Poll Manager voting
RewriteRule ^poll/([0-9]+)/([^/]+)/([0-9]+)$ ./index.php?m=poll&a=votes&id=$1&voteto=$3 [L,NC]
RewriteRule ^poll/([0-9]+)/([^/]+)/([0-9]+)/$ ./index.php?m=poll&a=votes&id=$1&voteto=$3 [L,NC]

# Poll Manager error
RewriteRule ^poll/([0-9]+)/([^/]+)/error$ ./index.php?m=poll&a=votes&id=$1&error=true [L,NC]
RewriteRule ^poll/([0-9]+)/([^/]+)/error/$ ./index.php?m=poll&a=votes&id=$1&error=true [L,NC]

Source Code

$70.00 USD

Buy Now
Owned License

$30.00 USD

Buy Now
0 Comments
4703 Item Views

Buyer Rating

Information
Version
2.0.2
Framework
WHMCS
Created
06 February 2014
Last Update
04 November 2016
Supported Versions
v6.x.x - v7.0.x
Tested on
v6.x.x, v7.0.x
Files Included
JS, HTML, CSS, PHP, PNG
Compatible Browsers
IE8+, Firefox, Safari, Opera, Chrome
Copyright © 2016 HardSoftCode Web Development Services. All Rights Reserved.