Post by m3kds » Sat Nov 30, 2013 3:02 pm

I've searched for this but am not able find the answer.

What are these strange characters that appear after my product url?

http://sewjewel.com/christie-brinkley-s ... pmL3MSX_Yg[/b]

#.UpmL3MSX_Yg

Can you tell me how I can remove them?

They appear on all of my products' urls.

Thanks!

Visit http://www.sewjewel.com for sewing & crafts.


New member

Posts

Joined
Sat Apr 20, 2013 12:35 am


Post by victorj » Sat Nov 30, 2013 6:20 pm

to be honest, no clue at this time.
perhaps ypu did install a auto seo url extension that adds the thongs to our url.

certainly a nice problem to put my mind to work and find what is causing it.

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by labeshops » Sat Nov 30, 2013 10:30 pm

That is a share tracking code. If you are using addthis.com or similar or google analytics where you enabled url tracking, it will add a unique code like this.

If you don't want it, go thru which ever of these programs you installed and turn it off. You will probably need to re-add the code to opencart.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by m3kds » Sun Dec 01, 2013 1:25 am

Thank you for the replies.

"If you are using addthis.com or similar or google analytics where you enabled url tracking, it will add a unique code like this. "

That's it, I replaced the default share buttons with the addthis.com a while back.

Visit http://www.sewjewel.com for sewing & crafts.


New member

Posts

Joined
Sat Apr 20, 2013 12:35 am


Post by labeshops » Sun Dec 01, 2013 1:27 am

Yup, I did too at one point which is why i recognized the characters :)

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by m3kds » Sun Dec 01, 2013 10:03 am

labeshops,

I put back the default social share buttons. Rearranged the buttons a little and added pinterest as one of the main buttons. Now my products' urls look cleaner. :)

Now, I have another issue and it kinda bothers me. Should I create a new topic for this? If so, I'll do it. But the issue is that I cannot seem to get my www to become a non-www. (Reason why I'm using the non-www is because that's how I've been using it). My store shows as both a www and a non-www version, which I believe might cause duplicate content.

I've added this into my .htaccess

RewriteCond %{HTTP_HOST} !^mystore\.com [NC]
RewriteRule (.*) http://mystore.com/$1 [R=301,L]

It works fine for the main store. But my other stores redirects to the main store and are not accessible.
I've searched for this and read lots post on opencart, but can't seem to get the answer.

I hope that someone can help me. Thanks!

Visit http://www.sewjewel.com for sewing & crafts.


New member

Posts

Joined
Sat Apr 20, 2013 12:35 am


Post by labeshops » Sun Dec 01, 2013 1:33 pm

Hmm well, I do it the other way and redirect non-www to www using

Code: Select all

RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*) http://www.%{HTTP_HOST}/$1 [R=301,L]
so you might try a variation of this??? You definitely want to use the http_host wildcard and not hard code in your domain if you are using multistores.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by m3kds » Sun Dec 01, 2013 2:34 pm

You are awesome labeshops! Thank you very much! I added your code and it works! Everything redirected to the www version and my other stores work too.

Since your codes work, how would I get it to become the non www. I tried removing the "www" from both lines but that broke my site.

Any suggestion on how to obtain the non www by using your code? If not I'll settle for the www version and just notify google that this is the preferred version.

Visit http://www.sewjewel.com for sewing & crafts.


New member

Posts

Joined
Sat Apr 20, 2013 12:35 am


Post by m3kds » Sun Dec 01, 2013 2:42 pm

Just realize that I'm no longer able to access my admin and unable to add to cart. Oh well. Had to restore the previous .htaccess version. :'(

Visit http://www.sewjewel.com for sewing & crafts.


New member

Posts

Joined
Sat Apr 20, 2013 12:35 am


Post by victorj » Sun Dec 01, 2013 6:22 pm

if you want to redirect to www, you will have to alter both config.php files, one in root and one in folder admin, and make sure urls to shop and admin also are set to www.

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by m3kds » Mon Dec 02, 2013 3:17 am

Both of the config files have always been with without the www's in them. Is there something else that i need to add to these files?

Visit http://www.sewjewel.com for sewing & crafts.


New member

Posts

Joined
Sat Apr 20, 2013 12:35 am


Post by victorj » Mon Dec 02, 2013 4:20 am

If you want your shop to have www. in front of the domain name, you need to have this in the config.php files as well.

when done that, you can use the .htaccess redirect to make sure anyone that enters your site through non www.is forced to www.

also already indexed bages will be redirected to new url so you wont lose ranking.

that is why you where not able to log into the admin, .htaccess direct to www.
config files redirect back to non www.

opencart treats them as seperate urls.

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by m3kds » Mon Dec 02, 2013 5:39 am

labeshops and victorj,

Thank you very much for your help! Stores are all working great and pointing to the www version. All buttons and admin seem to work.

Now, I'm heading to google and making the www as the preferred version. ;D

Visit http://www.sewjewel.com for sewing & crafts.


New member

Posts

Joined
Sat Apr 20, 2013 12:35 am

Who is online

Users browsing this forum: Bing [Bot] and 48 guests