Posts by mattmatt88

67 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

Yes, but looks like he doesn’t respond to every post. So maybe there is a php code that I can use?

67 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

Is it understandable what I need?

67 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

Hello,

You don’t need to use the plugins to be able to answer my question.

I’ve got a plugin (wp members) where the user can change his profile. If he checks/unchecks some checkboxes in the profile options, the new information isn’t yet send to another plugin (autochimp). Therefore, the user would have to click on “update” again or I need to click on “update profile” for the user in the backend.

So is it possible to either:

- Send the Update Profile Form twice every time a user changes his profile

or

- Update his profile in the backend after a user changes his profile.

Hope you can give a PHP hint.

67 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

Hello,

I’m using WPML with two languages. In my theme I have a folder ”/wishlist/” with two php documents containing ”__” and “_e” functions. I’ve also created a PO and MO file out of these php documents called “en_US” and “de_DE”.

But always the original language is displayed.

How can I connect this PO/MO file with the wordpress installation?

Thank you.

67 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

It worked with that code. Is that ok according to performance etc.?

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST}  ^www.mypage.us [nocase]
RewriteRule ^(.*)         http://mypage.us/$1 [last,redirect=301]
RewriteCond %{HTTP_HOST}  ^www.mypage.co.uk [nocase]
RewriteRule ^(.*)         http://mypage.co.uk/$1 [last,redirect=301]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
67 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

no one ever had a page where he uses one domain per language?

67 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

still have no solution.

I use WPML. It works with the main domain to automatically remove the www. But the www isn’t removed for domain for the second language.

67 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

anyone?

67 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

I think I would need a code like the following. But how can I combine it with the standard htaccess code above?

RewriteCond %{HTTP_HOST} ^www.mypage.com$ [NC]
RewriteRule ^(.*)$ http://mypage.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www.mypage.de$ [NC]
RewriteRule ^(.*)$ http://mypage.de/$1 [R=301,L]
67 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

Hello.

I use two domains for my website (for two different languages). e.g. mypage.com -> english mypage.de -> german

the problem is that for the second domain, the htaccess rules doesn’t work (to remove the www in the domain).

Do you have an idea, how I can change the code to make it work?

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
by
by
by
by
by
by