Jump to content

Recommended Posts

Posted

Hi all,

after a longer time working with processwire without stumbling over any issues, I now have come across one (probably only due to my lack of knowledge of rewrite rules).

What I want to do, is redirect mydomain.com/index.php to mydomain.com with a 301. This should also work for all subdomains as well as without any subdomain.

How can I do this without messing up the rewrite rules for friendly urls etc. in the .htaccess ? I'm a little afraid to just go and do this by trial and error, as it has to be done on a production site...

Any help is appreciated!

Posted

Thanks, but this seems to mess up the friendly urls as I suspected...

The url now is e.g. www.mydomain.com/?it=about where it's supposed to be www.mydomain.com/about

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
×
×
  • Create New...