Thread Rating:
  • 316 Votes - 2.83 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Featurific works with one url not with another
11-03-2009, 04:59 PM
Post: #1
Star Featurific works with one url not with another
I use the excellent Featurific plugin for Wordpress at Palabra Abierta, http://hispanicla.com/palabra .

I can also use the urls http://palabrabierta.com and http://palabraabierta.com to forward to the first URL.

Accessing with http://hispanicla.com/palabra Featurific is seen and works.
Accessing through palabrabierta.com or palabraabierta.com Featurific is not seen and doesn't work.

Please help,
G
mail@hispanicla.com
11-04-2009, 04:52 AM
Post: #2
RE: Featurific works with one url not with another
Hi G,

Very interesting problem, indeed. My first guess is that this is due to Featurific's call to is_home(). This call determines if the homepage is being rendered. If so, Featurific is included. Otherwise, it is not. You may try editing your main template (home.php or index.php), and commenting out the call to is_home(). (There should be a line beginning with:

if(is_home())

replace this with:

//if(is_home())

Please let me know if this helps! Smile
-Rich
Find all posts by this user
11-04-2009, 05:17 PM
Post: #3
RE: Featurific works with one url not with another
Thank you Rich. But doing that didn't help.

It also didn't show Featurific in all the pages like it says there (which I don't care).

Hope you can find a solution! Thanks,
Gabriel




(11-04-2009 04:52 AM)rinogo Wrote:  Hi G,

Very interesting problem, indeed. My first guess is that this is due to Featurific's call to is_home(). This call determines if the homepage is being rendered. If so, Featurific is included. Otherwise, it is not. You may try editing your main template (home.php or index.php), and commenting out the call to is_home(). (There should be a line beginning with:

if(is_home())

replace this with:

//if(is_home())

Please let me know if this helps! Smile
-Rich
Find all posts by this user
11-07-2009, 05:41 AM
Post: #4
RE: Featurific works with one url not with another
Hi gabriel,

I've found the problem. If you view the source for the URL's that don't work, you will find that Featurific is using URLs of this form:

/palabra/wp-content/plugins/featurific-for-wordpress/FeaturificFree.swf?&lzproxied=false

This works fine for the URL that works, since the files are indeed accessible at /palabra/... However, when accessing the site via the other URLs, the /palabra directory is not accessible since these URLs apparently point directly to the palabra directory.

Two (of many) possible solutions are to:

1. Hard-code the paths into the PHP code so that insert_featurific() (aka featurific_insert()) uses the correct paths (e.g. /wp-content/plugins/featurific-for-wordpress/FeaturificFree.swf?&lzproxied=false instead of /palabra/wp-content/plugins/featurific-for-wordpress/FeaturificFree.swf?&lzproxied=false). Note that this has the perhaps undesired consequence that Featurific will 'break' at the URL that was previously working before...

2. (better approach). Create a symbolic link within the palabra directory back to the palabra directory. This way, both sets of paths for accessing Featurific should work correctly. On a linux-based server, this command would look something like:

(cd to the palabra directory)
ln -s . palabra

(or, it might be the following (I get mixed up on the syntax consistently!)):
ln -s palabra .

Best of luck, gabriel!
-Rich
Find all posts by this user


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Removing border around featurific Guest 8 15,969 12-07-2010 05:05 AM
Last Post: rinogo
  Manually Select Images and Words for Featurific armyhistory 1 5,027 07-17-2010 04:27 AM
Last Post: rinogo
  Getting FEATURIFIC to work on my Home Static Page bribiz 1 4,200 05-29-2010 07:04 AM
Last Post: rinogo
  Will the Featurific Plugin Work On Custom Template Pages bribiz 1 3,771 05-29-2010 07:02 AM
Last Post: rinogo
Thumbs Up replace by image if featurific (if flash) not present easysofts 5 23,994 04-20-2010 07:50 AM
Last Post: rinogo
  featurific new version Guest 1 3,560 01-12-2010 07:28 AM
Last Post: rinogo
  Arrows and Numbers for advancing the featurific image forward or backward maxfaction 3 15,956 01-01-2010 12:31 AM
Last Post: ForbesOS
  Is Featurific AdWare? D.Vader 1 3,123 09-23-2009 04:00 AM
Last Post: rinogo
  Duplicate WP Featurific onto HTML site? TimD 3 4,390 09-09-2009 07:50 AM
Last Post: rinogo
  Changed wordpress blog URL, now featurific can't find images tripper54 2 6,140 09-09-2009 07:11 AM
Last Post: rinogo

Forum Jump:


User(s) browsing this thread: 1 Guest(s)