Forum Moderators: phranque

Message Too Old, No Replies

Strange redirect issue

         

Davidw

11:03 am on Dec 30, 2010 (gmt 0)

10+ Year Member



Hey all,

First of this is a bit of a strange issue i'm seeing on my site, i'm still pretty new at webmastering but i'm picking it up pretty quick, so thanks in advance for any help or idea's.

i'm currently running a site with a Phpbb3 board, and soon to be Wordpress front end,

The phpbb is set up for seo, and all the redirect's work ok, i've never had any problems, the same can be said for the Beta wordpress environment.

Recently i've added a google maps based plugin to the Wordpress install, and i've discovered an issue with 301 redirect's.


[irelandscoarsefishing.com...]


redirects to

[irelandscoarsefishing.com...]


which redirects to

[irelandscoarsefishing.com...]


The plugin runs via ajax, and it's not displaying the info correctly ( when a market is clicked on the mapp

I have of course a few .htaccess files, one is located in the root of the domain for the phpbb install, and one is located inside the Wordpress folder.

I can provide either if it help's or any more info

thanks

Dave..

phranque

11:08 am on Dec 31, 2010 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



the first request is canonicalizing the path by adding a trailing slash, thereby making "Wordpress" a directory, but incorrectly specifying the non-www hostname for the redirect location.
the second request is canonicalizing the hostname by redirecting the request to the "www." subdomain.

fix the first redirect so that it adds the trailing slash without "removing" the "www.".