Link to home
Start Free TrialLog in
Avatar of movieprodw
movieprodw

asked on

htaccess Error

Hello,

I have the following code and it is adding #.UJ0es4UWE_M to the end of the url and not loading the whole page.

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


Options +FollowSymlinks
RewriteRule ^share/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$ /index.php?b=$1&s=$2 [L]

Any idea what is wrong?

Please excuse the content of the website.
http://tinyurl.com/cjw4s3b
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
> ... code and it is adding #.UJ0es4UWE_M to the end of the url

can you please explain by example what thios means
Avatar of movieprodw
movieprodw

ASKER

Hello,

Okay, I have fixed some of the issue, I was not linking to the js and css files correctly, I needed to add a '/' to the front of those links.


I also found that when I delete the 'addthis' script the stuff after the url in the address bar disappears. I am assuming that somewhere in my code it is telling it to echo it into the address bar?

I am not able to see what you mean by it is loading the whole page, look at it when you hover over the 'b' photo.
The one script I mentioned was just reloading the main page instead of the script but you have fixed that.  However, if I click on anything on your page, it just locks up Firefox so I can't look at it anymore until that is fixed.
Okay I will try to fix that, any idea of what is happening?

Matt
Nope.  It locks up my browser completely so I have to close it and start all over.
Thank you for your help.

The issue was solved by adding full links in the js.

The issue with the stuff at the end of the URL:
http://support.addthis.com/customer/portal/articles/381254-address-bar-sharing-analytics#.UKPnrYUWE_M
Cool, thanks for the points.