larryecm
Forum Replies Created
-
Ah! Thank you Weston!
I am seeing this exact same issue:
https://blueridgemountainlife.com/2018-biltmore-estate-visitors-guide/amp
redirects to
https://blueridgemountainlife.com/2018-biltmore-estate-visitors-guide/
When I edit the post, the AMP Status says: “AMP Enabled”
I fixed this issue. It’s caused by the realm name having a single quote in the name.
Edit the wp-content/plugins/wow-guild-retrieve/wow-guild.php file.
Find the following line:
$realmstr = str_replace(‘ ‘,’-‘,$realmname);
Immediately after it, add the following line:
$realmstr = str_replace(“‘”, ”, $realmname);
Save the file and it should work for you.
Anybody? Is there no support for this plugin?
Forum: Fixing WordPress
In reply to: How to rewrite a WordPress URLAnybody else have a clue on this?
Forum: Fixing WordPress
In reply to: How to rewrite a WordPress URLThanks blodishnet, I appreciate it, I’ll take a look.
A little update. I did start looking at using the WP Rewrite functionality built into WordPress to rewrite the URLs, but can’t get it to work. Here’s my code:
function wp_dir_rewrite($wp_rewrite) {
$dir_rules = array(
'real-estate-directory/accountants?$' => 'wpdir-sub/cat-4/accountants'
);
$wp_rewrite->rules = $dir_rules + $wp_rewrite->rules;
}
add_filter('generate_rewrite_rules', 'wp_dir_rewrite');
Seems like that should work, but it doesn’t. Any wp Rewrite gurus have any clue?