Jump to content

re locating whmcs install folder / Url rewrite


dimitrifrom31

Recommended Posts

Hi,

 

I originally installed whmcs in http://mydomain.com/clients'>http://mydomain.com/clients

 

I now need to move whmcs to parent directory e.g. http://mydomain.com as I got a custom whmcs template requiring whmcs to be installed at root folder.

 

My main concern is paypal IPN as I got a lot of subscriptions registered to use http://mydomain.com/clients'>http://mydomain.com/clients/modules/gateways/callback/paypal.php

and re creating each and every subscription is not an option for me.

 

I am not 100% sure that would work but I believe url rewrite should do the trick in that case.

 

Ideally I would like that any request sent to http://mydomain.com/clients'>http://mydomain.com/clients/... gets rewritten to http://mydomain.com/...

Example if a customer wants to browse http://mydomain.com/clients'>http://mydomain.com/clients/index.php?language=english he gets redirected to http://mydomain.com/index.php?language=english

 

If that is not doable Id like at least to rewrite the paypal IPN url from

http://mydomain.com/clients'>http://mydomain.com/clients/modules/gateways/callback/paypal.php

to

http://mydomain.com/modules/gateways/callback/paypal.php

 

any help would be great here as I am having hard times with rewrite rules.

Note that I am using IIS however I should be able to translate apache rules to IIS without problem as I did it for whmcs SEO friendly url's.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated