Support » Plugin: HTML Import 2 » [Plugin: HTML Import 2] Redirects not showing permalink structure

  • This plugin looks like it will save me a ton of time, but I’m having a problem with the htaccess redirects.

    No matter how I set the permalink structure, the redirects always show the page ID – ?page_id=435 [R=301,NC,L] which is equal to the “New Path” rather than the permalink.

    I’m trying to get the page title in the redirect by setting permalinks to /%postname%/

    If it has any bearing, I’m also getting a lot of “Warning: strrpos() expects parameter 3 to be long, string given in …html-importer.php on line 837” for all the images I’m bringing in.

    I’m using a Catalyst theme and all other plugins are deactivated.

    Any ideas?


Viewing 2 replies - 1 through 2 (of 2 total)
  • What do you see when you enter directly into your browser? Do you see the url rewritten to the permalink you are expecting?

    This sounds like a problem with permalinks configuration to me and not this plugin. Have you looked at Is your web server configured as described there under “Permalink Types” (eg, apache with mod_rewrite loaded)? Have you tried other permalink settings like “Month and name” or “Post name” in place of the “Custom Structure” you seem to be using, just for debugging purposes?

    When using a page_id=435 type URL in a browser, WordPress redirects it to the properly permalinked page – .com/page-name. There’s a visible hesitation while it redirects.

    The problem is that it’s a permanent 301 redirect that’s redirecting twice, once from the old page to the page id, then WordPress redirects it again to the permalink structure.

    I do know that Google frowns on multiple redirects.

    I did try using other permalink structures, but the results are the same. I’m using a fresh install of WP 3.3.1 with no other plugins activated on a dedicated server on which I have multiple other WP installations that operate fine.

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: HTML Import 2] Redirects not showing permalink structure’ is closed to new replies.