Links to Non WP pages (5 posts)

  1. Guppy411
    Posted 7 years ago #

    I am trying to set up a store within my site, got2begreen.com, and I cannot get the link to work.

    The page that needs to load is http://got2begreen.com/merchandise/catergoies.asp .

    I know it is an ASP application and my hosting platform accepts both PHP and ASP, I have applications running on another site using both languages so it should not be a server problem.

    It is telling me that the page cannot be found so I think it has to do with the isapi_rewrite. I can't seem to trick it into finding the file no matter what I do. Any ideas?

  2. moshu
    Posted 7 years ago #

    I am having difficulties understanding which part of your question is a WP issue.

  3. Guppy411
    Posted 7 years ago #

    Alright, let's try this.

    If WP is generating my home page (i.e. index.php), then do all subsequent pages in the site need to be generated by WP??? Is WP grabbing all url requests and processing them against the database?

    In other words, if I put a page called "what.htm" in a folder called "who" and then try to go to enter the url directly into my browser, http://www.got2begreen.com/who/what.htm, I get a 404 message that page cannot be found. Where is it???

  4. moshu
    Posted 7 years ago #

    Yes, WP sometimes does strange things - mainly due to the "canonical URLs" introduced in v2.3 (see the dev blog).

    On the other hand I never install WP on Win servers, so I have no idea how the ISAPI rewrite rules work with WP.

  5. Guppy411
    Posted 7 years ago #

    The isapi_rewrite works just like the mod_write for Apache, see code below. This is contained in an httpd.ini file instead of an .htaccess file. I'll check the dev blogs as you suggest.


    # For file-based wordpress content (i.e. theme, admin, etc.)
    RewriteRule /wp-(.*) /wp-$1 [L]

    # For normal wordpress content, via index.php
    RewriteRule ^/$ /index.php [L]
    RewriteRule /(.*) /index.php\?$1 [L]

    # /index.php/ is not really necessary
    # RewriteRule ^/$ / [L]
    # RewriteRule /(.*) /\?$1 [L]

Topic Closed

This topic has been closed to new replies.

About this Topic