How to remove the themes canical feature
-
I have wordpress installed in a subfolder and on the main domain have an oscommerce script running. Whenever I try to access the blog the following error is thrown:
Warning: Unexpected character in input: ‘ in /usr/bin/php5-cgi on line 4009
Warning: Unexpected character in input: ” (ASCII=4) state=1 in /usr/bin/php5-cgi on line 4009
Parse error: syntax error, unexpected ‘$’ in /usr/bin/php5-cgi on line 4009
So this is probably becuase the oscommerce and wordpress canonical features have a clash.
How do I remove the canonical feature from this theme? I have have tried adding the following code into the functions file but it did not work:
remove_filter(‘template_redirect’,’redirect_canonical’);
Thanks
- The topic ‘How to remove the themes canical feature’ is closed to new replies.