Home › Forums › Back End › WordPress adding #! and -2 to URLs?? › Reply To: WordPress adding #! and -2 to URLs??
December 8, 2013 at 4:51 pm
#157954
Participant
The “shabang” (#!
) is used (in this case) for keeping a history state when you have an ajax-based site. You’re loading all of your content via ajax, and the part of the URL after the shabang serves as a history entry so you can still use the browser’s [back] button. The page is not reloaded, since everything after a hash (#
) is considered a “fragment.”
it prevents me from going to the correct page….if you remove the #! and -2 the page loads correctly
It seems to be working properly when I try it…? Can you describe your problem further?