beelde
Forum Replies Created
-
FYI:
action hook:
ws_plugin__s2member_during_paypal_notify_after_subscr_signupworks pretty nice.
Did you update to the latest version? I have the same problem there.
Forum: Plugins
In reply to: [WP eCommerce] Shipping Calculator, Shipping Address wrong Calculationsolution:
wpsc_meta is containing some category settings like “use default settings” or “use billing address”.
So you have to watch in your category settings if you have the same problem.
Forum: Plugins
In reply to: [WP eCommerce] Shipping Calculator, Shipping Address wrong CalculationOh yeah: and I encapsulated the problem already by disabling all mu/plugins and clearing wpsc and other caches.
Forum: Fixing WordPress
In reply to: .htaccess RewriteRuleDon’t forget to comment
$wp_rewrite->flush_rules();
after reload page first time.Forum: Fixing WordPress
In reply to: .htaccess RewriteRuleThe solution was quite simple:
function rewrite_rules(){ global $wp_rewrite; add_rewrite_tag('%title%','([^&]+)'); add_rewrite_rule('^gallery/([^/]*)?','index.php?page_id=9&title=$matches[1]','top'); $wp_rewrite->flush_rules(); } add_action('init','rewrite_rules');
Instead of using $_GET you have now to use $wp_query->query_vars[‘title’].
I hope it will help you.
Forum: Fixing WordPress
In reply to: .htaccess RewriteRuleHey thanks for your fast response. If I’m going to …/theme/gallery/Portfolio-Item he redirects me to …/theme/gallery/Portfolio-Item/ and loads the /gallery/ page and my contents like images will be fetched from /theme/gallery/ instead of /theme/.
Forum: Fixing WordPress
In reply to: create own permalinks for dynamic titlesMaybe I have post more specific information:
/gallery/ is a wordpress created page that uses wordpress permalink settings. What I’m trying to do now is to add something behind it like /gallery/Gallery-title that has to lead to /gallery/?title=Gallery-title without changing url.
This is my current .htaccess:
# BEGIN Custom <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^portfolio/([-a-zA-Z0-9])$ portfolio/?title=$1 [L] </IfModule> # END Custom # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wardeski/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wardeski/index.php [L] </IfModule> # END WordPress