WordPress with Angularjs 301 redirects issue with parameters
-
Hello, I have struggled with this for days.
The main issue here is that Google search/crawl and Facebook drop the parameters and do a 301 redirect to the main page aka the permalink.
What we have done is integrated an external angular application using wordpress templates to view the data. These parameters query an external source to view specific data but wordpress knows nothing about them so when we crawl the link or try to share the page it redirects to the main page.
I have googled and tried about everything. I have removed the redirect canonical. I have updated the canonical url and the og:url in the functions.php file to be the full url but wordpress seems to be taken over.
We have tried playing with the htaccess file.
ex. https://www.example.com/person?personName=scott
gets 301 redirect to https://www.example.com/person which is a blank page.Running similar pages outside of WordPress work with no issues as we have integrated this system into non WordPress sites.
Does anyone have any ideas?
Has any one even done this before?
- The topic ‘WordPress with Angularjs 301 redirects issue with parameters’ is closed to new replies.