Is it ok to redirect an old URL to new URL with anchor tag?
-
Ex.
OLD URL - http://www.mysite.com/shoes/red/description
NEW URL - http://www.mysite.com/shoes/red#desc
Thanks in advance!
-
Yes, this will be totally fine. Google ignores bookmarks (#) like this, so Google will just see a redirect from http://www.mysite.com/shoes/red/description to http://www.mysite.com/shoes/red#desc.
Good luck!
Kristina
-
Hi Richard,
Yes, you're right.
-
The page in this case is /red, the #desc is a bookmark on the page.
-
Yes. 301 redirection.
-
You mean do a 301 redirect with a #?
I have never tried it, if it works I don't think it will be a problem. Both a 301 and a link both end up as a request for a page, so if its ok for one it will be ok for the other.
Unless search engines have written some code to treat them different and I cant see why they would, technically speaking they will be treated the same, it is after all simply a request
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Does adding new pages, new slugs, new URLS in a site affects rankings and visibility?
hi reader, i have decided to add new pages to my site. if i add new urls, i feel like i have to submit the sitemap again. my question is, does submitting sitemap again with new slugs or urls affects visibility is serps, if yes, how do i minimize the impact?
Web Design | | SIMON-CULL0 -
Is it ever OK to exclude googlebot from geoip experience?
We currently use geoip detection to present a dialog when customers access one of our country-specific sites other than the one matching their location, asking them to select whether to continue to that requested site, or else click a link to the site matching their IP location's country.The purpose is to diminish the likelihood of users having a bad experience if they accidentally shop a region's site only to discover when they get to checkout that they cannot complete the purchase and need to switch sites. We are considering adding some logic to prevent this dialog from appearing if the user agent is a known search engine bot. The dialog serves no purpose to bots, and we are worried about its impact on crawling of our sites from servers outside the country-site's location. That said, we don't want to incur any negative impact of perceived cloaking. Is user agent-specific logic acceptable practice in this scenario?
Web Design | | seoelevated1 -
Website rankings drop significantly after moving to new hosting provider
My website - www.isacleanse.co.nz has dropped from being top10 rankings for all of my keywords to not even being in top 50 after just checking now. It used to be hosted on: www.1stdomains.nz
Web Design | | IsaCleanse
It got migrated to Sitground servers about a month ago See attached screenshot - would moving hosting provider cause such a huge drop? Or would there be anything else I should be looking at ? J2ahi0 -
301 Redirect Issue for URL with # and !
Hi All, We had a WIX website and now moved to Wordpress. I m having issue while doing redirecting from old URL to new URL. Example: Old Url: http://www.firsttraffic.com.au/#!traffic-management/ccfn New Url: http://www.firsttraffic.com.au/our-services/traffic-management/ I tried different wordpress plugin but nothing works. I m thinking its due to the # . But How can I to redirection for URL like this . Thanks
Web Design | | emarketexperts0 -
Old Speed Reports
Hey all,
Web Design | | SEOSponge
We just moved our website to WordPress and trying to compare the new reports we are receiving for page speed/user experience to the old ones. Looking at dates before the relaunch, it looks as if old site speed reports are unavailable? Does anyone know of a way to recover older reports? We want to compare the responsive site/new desktop version to the old one (end users would have to "pinch" the screen to look at content on old site). Thanks in advance if you have any info!!!!0 -
How does Google look at strings added to a URL
For example: http://localhost:3000/en-US/app/a-knsmtrhqrqs/personal where knsmtrhqrqs is a string Can Google tell this is a string and what's their policy? Will it hurt rankings? Thank you.
Web Design | | RoxBrock0 -
Pulling old site-map and URL structure of a site
Hey guys how do I pull an old sitemap or URL structure of a site ! This company I am helping out . Build a new site without any 301 redirect ! It's been about 2 months and hosting company sent me. SQL database file said we basically need to build another site ! Wondering if there are any other ways to see what exact urls were existent before their change over
Web Design | | BizDetox0 -
Changing URL's for a website redesign
Hi folks, We're redesigning our website and looking for some advice on how changing our URL's would affected our rankings. If the page URLs are changing how can we carry out redirects to avoid losing any SEO rank? Thanks, Ross
Web Design | | Will_Craig0