Any tip on how i can solve Wordpress SEO plugin & JSON API plugin conflict? JSON feed URL on www.example.com/?json=1 redirects to homepage.
-
Any tip on how i can solve Wordpress SEO plugin & JSON API plugin conflict? JSON API feed URL http://www.example.com/?json=1 redirects to homepage. I am trying to pull feeds from my blog http://www.example.com via JSON API to an Android app am building but the JSON Feed URL http://www.example.com/?json=1 keeps redirecting to the homepage, so i figured if i disable all the plugins i can narrow down the source of the trouble, so i did and discovered that any time i active the Wordpress SEO plugin the JSON feed url redirects to my homepage. Anyone got any idea how i can fix this? I really need the Wordpress SEO plugin and i also need to get the JSON feed url working.
-
Answer:
As far as WordPress is concerned, `http://www.example/.com/?json=1` is the homepage. You should probably host your json endpoint somwhere else, e.g. http://www.example.com/jsonapi, or http://json.example.com. Even with the former, you'll probably have issues with WordPress assuming it's supposed to be an internal url, so you should look at changing the WordPress .htaccess rules to exclude your endpoint url. in short: _GET parameters are not really supposed to differentiate pages, but are intended to provide additional state-based information. Stick to that convention!
Adam Marshall at Quora Visit the source
Related Q & A:
- How I can find string in excel with vba?Best solution by Stack Overflow
- Does anyone know how I can get bruins tickets and train tickets as a package deal and where I could do this?Best solution by Yahoo! Answers
- Can you share some tips on how I can preserve my collection of paintings?Best solution by Yahoo! Answers
- Can anyone suggest how I can improve myself?Best solution by Yahoo! Answers
- How we can solve this html problem?Best solution by wiki.answers.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.