Posts by mattmatt88

80 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
mattmatt88 says

anyone?

80 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
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]
80 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
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>
80 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
mattmatt88 says

and ideas?

80 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
mattmatt88 says

Hello,

This isn’t really about developing but developers may know it:

I need to highlight already visited links on dynamic created pages (for example a list of products on amazon). Amazon usually don’t highlight visited links in a different color, but there is an extension for chrome that can do that: https://chrome.google.com/webstore/detail/change-colors/jbmkekhehjedonbhoikhhkmlapalklgn

The problem is, that the highlighting doesn’t work for products in a product list that dynamically changes, like: http://www.amazon.com/b/ref=sr_aj?node=1292115011&ajr=0

Do you have an idea how to always highlight products I’ve ever clicked, doesn’t matter on which amazon page I see it?

80 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
mattmatt88 says

That worked very well. Although I will never understand these kind of codes ^^

Thanks a lot

80 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
mattmatt88 says

Hello

I’ve got lot of different image URLs like these

http://mypage.co.uk/images/2012/4123hu480._BO2,204,203,200.jpg
http://mypage.com/fav9hu3.9033,210,200.jpg

I need to change them (I think with preg_replace), so that the content between the last two dots disappears.

So the links should be:

http://mypage.co.uk/images/2012/4123hu480.jpg
http://mypage.com/fav9hu3.jpg

Note that there might be other dots in the URL. Only the content between the last two dots should be cleared.

Can you help me with that?

80 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
mattmatt88 says

Hm but I need different orderings for every product.

Some products have ingredients that are more important than the others, but the same ingredients could be less important with another product.

Any ideas how to realize that?

They should just not be reordered after clicking update.

80 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
mattmatt88 says

No, that doesn’t solve the problem. I actually can’t check out a difference between “Custom Ordering” and “Name”.

Please see this image to understand what my problem is: http://s1.directupload.net/images/131031/xotqatwc.jpg
80 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 1+ items on Envato Market
mattmatt88 says

anyone?

by
by
by
by
by
by