Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl MasterNot Working for a Non-DNN SiteNot Working for a Non-DNN Site
Previous
 
Next
New Post
5/19/2011 3:13 PM
 
Bruce,

I have a similar issue. We have a Wordpress blog installed off the end of our dnn installation. The blog works great, however using just the /blog/ url, DNN/Ifinity is picking up the url and trying to redirect (or NOT redirect in this case).

Is there an easier way to accomplish this without the extra pages and permanent 301 redirects?

Simpler:
/blog/index.php - works perfectly
/blog/ - redirects to our 404 page (set in Ifinity)

Thanks,
Ben
 
 
New Post
5/20/2011 10:47 AM
 
I take it that you have /blog/ setup as a virtual directory of some kind?  If so, do you have /index.php setup as the default document in that directory?



I'm a bit unsure how DNN is processing a Url that should be for the WP install.  Is this all on the one server, or is it on different servers?

 
New Post
5/20/2011 4:20 PM
 
Thanks for the quick response Bruce,

It is a real directory, with an actual WP install. Hosted at PowerDNN, and running php as a cgi application. In IIS, index.php is listed as a default document.

We have another site with the WP install, and NOT using URL Master, which works perfectly http://earth-kind.com/earthkind-blog/

I'm also getting a page not found for any of the individual posts. I think my ignoreRegex has issues, what should be appended for the Url Master to ignore any url with /blog/ in it?

http://www.haag-streit-usa.com/blog/  NOT found
http://www.haag-streit-usa.com/blog/index.php   works as it should
http://www.haag-streit-usa.com/blog/archives/working-extra-hours-at-the-office-could-kill-you/  NOT found

Just brought the site down messing with it, so figured I ask on exactly what that ignoreRegex should look like, guessing probably isn't the most scientific way to go about it!

Thanks,
ben
 
New Post
5/21/2011 12:49 AM
 
Let me be clear : my knowledge of the way to do WP setup and mixing php and asp.net is essentially zero.  So I am coming from a position of not necessarily understanding all the ins and outs.  I would have thought /blog would be setup as a new virtual directory in IIS, and associated with the php app, but this doesn't seem to be the case.

I took a look at the blog pages, and it seems that you get a 'powered-by' message for both php and asp.net with the blog pages.  Which might be an artefact of the IIS setup rather than what is actually running.

To answer your question directly, just add |/blog/ to the end of the 'ignoreRegex' pattern in order to stop it being processed by Url Master. But from looking at the way it is working, I'm not so sure that this will actually happen.  Because as far as I can tell, Url Master isn't actually processing the /blog url.   It does show a 'page not found' message, but returns a 200 status.  Have you got anything else running on the site which is handling this type of Url?

 
New Post
5/28/2011 5:38 PM
 
Bruce & all,

Found at least one of the issues. I'm still not sure exactly how those pages were redirecting back to the Page Not found, though.

Disabled the url master since I was convinced that was the issue, but still not directing properly for ANY of the articles. The final solution was to remove the permalink structure within WP, and use the default (?p=124 )
AND
add /blog/ onto the ignoreRegex pattern.

Thanks again for the support bruce, at least have a solution that will work, although not SEO friendly.

Ben
 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl MasterNot Working for a Non-DNN SiteNot Working for a Non-DNN Site


Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.

Please note : If you are posting a new thread for the Url Master module, please include the following information where applicable:

- Url Master version

- DotNetNuke version

- Example Url where possible

- If there is an error, please post the full error text and/or stack trace (from the DotNetNuke event log).