Jump to content

Rewrite page URLs from subfolder to root


evanmcd
 Share

Recommended Posts

Hi,

I'm in the process of moving over some Blogger blogs into ProcessWire. We want the URL format to match what was in place previously, so blogname.com/blog-post-slug/ which would be fine if we just created the posts at the root of the site.

The issue is the fact that we have more than 500 posts, which we've setup in a /blog/ folder so as not to clutter the root of the site with a list of posts.

I saw this mentioned in another post, but @ryan was not "not confident that PW will be totally happy with it".
 

RewriteRule ^$ /subfolder [L]

Is there a ProcessWire core team sanctioned way to rewrite all /subfolder/ URLs to the root?

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...