Jump to content

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 

Link to comment
Share on other sites

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
Link to comment
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
Link to comment
Share on other sites

  • 1 year later...
On 10/8/2018 at 6:49 AM, adamjedgar said:

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 

Hey adamjedgar!

You can set friendly URL only for announcements and knowledgebase. For pruducts you need an module actually. I cant post a link, just use search on WHMCS marketplace for something like SEF URL.

Link to comment
Share on other sites

  • 1 year later...

To anyone else finding this thread after googling it.   This is how I got full friendly rewrite working.  My WHMCS install and client area is in a subfolder (ie. https://mydomain.com/whmcs) and this is what I put at the top of the WHMCS subfolders .htaccess file.

Options -MultiViews +SymLinksIfOwnerMatch

  

Edited by mustardman
Link to comment
Share on other sites

  • 1 year later...

Looks like I'm a little late to the party here. Maybe someone can clue me in. Our WHMCS full-friendly URLs seem to be working properly when accessed directly in a browser. I.e. /whmcs/store/ssl-certificates. However, the links in the WHMCS menu on the same page are using basic URL structure.

I.e. The menu on /whmcs/store/ss-certificates is linking /whmcs/index.php?rp=/store/ssl-certificates. So, what's the point? Am I missing something? Incorrect installation?

Thanks!

Link to comment
Share on other sites

Hi @WHMCS John!

Thanks for your help. This is actually regarding a different WHMCS installation (8.2.1) than in my signature.

For instance, the whmcs/store/ssl-certificates page is linking /whmcs/index.php?rp=/store/ssl-certificates/dv on the page rather than whmcs/store/ssl-certificates/dv. Does that make sense? Hope so. Could this be due to the outdated version installed (8.2.1)?

Thanks again!

Link to comment
Share on other sites

On 11/1/2021 at 3:28 PM, mustardman said:

To anyone else finding this thread after googling it.   This is how I got full friendly rewrite working.  My WHMCS install and client area is in a subfolder (ie. https://mydomain.com/whmcs) and this is what I put at the top of the WHMCS subfolders .htaccess file.

Options -MultiViews +SymLinksIfOwnerMatch

  

@mustardman Just out of curiosity, was the WHMCS sub folder inside a WordPress parent folder/site?

Link to comment
Share on other sites

  • WHMCS Support Manager
5 hours ago, rockhost said:

Thanks for your help. This is actually regarding a different WHMCS installation (8.2.1) than in my signature.

Yes, this feature us available in v8.2.1 as well.

Please try resetting your Friendly URL settings: https://help.whmcs.com/m/troubleshooting/l/1007451-troubleshooting-a-404-page-not-found-error

Do you see the same behaviour in the stock Twenty-One theme?

 

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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