Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'd like to put maps inside of a wordpress CMS, but I'm running into troubles with the permalink structure ignoring the maps all together...

I have a .htaccess file that will force WordPress to ignore a directory, and I can have the page render, but not inside the pages...

I've tried embedding an iframe, both from an .htaccess allowed directory, and even from a subdomain that has nothing but a test map on it.

I'm fairly new to GIS, so any help in connecting a MapServer / MapScript system into WordPress would be genuinely appreciated.

If there's any other data you need, please let me know.

Matt

share|improve this question
1  
Hey matt, this sounds like it might be more of a wordpress question than a GIS question. You might have better luck elsewhere. That being said, AFAIK, MapScript produces images, which need to be linked to. In PHPmapscript, you'd need to do $img = $map->draw(), and then $img->save('c:\my_web_folder\images\mymap.gif'). Then your page would need an <img src="/images/mymap.gif">. –  canisrufus Aug 28 '11 at 22:34
    
all of which is to say, i don't know anything about wordpress, and am assuming you should be able to link to the image, just like any other image. –  canisrufus Aug 28 '11 at 22:37
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.