GA tracking webpages by /page-name/domain.com
I was recently checking Landing/Exit Page & Real Time report of an WordPress website and found that GA was tracking pages by /page-name/domain.com.
Domain name: example.com
GA tracking should have been: /abcd/
Current GA tracking: /abcd/example.com
The universal GA script has been put right after <head> tag and GWM is showing correct internal links. However in GA, clicking on the pages return 404 page. Is the issue related to WordPress or some property settings?
Thanks in advance for help.