Welcome! Log In Create A New Profile


Map module troubles

Posted by girasquid 
Map module troubles
April 15, 2009 04:37PM
Hello, all.

I am currently working on transferring a site to nginx, and have been asked by an "SEO Expert" to put some redirects in place. After being given the list of redirects, I realized that the map module was almost exactly what I was looking for - except that certain URLs do not seem to ever match within the map. Here are some entries that work:
/about/ /mortgage-broker/;
/comfree-mortgage-application.php /comfree-mortgage-application/;
/comfree-mortgage-calculator.php /comfree-mortgage-calculator/;
/contact-OLD/ /contact/;
And here are the entries that don't:
/images/stories/EREB/?D=A /;
/images/stories/EREB/?D=D /;
/images/stories/EREB/?M=D /;
/images/stories/EREB/?N=A /;
/images/stories/EREB/?S=A /;
/index.php?option=com_content&task=view&id=13&itemid=30 /mortgage-broker/;
/index.php?option=com_content&task=view&id=53&Itemid=9 /mortgage-application/;
/index.php?option=com_content&task=view&id=59&Itemid=9 /the-smith-manoeuvre/;
/index.php?option=com_content&task=view&id=81&Itemid=80 /credit-reports/;
/index.php?option=com_content&task=view&id=96&Itemid=9 /contact/;
/index.php?option=com_content&task=view&id=96&Itemid=98 /contact/;
/index.php?option=com_mortgagerates&Itemid=111 /interest-rates/;
/index.php?option=com_wrapper&Itemid=92 /mortgage-application/;

Does anyone know what I might have missed or done wrong that is preventing the second set of URLs from ever matching?


Re: Map module troubles
April 15, 2009 06:35PM
I haven't used the map module but the thing that strikes me is the entries that don't match all have query strings and the others do not. Try using rewrites. See http://wiki.nginx.org/NginxHttpRewriteModule.

Jim Ohlstein
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 270
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready