Jump to content
adamjedgar

Full Friendly URLS not working

Recommended Posts

Hi guys,

whmcs is running under subdomain so url is https://billing.mydomain.com

I have installed the Maxhost theme.

I go to dashboard>setup>general settings>general tab>Friendly URLs>Full Friendly Rewrite

According to the built in whmcs checker, my server appears to be compatible with this option as it is highlighted green

Whmcs says Done! Rewrite rule applied. Path Mode Value set to "Full Friendly Rewrite

 

Trouble is, when i navigate to any of the menus in whmcs, nothing has been set to friendly urls. For example:

HOME  https://billing.mydomain.com/index.php

DOMAINS    https://billing.mydomain.com/cart.php?a=add&domain=register

HOSTING   https://billing.mydomain.com/cart.php?gid=1

 

 

Is this a theme/template issue with Maxhost, a whmcs issue, or a server issue?

server is running apache2 with php version 7.2.10

Script execution mode = FastCGId 

Share this post


Link to post
Share on other sites

HI @adamjedgar if you use the Six theme do you replicate the same issue?

Please go into Setup > General Settings > General Tab > Freindly URLs >  Advanced Settings > Rewrite Files > WHMCS Files > Synchronise and then try your freindly URLs again.

Share this post


Link to post
Share on other sites
Posted (edited)

From my mobile i logged in and...

Tried synchronising...no change.

Swapped theme to six, then synchronise again...no change.I

 

I should also mention, i have the main wordpress front end working on the same vps.... https://mydomain.com. clean urls are working fine on that wordpress site.

 

I use virtualmin. 

Setup is Virtual server ... wordpress front end

Virtual sub server ....whmcs

I have other virtual sub server on same vps....friendly urls are working on those wordpress websites. So i am making the assumption that apache2 on the vps is setup correctly...it must just be a configuration issue in this webhosting account? (Virtualmin calls hosting accounts, virtual servers btw)

Edited by adamjedgar

Share this post


Link to post
Share on other sites
Posted (edited)

Surely there has to be an answer for this...the only one i have found so far is the last post on the following thread

I hope that is not still the case...ill be pretty shitty if it is.

 

Edited by adamjedgar

Share this post


Link to post
Share on other sites

Hey Adam,

Could you open a ticket for us to dig into this further? 

Just checking you also trying doing the sync on a normal laptop/computer rather than mobile as well?

Share this post


Link to post
Share on other sites

I will perform the sync using the laptop instead of mobile device and see what happens.

If that fails i will put in a ticket.

Share this post


Link to post
Share on other sites

Just as an update,

I tried to resync from windows 10 pc...didnt fix the problem.

One thing i have noticed...if i enter https:billing.mydomain.com into browser....full friendly url is displayed, however, as soon as i click on any url link once on the website, they are not working. Now i am no programmer, however this seems to suggest that the rewrite isnt actually working.

 

1. Are full friendly url rewrites ignored if the theme coding is such that any links within the website are using non friendly urls? (ie can theme hardcoding be the cause of such an error?)

 

2. Also, because from the Wordpress interface, i have copied and pasted the url found in the corresponding section of the whmcs interface in order to take a user straight to the correct place when they selected a product or service advertised in the Wordpress page found at https:mydomain.com, can this cause the rewrite in the whmcs subdomain to not work?

for example https://billing.mydomain.com.au/cart.php?a=add&pid=1 (as shown in whmcs>setup>products and services>edit product>links>"Direct shopping cart link")

 

3. Finally, can i manually change the whmcs>setup>products and services>edit product>links>"Direct shopping cart link" to a friendly url myself instead of the default one? (I am assuming not)

Edited by adamjedgar

Share this post


Link to post
Share on other sites

As per the WHMCS docs, the following pages use Search Engine Friendly URLs (announcements, kb and marketplace):

  • /store/website-builder
  • /store/email-services
  • /store/ssl-certificates
  • /store/order
  • /announcements
  • /knowledgebase

http://help.whmcs.com/m/64969/l/729308

As per my understandings, the shopping cart pages do not use this.

Feature request?

Share this post


Link to post
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

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines