Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress adding #! and -2 to URLs?? Reply To: WordPress adding #! and -2 to URLs??

#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?