Forums

Forwarding slash in WordPress URL (4 posts)

  1. westcoastresident
    Member
    Posted 9 months ago #

    I am moving my site from Drupal to WordPress.

    In Drupal, I can easily give an alias to URL and this alias could be anything., ie: http://www.example.com/abc/xyz/hello.html

    But in WordPress, it appears that I cannot do that with WP out of the box.(I have read http://codex.wordpress.org/Using_Permalinks)

    Any hint on how to do the same with WordPress? I need to keep URL consistence.

    Thank you

  2. Samuel B
    moderator
    Posted 9 months ago #

    I think
    /%category%/%postname%.html
    will do the same thing

  3. westcoastresident
    Member
    Posted 9 months ago #

    Thanks Samuel.

    But for my current URLs, they do not always end with .html (some are .htm and some do not have extension).

  4. Neal Bloome
    Member
    Posted 9 months ago #

    @westcoastresident - Its tough to explain this but simply put WordPress will rewrite every URL on the site using a consistent format specified in your permalink settings and you can change individual links on your post/page edit screens.

    You may want to try using the WordPress Import plugin however I'm not 100% sure if it will keep the consistent URL structure, I would test in a development environment first.

    You may even be left with the hard choice of leaving out the .html and .htm on your links but your probably worried about SEO rankings so what you could try to do is download a plugin called Simple 301 Redirects and you can specify each link to redirect accordingly.

    But that method may be a pain if you have tons of posts to go through, however there are tons more 301 Redirect plug-ins developed for WordPress that can give you more functionality via Regex Expressions.

    I know it doesn't really solve your issue but it'll get you closer to a solution.

Reply

You must log in to post.

About this Topic

Tags