Post Reply 
 
Thread Rating:
  • 238 Votes - 2.79 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
Quote this message in a reply
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
Quote this message in a reply
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
Quote this message in a reply
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
Quote this message in a reply
Post Reply 


[-]
Quick Reply
Message
Type your reply to this message here.


Image Verification
Image Verification
(case insensitive)
Please enter the text within the image on the left in to the text box below. This process is used to prevent automated posts.

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Removing border around featurific Guest 10 11,396 02-01-2012 04:12 AM
Last Post: inconfonek
Thumbs Up replace by image if featurific (if flash) not present easysofts 13 15,156 02-01-2012 03:06 AM
Last Post: Aquanique
  Arrows and Numbers for advancing the featurific image forward or backward maxfaction 18 10,020 01-31-2012 11:51 AM
Last Post: Vipripse
  Changed wordpress blog URL, now featurific can't find images tripper54 9 3,275 01-30-2012 07:57 PM
Last Post: Gorgekaj
  Manually Select Images and Words for Featurific armyhistory 1 3,271 07-17-2010 04:27 AM
Last Post: rinogo
  Getting FEATURIFIC to work on my Home Static Page bribiz 1 2,637 05-29-2010 07:04 AM
Last Post: rinogo
  Will the Featurific Plugin Work On Custom Template Pages bribiz 1 1,985 05-29-2010 07:02 AM
Last Post: rinogo
  Trouble with Featurific Free Guest 1 1,666 01-27-2010 03:19 AM
Last Post: rinogo
  featurific new version Guest 1 2,204 01-12-2010 07:28 AM
Last Post: rinogo
  Is Featurific AdWare? D.Vader 1 1,997 09-23-2009 04:00 AM
Last Post: rinogo

Forum Jump:


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