|
Featurific works with one url not with another
|
|
11-03-2009, 04:59 PM
Post: #1
|
|||
|
|||
|
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! ![]() -Rich |
|||
|
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, |
|||
|
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 |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help


