• 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 https://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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I am having difficulties understanding which part of your question is a WP issue.

    Thread Starter Guppy411

    (@guppy411)

    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, https://www.got2begreen.com/who/what.htm, I get a 404 message that page cannot be found. Where is it???

    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.

    Thread Starter Guppy411

    (@guppy411)

    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.

    [ISAPI_Rewrite]

    # 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]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Links to Non WP pages’ is closed to new replies.