VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: luiskar on June 09, 2014, 19:07:21 PM

Title: Erase com-virtuemart-menu-paymentmethods from all urls
Post by: luiskar on June 09, 2014, 19:07:21 PM
I don't know why all my urls have now com-virtuemart-menu-paymentmethods, like this: http://url.es/com-virtuemart-menu-paymentmethods/category/product . I'm using vm 2.6, anyone knows how to erase it
Title: Re: Erase com-virtuemart-menu-paymentmethods from all urls
Post by: jenkinhill on June 09, 2014, 20:42:59 PM
See http://forum.virtuemart.net/index.php?topic=124203.0
Title: Re: Erase com-virtuemart-menu-paymentmethods from all urls
Post by: luiskar on June 10, 2014, 21:00:32 PM
Quote from: jenkinhill on June 09, 2014, 20:42:59 PM
See http://forum.virtuemart.net/index.php?topic=124203.0
I'm already see that but I dont't know what I need to do in phpmyadmin
Title: Re: Erase com-virtuemart-menu-paymentmethods from all urls
Post by: GJC Web Design on June 11, 2014, 00:15:20 AM
table  #__menu  - find the wrong aliases and change them
Title: Re: Erase com-virtuemart-menu-paymentmethods from all urls
Post by: dsrpmedia on June 13, 2014, 02:19:10 AM
that is a completely unworkable solution - I can `t have my clients tracking me down to edit  thier databases everytime they want to create a menu item!!!
Title: Re: Erase com-virtuemart-menu-paymentmethods from all urls
Post by: AH on June 13, 2014, 10:30:08 AM
So you have clients that pay you for a solution that you expect to get for free and be supported for free?

Correct me if I am missing something, but the economics of this approach do not seem to stack up.

Of course, if you have donated to the devs or purchased a gold support pack, then you are in luck.

If not, you have options.

Solve the issue yourself
Pay someone to fix it for you
Buy some VM support from the devs
Title: Re: Erase com-virtuemart-menu-paymentmethods from all urls
Post by: GJC Web Design on June 13, 2014, 16:39:26 PM
Can someone with this problem (I assume no mods or devs have it - I certainly haven't in multiple new vm2.6.x installs) try this

I haven't got a site that does it but has someone tried disabling/un-installing the VirtueMart Administrator Menu in admin modules as this is where the aliases are coming from
I mean the strings (and there are different ones) seem always to be aliases from that module
(see the #__menus table) - those strings like com-virtuemart-menu-paymentmethods, com-virtuemart-menu-orders etc are aliases for the VM Admin module menu items

then make a new menu and see if the alias is OK...
Title: Re: Erase com-virtuemart-menu-paymentmethods from all urls
Post by: jenkinhill on June 13, 2014, 16:55:13 PM
In over 40 sites I have upgraded I have not seen this issue. Wish I knew what the affected sites have in common.
Title: Re: Erase com-virtuemart-menu-paymentmethods from all urls
Post by: GJC Web Design on June 13, 2014, 17:00:13 PM
It is very strange - I have never seen as well on any of my sites - today was the first time I have had access to a live site with it (but only JAdmin access .. just doing some config for a client)

His has it (he hadn't even noticed!!)   - but as far as I can see it is all pretty bog standard  - no Xmap

It is an Aussie so he's asleep now but will ask tomorrow if I can have a poke around in it
Title: Re: Erase com-virtuemart-menu-paymentmethods from all urls
Post by: luiskar on June 14, 2014, 11:06:22 AM
Quote from: GJC Web Design on June 11, 2014, 00:15:20 AM
table  #__menu  - find the wrong aliases and change them
It works, the problems was that by default only showed me 30 in #__menu  and i couldn't find it.

PD: Thanks to this probems I figure out how to erase one problem in the url i usually have but know i want to redirect the vm urls. Mi url was mipage.es/tienda/whatever in all vm links and know is mipage.es/whatever. Can I redirect the old url to  the new ?
Title: Re: Erase com-virtuemart-menu-paymentmethods from all urls
Post by: GJC Web Design on June 14, 2014, 14:08:57 PM
yes - to change the alias direct in the tables will of course work - would be nicer to find WHY they are being formed like this...

your redirect is hardly a VM question - google 301 redirection .htaccess

or just shift the whole install to the root

or in the server management redirect the "base" domain to the tienda folder
Title: Re: Erase com-virtuemart-menu-paymentmethods from all urls
Post by: luiskar on June 17, 2014, 12:59:48 PM
Quote from: GJC Web Design on June 14, 2014, 14:08:57 PM
yes - to change the alias direct in the tables will of course work - would be nicer to find WHY they are being formed like this...

your redirect is hardly a VM question - google 301 redirection .htaccess

or just shift the whole install to the root

or in the server management redirect the "base" domain to the tienda folder
I think i found the problem. If i disable categories layout from my page the urls doesn't show com-virtuemart-menu-paymentmethods in the urls
Title: Re: Erase com-virtuemart-menu-paymentmethods from all urls
Post by: GJC Web Design on June 17, 2014, 13:09:14 PM
Do u mean you had a menu item for VirtueMart Categories Layout ?  and you unpublished it?

Sadly the site I have access to doesn't have such a menu item - also do you mean any NEW menu you now make hasn't got the faulty string in it?

or old menus with the faulty string are now fixed?  (hard to see how as they are hard coded as aliases)
Title: Re: Erase com-virtuemart-menu-paymentmethods from all urls
Post by: GJC Web Design on June 19, 2014, 13:23:34 PM
User deralex just reported  (and I tried this on a problem site - seemed to work ) that in the Joomla menus dialog if you click "Rebuild" the menu alias is corrected..

saves doing DB stuff

still would be nice to find WHAT causes it initially
Title: Re: Erase com-virtuemart-menu-paymentmethods from all urls
Post by: deralex on June 19, 2014, 13:33:03 PM
Thanks for posting this "solution".  :)
It would be very nice to find the inital causes  :-\
Title: Re: Erase com-virtuemart-menu-paymentmethods from all urls
Post by: dsrpmedia on June 20, 2014, 00:33:16 AM
IT WORKED!!!!!!

thank you so much