Msg#: 4618759 posted 7:46 am on Oct 24, 2013 (gmt 0)
It has been three days i've been trying to redirect ajax url to wordpress. i've tried almost everything but nothing seems to work. i want to redirect: example.com/#!about3/c1uy6 to example.com/about-us/
we need to do it as soon as possible because most of the pages are indexed by google. Thanks in advance.
[edited by: bill at 8:53 am (utc) on Oct 24, 2013] [edit reason] use example.com for URLs [/edit]
Msg#: 4618759 posted 8:07 am on Oct 25, 2013 (gmt 0)
On a non-ajax site a straightforward request for example.com/#!about3/c1uy6 will result in a GET / HTTP/1.1 request to the server with the browser expecting to find an in-page named anchor called !about3/c1uy6 to scroll down to.
Search engines will not treat example.com/ and example.com/#!about3/c1uy6 as duplicate content. They will treat them both as being the root home page.
This javscript could simply cause the browser to make a new request for the new URL, or it could send an Ajax-like request to the server that causes it to issue a proper 301 redirect. Which one you do depends on whether this is for visitors using a browser or for search engines as well.
In any case, your pattern ending about3(&|$) would never match the URL request given in the example as there's /c1uy6 following.