• I am migrating a client’s ASP-based site from a Windows-based server to an Apache server and WordPress 2.13.

    What is the best way to redirect the ASP URLs to the PHP files, and also retain “pretty” Permalinks? I’m using %postname%.

    My concerns revolve around search engine indexing. The client prefers that the search engine friendly, easier-to-remember pretty permalinks be used in back links and indexed by the search engines.

    Best, most efficient way to do this? Do I just add the ASP-to-PHP redirects to the current .htaccess file, or is there something else I need to do? Or am I asking for trouble combining a redirect with pretty permalinks?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter virgvv

    (@virgvv)

    I should probably clarify further…

    What I’m really asking is if I can redirect the ASP urls to the pretty permalinks. For example,

    redirecting product.asp?item=534 to product/534/

    This would allow me to use regular expressions rather than having to redirect each URL to index.php/?p=2 (ugh).

    Is this doable without tying everything into knots?

    Thanks.

    d9r

    (@d9r)

    Probably. You’d need to ask a mod_rewrite-regular-expression expert.

    moshu

    (@moshu)

    Your question has nothing to do with WP.
    The redirect should be in effect where the old site was – so ask in a IIS-redirects forum.

    bobbyzero

    (@bobbyzero)

    The Redirection plugin will let you set up redirects without touching htaccess, so you’ll always be able to disable it if things stop working.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirect plus rewrite urls?’ is closed to new replies.