Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
395 views
in Q2A Core by

Hi,

My website is built on the cakePHP framework; so I installed my Q2A under the following directory.

www.domain.com/forum/

However, when I see the URLs that get generated in the sitemap XML they are getting generated like this.

www.domain.com/app/webroot/forum/

How can I get the sitemap XML to generate the links without including "/app/webroot" directory within the URL?

I have a WordPress blog site setup in the same way, and in my WordPress blog sitemap XML file it does NOT include "/app/webroot" in the URL so there has to be a way to do this with Q2A too.

Thank you!

1 Answer

+2 votes
by
selected by
 
Best answer
Are you using the Q2A XML Sitemap plugin ?

If so, check your Admin--> General ----> Preferred Site URL value

It should be :

http://www.domain.com/forum/

and not :

http://www.domain.com/app/webroot/forum/
by
Yes, that worked...thank you!
...