Jump to content

Recommended Posts

Posted

I want to link to an external site via mysite.com/demo - the problem with the 301 redirect solutions I have seen is that they go to the new url. I would like the url to remaIn mysite.com/demo. It was suggested that I drop a .htaccess file with some proxy settings into /demo, but I can't see how I would do that with Processwire. Any ideas?

PS. I know that I can do this with a subdomain and changing the A record, but I have an existing ssl cert that needs to be used on the main domain.

Posted

Every real existing folder won't be picked-up by processwire's .htaccess and so you can simply create a folder /demo and use a custom .htaccess inside of /demo.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...